Methods
Modifier and Type |
Method and Description |
protected void |
acquireExclusiveLock(CommandContext commandContext) |
protected void |
addResources(List<ResourceEntity> resources,
DeploymentBuilderImpl deploymentBuilder) |
protected void |
checkCreateAndReadDeployments(CommandContext commandContext,
Set<String> deploymentIds) |
protected void |
checkDuplicateResourceName(List<ResourceEntity> resources) |
protected void |
createUserOperationLog(DeploymentBuilderImpl deploymentBuilder,
Deployment deployment,
CommandContext commandContext) |
protected void |
deploy(DeploymentEntity deployment) |
protected Deployment |
doExecute(CommandContext commandContext) |
protected void |
ensureDeploymentsWithIdsExists(Set<String> expected,
List<DeploymentEntity> actual) |
protected void |
ensureResourcesWithIdsExist(String deploymentId,
Set<String> expectedIds,
List<ResourceEntity> actual) |
protected void |
ensureResourcesWithKeysExist(String deploymentId,
Set<String> expectedKeys,
Map<String,ResourceEntity> actual,
String valueProperty) |
protected void |
ensureResourcesWithNamesExist(String deploymentId,
Set<String> expectedNames,
List<ResourceEntity> actual) |
Deployment |
execute(CommandContext commandContext) |
protected Set<String> |
findDeploymentIdsForProcessDefinitions(CommandContext commandContext,
Set<String> processDefinitionKeys) |
protected Set<String> |
getAllDeploymentIds(DeploymentBuilderImpl deploymentBuilder) |
protected List<? extends ProcessDefinition> |
getDeployedProcesses(DeploymentEntity deployment) |
protected DeploymentEntity |
getExistingDeployment(CommandContext commandContext,
String deploymentName) |
protected List<String> |
getMissingElements(Set<String> expected,
Map<String,?> actual) |
protected List<ResourceEntity> |
getResources(DeploymentBuilderImpl deploymentBuilder,
CommandContext commandContext) |
protected List<ResourceEntity> |
getResourcesByDeploymentId(Set<String> deploymentIds,
CommandContext commandContext) |
protected List<ResourceEntity> |
getResourcesById(Map<String,Set<String>> resourcesById,
CommandContext commandContext) |
protected List<ResourceEntity> |
getResourcesByName(Map<String,Set<String>> resourcesByName,
CommandContext commandContext) |
protected DeploymentEntity |
initDeployment() |
protected boolean |
isBpmnResource(ResourceEntity resourceEntity) |
protected boolean |
isCmmnResource(ResourceEntity resourceEntity) |
protected ProcessApplicationRegistration |
registerProcessApplication(CommandContext commandContext,
DeploymentEntity deployment,
Set<String> processKeysToRegisterFor) |
protected void |
registerWithJobExecutor(CommandContext commandContext,
DeploymentEntity deployment) |
protected Map<String,ResourceEntity> |
resolveResourcesToDeploy(CommandContext commandContext,
DeploymentEntity deployment) |
protected boolean |
resourcesDiffer(ResourceEntity resource,
ResourceEntity existing) |
protected Set<String> |
resumePreviousByDeploymentName(CommandContext commandContext,
DeploymentEntity deployment)
Searches for previous deployments with the same name.
|
protected Set<String> |
resumePreviousByProcessDefinitionKey(CommandContext commandContext,
DeploymentEntity deployment,
Set<String> processKeysToRegisterFor)
Searches in previous deployments for the same processes and retrieves the deployment ids.
|
protected Set<String> |
retrieveProcessKeysFromResources(Map<String,ResourceEntity> resources) |
protected void |
scheduleProcessDefinitionActivation(CommandContext commandContext,
DeploymentEntity deployment) |
protected void |
setDeploymentName(String deploymentId,
DeploymentBuilderImpl deploymentBuilder,
CommandContext commandContext) |