Interface UpdateJobSuspensionStateBuilder
- All Known Subinterfaces:
UpdateJobSuspensionStateTenantBuilder
- All Known Implementing Classes:
UpdateJobSuspensionStateBuilderImpl
public interface UpdateJobSuspensionStateBuilder
Fluent builder to update the suspension state of jobs.
-
Method Summary
-
Method Details
-
activate
void activate()Activates the provided jobs.- Throws:
AuthorizationException
- if the user has noPermissions.UPDATE
permission onResources.PROCESS_INSTANCE
or noPermissions.UPDATE_INSTANCE
permission onResources.PROCESS_DEFINITION
.
-
suspend
void suspend()Suspends the provided jobs. If a job is in state suspended, it will not be executed by the job executor.- Throws:
AuthorizationException
- if the user has noPermissions.UPDATE
permission onResources.PROCESS_INSTANCE
or noPermissions.UPDATE_INSTANCE
permission onResources.PROCESS_DEFINITION
.
-