espconfiggenengine.hpp 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. #ifndef ESPCONFIGGENENGINE_HPP_INCL
  14. #define ESPCONFIGGENENGINE_HPP_INCL
  15. #include "configgenengine.hpp"
  16. //---------------------------------------------------------------------------
  17. // CEspConfigGenEngine
  18. //---------------------------------------------------------------------------
  19. class CEspConfigGenEngine : public CConfigGenEngine
  20. {
  21. public:
  22. IMPLEMENT_IINTERFACE;
  23. CEspConfigGenEngine(IEnvDeploymentEngine& envDepEngine,
  24. IDeploymentCallback& callback,
  25. IPropertyTree& process, const char* inputDir="", const char* outputDir="" );
  26. virtual void xslTransform(const char *xsl, const char *outputFile, const char *instanceName,
  27. EnvMachineOS os=MachineOsUnknown, const char* processName=NULL, bool isEspModuleOrPlugin=false);
  28. virtual void processCustomMethod(const char *method, const char *source, const char *outputFile,
  29. const char *instanceName, EnvMachineOS os);
  30. protected:
  31. void check();
  32. int determineInstallFiles(IPropertyTree& node, CInstallFiles& installFiles) const;
  33. void processServiceModules(const char* moduleType, StringBuffer& serviceXsltOutputFiles,
  34. const char* instanceName, EnvMachineOS os);
  35. private:
  36. };
  37. //---------------------------------------------------------------------------
  38. #endif // ESPCONFIGGENENGINE_HPP_INCL