public class DeleteProcessDefinitionsBuilderImpl extends Object implements DeleteProcessDefinitionsBuilder, DeleteProcessDefinitionsSelectBuilder, DeleteProcessDefinitionsTenantBuilder
Modifier and Type | Field and Description |
---|---|
protected boolean |
skipIoMappings |
Constructor and Description |
---|
DeleteProcessDefinitionsBuilderImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
DeleteProcessDefinitionsBuilderImpl |
byIds(String... processDefinitionId)
Selects process definitions with given process definition ids.
|
DeleteProcessDefinitionsBuilderImpl |
byKey(String processDefinitionKey)
Selects process definitions with a given key.
|
DeleteProcessDefinitionsBuilderImpl |
cascade()
All process instances of the process definition as well as history data is deleted.
|
void |
delete()
Performs the deletion of process definitions.
|
DeleteProcessDefinitionsBuilderImpl |
skipCustomListeners()
Only the built-in
ExecutionListener s are notified with the
ExecutionListener.EVENTNAME_END event. |
DeleteProcessDefinitionsBuilderImpl |
skipIoMappings()
Specifies whether input/output mappings for tasks should be invoked
|
DeleteProcessDefinitionsBuilderImpl |
withoutTenantId()
Process definitions which belong to no tenant will be removed.
|
DeleteProcessDefinitionsBuilderImpl |
withTenantId(String tenantId)
Process definitions which belong to the given tenant id will be removed.
|
public DeleteProcessDefinitionsBuilderImpl(CommandExecutor commandExecutor)
public DeleteProcessDefinitionsBuilderImpl byIds(String... processDefinitionId)
DeleteProcessDefinitionsSelectBuilder
byIds
in interface DeleteProcessDefinitionsSelectBuilder
processDefinitionId
- at least one process definition idpublic DeleteProcessDefinitionsBuilderImpl byKey(String processDefinitionKey)
DeleteProcessDefinitionsSelectBuilder
byKey
in interface DeleteProcessDefinitionsSelectBuilder
processDefinitionKey
- process definition keypublic DeleteProcessDefinitionsBuilderImpl withoutTenantId()
DeleteProcessDefinitionsTenantBuilder
withoutTenantId
in interface DeleteProcessDefinitionsTenantBuilder
public DeleteProcessDefinitionsBuilderImpl withTenantId(String tenantId)
DeleteProcessDefinitionsTenantBuilder
withTenantId
in interface DeleteProcessDefinitionsTenantBuilder
tenantId
- id which identifies the tenantpublic DeleteProcessDefinitionsBuilderImpl cascade()
DeleteProcessDefinitionsBuilder
cascade
in interface DeleteProcessDefinitionsBuilder
public DeleteProcessDefinitionsBuilderImpl skipCustomListeners()
DeleteProcessDefinitionsBuilder
ExecutionListener
s are notified with the
ExecutionListener.EVENTNAME_END
event.
Is only applied in conjunction with the cascade method.skipCustomListeners
in interface DeleteProcessDefinitionsBuilder
public DeleteProcessDefinitionsBuilderImpl skipIoMappings()
DeleteProcessDefinitionsBuilder
skipIoMappings
in interface DeleteProcessDefinitionsBuilder
public void delete()
DeleteProcessDefinitionsBuilder
delete
in interface DeleteProcessDefinitionsBuilder
Copyright © 2021. All rights reserved.