Class FailOnNoProcessAutoDeploymentStrategy
java.lang.Object
org.activiti.spring.autodeployment.AbstractAutoDeploymentStrategy
org.activiti.spring.autodeployment.FailOnNoProcessAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFailOnNoProcessAutoDeploymentStrategy(org.activiti.core.common.spring.project.ApplicationUpgradeContextService applicationUpgradeContextService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeployResources(String deploymentNameHint, org.springframework.core.io.Resource[] resources, org.activiti.engine.RepositoryService repositoryService) Performs deployment for the provided resources, using the provided name as a hint and the providedRepositoryServiceto perform deployment(s).protected StringGets the deployment mode this strategy handles.Methods inherited from class org.activiti.spring.autodeployment.AbstractAutoDeploymentStrategy
determineResourceName, handlesMode, loadApplicationUpgradeContext, validateModel
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
DEPLOYMENT_MODE
- See Also:
-
-
Constructor Details
-
FailOnNoProcessAutoDeploymentStrategy
public FailOnNoProcessAutoDeploymentStrategy(org.activiti.core.common.spring.project.ApplicationUpgradeContextService applicationUpgradeContextService)
-
-
Method Details
-
getDeploymentMode
Description copied from class:AbstractAutoDeploymentStrategyGets the deployment mode this strategy handles.- Specified by:
getDeploymentModein classAbstractAutoDeploymentStrategy- Returns:
- the name of the deployment mode
-
deployResources
public void deployResources(String deploymentNameHint, org.springframework.core.io.Resource[] resources, org.activiti.engine.RepositoryService repositoryService) Description copied from interface:AutoDeploymentStrategyPerforms deployment for the provided resources, using the provided name as a hint and the providedRepositoryServiceto perform deployment(s).- Parameters:
deploymentNameHint- the hint for the name of deployment(s) performedresources- the resources to be deployedrepositoryService- the repository service to use for deployment(s)
-