pobs.directive
Class PEnableSkip

java.lang.Object
  extended bypobs.directive.PEnableSkip
All Implemented Interfaces:
PDirectiveControl

public class PEnableSkip
extends java.lang.Object
implements PDirectiveControl

Enables the skip directive.

Author:
Martijn W. van der Lee, Franz-Josef Elmer

Constructor Summary
PEnableSkip()
           
 
Method Summary
 java.lang.Object modifyState(PDirective directive)
          Modifies a sub state of the specified directive.
 void reestablishPreviousState(PDirective directive, java.lang.Object previousState)
          Reestablishes the previous state before modification.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PEnableSkip

public PEnableSkip()
Method Detail

modifyState

public java.lang.Object modifyState(PDirective directive)
Description copied from interface: PDirectiveControl
Modifies a sub state of the specified directive.

Specified by:
modifyState in interface PDirectiveControl
Parameters:
directive - Directive to be modified.
Returns:
sub state before modification which allows reestablishing the previous state.

reestablishPreviousState

public void reestablishPreviousState(PDirective directive,
                                     java.lang.Object previousState)
Description copied from interface: PDirectiveControl
Reestablishes the previous state before modification.

Specified by:
reestablishPreviousState in interface PDirectiveControl
Parameters:
directive - Directive which has been modified.
previousState - Previous state as returned by PDirectiveControl.modifyState(PDirective).