org.camunda.bpm.data
Interface Guard

All Known Implementing Classes:
ActivityGuard, TaskGuard

public interface Guard

Guard interface.

Author:
Simon Zambrovski, holisticon AG.

Method Summary
 void checkPostconditions(org.camunda.bpm.engine.delegate.DelegateExecution delegateExecution)
          Checks of post-conditions.
 void checkPreconditions(org.camunda.bpm.engine.delegate.DelegateExecution delegateExecution)
          Checks of pre-conditions.
 

Method Detail

checkPreconditions

void checkPreconditions(org.camunda.bpm.engine.delegate.DelegateExecution delegateExecution)
                        throws IllegalStateException
Checks of pre-conditions.

Parameters:
delegateExecution - current execution.
Throws:
IllegalStateException - thrown if pre-condition is not met.

checkPostconditions

void checkPostconditions(org.camunda.bpm.engine.delegate.DelegateExecution delegateExecution)
                         throws IllegalStateException
Checks of post-conditions.

Parameters:
delegateExecution - current execution.
Throws:
IllegalStateException - thrown if post-condition is not met.


Copyright © 2014 camunda services GmbH. All rights reserved.