org.camunda.bpm.engine.management
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
 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 no Permissions.UPDATE permission on Resources.PROCESS_INSTANCE or no Permissions.UPDATE_INSTANCE permission on Resources.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 no Permissions.UPDATE permission on Resources.PROCESS_INSTANCE or no Permissions.UPDATE_INSTANCE permission on Resources.PROCESS_DEFINITION.


Copyright © 2016 camunda services GmbH. All rights reserved.