EspDeploymentEngine.hpp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 ESPDEPLOYMENTENGINE_HPP_INCL
  14. #define ESPDEPLOYMENTENGINE_HPP_INCL
  15. #include "DeploymentEngine.hpp"
  16. //---------------------------------------------------------------------------
  17. // CEspDeploymentEngine
  18. //---------------------------------------------------------------------------
  19. class CEspDeploymentEngine : public CDeploymentEngine
  20. {
  21. public:
  22. IMPLEMENT_IINTERFACE;
  23. CEspDeploymentEngine(IEnvDeploymentEngine& envDepEngine,
  24. IDeploymentCallback& callback,
  25. IPropertyTree& process);
  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 // ESPDEPLOYMENTENGINE_HPP_INCL