com.intel.gpe.clients.api.workflow
Class Switch.Case

java.lang.Object
  extended by com.intel.gpe.clients.api.workflow.Switch.Case
Enclosing class:
Switch

public static class Switch.Case
extends java.lang.Object

The representation of the code branch with the condition to be tested in order to execute the branch.

Author:
Alexander Lukichev

Constructor Summary
Switch.Case(java.lang.String condition, Action action)
          Create the code branch.
 
Method Summary
 Action getAction()
          Get the action.
 java.lang.String getCondition()
          Get the condition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Switch.Case

public Switch.Case(java.lang.String condition,
                   Action action)
Create the code branch.

Parameters:
condition - the XPath condition (this expression must return the boolean value)
action - the action to be executed
Method Detail

getAction

public Action getAction()
Get the action.

Returns:
the action

getCondition

public java.lang.String getCondition()
Get the condition.

Returns:
the condition


Copyright © 2008. All Rights Reserved.