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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
activate()
Activates the provided jobs.void
suspend()
Suspends the provided jobs.
-
-
-
Method Detail
-
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
.
-
-