org.camunda.bpm.engine.repository
Interface DeleteProcessDefinitionsBuilder

All Known Subinterfaces:
DeleteProcessDefinitionsTenantBuilder
All Known Implementing Classes:
DeleteProcessDefinitionsBuilderImpl

public interface DeleteProcessDefinitionsBuilder

Fluent builder to delete process definitions by a process definition key or process definition ids.

Author:
Tassilo Weidner

Method Summary
 DeleteProcessDefinitionsBuilder cascade()
          All process instances of the process definition as well as history data is deleted.
 void delete()
          Performs the deletion of process definitions.
 DeleteProcessDefinitionsBuilder skipCustomListeners()
          Only the built-in ExecutionListeners are notified with the ExecutionListener.EVENTNAME_END event.
 

Method Detail

cascade

DeleteProcessDefinitionsBuilder cascade()
All process instances of the process definition as well as history data is deleted.

Returns:
the builder

skipCustomListeners

DeleteProcessDefinitionsBuilder skipCustomListeners()
Only the built-in ExecutionListeners are notified with the ExecutionListener.EVENTNAME_END event. Is only applied in conjunction with the cascade method.

Returns:
the builder

delete

void delete()
Performs the deletion of process definitions.

Throws:
ProcessEngineException - If no such processDefinition can be found.
AuthorizationException -


Copyright © 2017 camunda services GmbH. All rights reserved.