pds.ruleset
Class PPIAction

java.lang.Object
  extended by pds.ruleset.PPIAction

public class PPIAction
extends java.lang.Object

PPIAction is a class that contains a ruleset action definition.

Since:
1.0

Field Summary
static int ABORT
          ABORT
static int ASSIGN
          Assignment
static int COPY
          COPY
static int DUMP
          DUMP
static int ELSE
          ELSE
static int ELSEIF
          ELSEIF
static int ENDIF
          ENDIF
static int EXISTS
          EXISTS
static int GLOBAL
          GLOBAL
static int IF
          IF
static int IGNORE
          IGNORE
static int INCLUDE
          Include
 java.util.ArrayList mArgument
           
 pds.label.PDSElement mElement
           
static int MESSAGE
          MESSAGE
static int MKDIR
          MKDIR
 int mType
          The list of elements in the label
static int NONE
          Unspecified action.
static int OPTION
          OPTION
static int OUTPUT
          OUTPUT
static int RUN
          Run
static int TEMPLATE
          Template
 
Constructor Summary
PPIAction(int type, java.util.ArrayList arguments)
          Creates an instance of an action.
 
Method Summary
 void dump()
          Prints out the action in tokenized form.
static int token(java.lang.String buffer)
          Returns the token indentifier for a command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
Unspecified action.

See Also:
Constant Field Values

ASSIGN

public static final int ASSIGN
Assignment

See Also:
Constant Field Values

RUN

public static final int RUN
Run

See Also:
Constant Field Values

INCLUDE

public static final int INCLUDE
Include

See Also:
Constant Field Values

TEMPLATE

public static final int TEMPLATE
Template

See Also:
Constant Field Values

IF

public static final int IF
IF

See Also:
Constant Field Values

ELSE

public static final int ELSE
ELSE

See Also:
Constant Field Values

ELSEIF

public static final int ELSEIF
ELSEIF

See Also:
Constant Field Values

ENDIF

public static final int ENDIF
ENDIF

See Also:
Constant Field Values

IGNORE

public static final int IGNORE
IGNORE

See Also:
Constant Field Values

OPTION

public static final int OPTION
OPTION

See Also:
Constant Field Values

OUTPUT

public static final int OUTPUT
OUTPUT

See Also:
Constant Field Values

MESSAGE

public static final int MESSAGE
MESSAGE

See Also:
Constant Field Values

ABORT

public static final int ABORT
ABORT

See Also:
Constant Field Values

COPY

public static final int COPY
COPY

See Also:
Constant Field Values

DUMP

public static final int DUMP
DUMP

See Also:
Constant Field Values

GLOBAL

public static final int GLOBAL
GLOBAL

See Also:
Constant Field Values

MKDIR

public static final int MKDIR
MKDIR

See Also:
Constant Field Values

EXISTS

public static final int EXISTS
EXISTS

See Also:
Constant Field Values

mType

public int mType
The list of elements in the label


mArgument

public java.util.ArrayList mArgument

mElement

public pds.label.PDSElement mElement
Constructor Detail

PPIAction

public PPIAction(int type,
                 java.util.ArrayList arguments)
Creates an instance of an action.

Parameters:
operand - the token for the type of action to take.
arguments - the ArrayList of arguments for the action.
Since:
1.0
Method Detail

token

public static int token(java.lang.String buffer)
Returns the token indentifier for a command.

Parameters:
buffer - the text containing the command word.
Returns:
the token for the command word or NONE if no token with the passed name exists.
Since:
1.0

dump

public void dump()
Prints out the action in tokenized form.

Since:
1.0