public interface UpdateJobDefinitionSuspensionStateBuilder
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates the provided job definitions.
|
UpdateJobDefinitionSuspensionStateBuilder |
executionDate(Date executionDate)
Specify when the suspension state should be updated.
|
UpdateJobDefinitionSuspensionStateBuilder |
includeJobs(boolean includeJobs)
Specify if the suspension states of the jobs of the provided job
definitions should also be updated.
|
void |
suspend()
Suspends the provided job definitions.
|
UpdateJobDefinitionSuspensionStateBuilder includeJobs(boolean includeJobs)
false
.includeJobs
- if true
, all related jobs will be activated /
suspended too.UpdateJobDefinitionSuspensionStateBuilder executionDate(Date executionDate)
executionDate
- the date on which the job definition will be activated /
suspended. If null
, the job definition is activated /
suspended immediately.void activate()
AuthorizationException
- Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
includeJobs(boolean)
is set to true
and the user have no Permissions.UPDATE_INSTANCE
permission on Resources.PROCESS_DEFINITION
Permissions.UPDATE
permission on any
Resources.PROCESS_INSTANCE
void suspend()
AuthorizationException
- Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
includeJobs(boolean)
is set to true
and the user have no Permissions.UPDATE_INSTANCE
permission on Resources.PROCESS_DEFINITION
Permissions.UPDATE
permission on any
Resources.PROCESS_INSTANCE
Copyright © 2018. All rights reserved.