public class WorkflowStepExpression extends Object implements Expression
Expression testing the current workflow step of a content.
This can be used only to search on the current step. To search on history steps, use the CurrentStepExpression instead| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowStepExpression.LogicalOperator
The logical operator to use in xpath query
|
Expression.Operator| Modifier and Type | Field and Description |
|---|---|
private WorkflowStepExpression.LogicalOperator |
_logicalOperator |
private Expression.Operator |
_operator |
private int[] |
_values |
| Constructor and Description |
|---|
WorkflowStepExpression(Expression.Operator operator,
int value)
Creates the expression.
|
WorkflowStepExpression(Expression.Operator operator,
int[] values,
WorkflowStepExpression.LogicalOperator logicalOperator)
Creates the expression.
|
private Expression.Operator _operator
private int[] _values
private WorkflowStepExpression.LogicalOperator _logicalOperator
public WorkflowStepExpression(Expression.Operator operator, int value)
operator - the operator to make the comparison (only Operator.EQ and Operator.NE allowed)value - the step valuepublic WorkflowStepExpression(Expression.Operator operator, int[] values, WorkflowStepExpression.LogicalOperator logicalOperator)
operator - the operator to make the comparison (only Operator.EQ and Operator.NE allowed)values - the tags value in a arraylogicalOperator - the logical operator to use for given valuepublic String build()
Expressionbuild in interface Expression