public class DeploymentBuilderImpl extends Object implements DeploymentBuilder, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_ENCODING |
protected DeploymentEntity |
deployment |
protected boolean |
isDuplicateFilterEnabled |
protected Date |
processDefinitionsActivationDate |
protected RepositoryServiceImpl |
repositoryService |
| Constructor and Description |
|---|
DeploymentBuilderImpl(RepositoryServiceImpl repositoryService) |
| Modifier and Type | Method and Description |
|---|---|
DeploymentBuilder |
activateProcessDefinitionsOn(Date date)
Sets the date on which the process definitions contained in this deployment
will be activated.
|
DeploymentBuilder |
addBpmnModel(String resourceName,
org.activiti.bpmn.model.BpmnModel bpmnModel) |
DeploymentBuilder |
addClasspathResource(String resource) |
DeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream) |
DeploymentBuilder |
addString(String resourceName,
String text) |
DeploymentBuilder |
addZipInputStream(ZipInputStream zipInputStream) |
DeploymentBuilder |
category(String category)
Gives the deployment the given category.
|
Deployment |
deploy()
Deploys all provided sources to the Activiti engine.
|
DeploymentBuilder |
enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment.
|
DeploymentEntity |
getDeployment() |
Date |
getProcessDefinitionsActivationDate() |
boolean |
isDuplicateFilterEnabled() |
DeploymentBuilder |
name(String name)
Gives the deployment the given name.
|
protected static final String DEFAULT_ENCODING
protected transient RepositoryServiceImpl repositoryService
protected DeploymentEntity deployment
protected boolean isDuplicateFilterEnabled
protected Date processDefinitionsActivationDate
public DeploymentBuilderImpl(RepositoryServiceImpl repositoryService)
public DeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
addInputStream in interface DeploymentBuilderpublic DeploymentBuilder addClasspathResource(String resource)
addClasspathResource in interface DeploymentBuilderpublic DeploymentBuilder addString(String resourceName, String text)
addString in interface DeploymentBuilderpublic DeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
addZipInputStream in interface DeploymentBuilderpublic DeploymentBuilder addBpmnModel(String resourceName, org.activiti.bpmn.model.BpmnModel bpmnModel)
addBpmnModel in interface DeploymentBuilderpublic DeploymentBuilder name(String name)
DeploymentBuildername in interface DeploymentBuilderpublic DeploymentBuilder category(String category)
DeploymentBuildercategory in interface DeploymentBuilderpublic DeploymentBuilder enableDuplicateFiltering()
DeploymentBuilderenableDuplicateFiltering in interface DeploymentBuilderpublic DeploymentBuilder activateProcessDefinitionsOn(Date date)
DeploymentBuilderactivateProcessDefinitionsOn in interface DeploymentBuilderpublic Deployment deploy()
DeploymentBuilderdeploy in interface DeploymentBuilderpublic DeploymentEntity getDeployment()
public boolean isDuplicateFilterEnabled()
public Date getProcessDefinitionsActivationDate()
Copyright © 2013 Alfresco. All rights reserved.