Class WbProcessSourcesGeneratorImpl
java.lang.Object
ru.cg.webbpm.studio.subsystems.bpmn.configuration_step.WbProcessSourcesGeneratorImpl
- All Implemented Interfaces:
DevSourceGenerator
,ObjectDevSourceGenerator<WebbpmProcess>
,ObjectProdSourceGenerator<WebbpmProcess>
,SourceGenerator
@Component
public class WbProcessSourcesGeneratorImpl
extends Object
implements ObjectProdSourceGenerator<WebbpmProcess>, ObjectDevSourceGenerator<WebbpmProcess>, DevSourceGenerator
- Author:
- Abdulin
-
Field Summary
Fields inherited from interface ru.cg.webbpm.studio.build.api.SourceGenerator
VALIDATE_AND_GENERATE_SOURCES_STEP_ID
-
Constructor Summary
ConstructorsConstructorDescriptionWbProcessSourcesGeneratorImpl
(WebbpmProcessManager webbpmProcessManager, ProjectManager projectManager, ProcessContextBeanGeneratorImpl processContextBeanGenerator, BpmnManager bpmnManager, ResourceProvider buildResourceProvider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
void
generateDevSources
(WebbpmProcess objectFile, Path file) void
generateProdSources
(WebbpmProcess objectFile, Path file) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.cg.webbpm.studio.build.api.SourceGenerator
cleanOutput
-
Constructor Details
-
WbProcessSourcesGeneratorImpl
@Autowired public WbProcessSourcesGeneratorImpl(WebbpmProcessManager webbpmProcessManager, ProjectManager projectManager, ProcessContextBeanGeneratorImpl processContextBeanGenerator, BpmnManager bpmnManager, ResourceProvider buildResourceProvider)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceObjectDevSourceGenerator<WebbpmProcess>
- Specified by:
accept
in interfaceObjectProdSourceGenerator<WebbpmProcess>
-
generateProdSources
- Specified by:
generateProdSources
in interfaceObjectProdSourceGenerator<WebbpmProcess>
- Throws:
BuildFailException
-
generateDevSources
- Specified by:
generateDevSources
in interfaceObjectDevSourceGenerator<WebbpmProcess>
- Throws:
BuildFailException
-
outputDirectories
- Specified by:
outputDirectories
in interfaceSourceGenerator
-
generate
-
generateDevSources
public void generateDevSources()- Specified by:
generateDevSources
in interfaceDevSourceGenerator
-