Interface ICondition<T extends IWorkflowObject>

Type Parameters:
T - type of the target object, see ICallContext.getTarget(); use IWorkflowObject if the condition is general, or specific prototype interface if the condition is specific for that prototype
All Known Subinterfaces:
IWorkflowCondition<T>

public interface ICondition<T extends IWorkflowObject>
Deprecated. Use IWorkflowCondition instead. Workflow conditions assigned to a particular workflow action are checked to determine, whether the action is permitted at given time.

The conditions determine, whether the workflow action is even listed in the set of available actions.

The custom conditions can be contributed using the com.polarion.alm.tracker.workflow.conditions configuration point. The contribution looks like this:

  <contribution configuration-id="com.polarion.alm.tracker.workflow.conditions">
      <condition 
          name="Your-unique-condition-name" 
          clazz="com.your.ConditionClassName"
          prototype="prototype like WorkItem or *"
      />
  </contribution>
 
Author:
dobisekm
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    passesCondition(ICallContext<T> context, IArguments arguments)
    Deprecated.
    whole interface is now deprecated.
  • Method Details