org.apache.jsieve
Class CommandStateManager

java.lang.Object
  extended by org.apache.jsieve.CommandStateManager

public class CommandStateManager
extends java.lang.Object

Thread singleton class CommandStateManager records the state of a Sieve evaluation.


Constructor Summary
CommandStateManager()
          Constructor for CommandStateManager.
 
Method Summary
protected  void initialize()
          Initialize the receiver.
 boolean isHasActions()
          Returns the hasActions.
 boolean isImplicitKeep()
          Returns the implicitKeep.
 boolean isInProlog()
          Returns the inProlog.
 boolean isRejected()
          Returns the isRejected.
 void setHasActions(boolean hasActions)
          Sets the hasActions.
 void setImplicitKeep(boolean implicitKeep)
          Sets the implicitKeep.
 void setInProlog(boolean inProlog)
          Sets the inProlog.
 void setRejected(boolean isRejected)
          Sets the isRejected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandStateManager

public CommandStateManager()
Constructor for CommandStateManager.

Method Detail

initialize

protected void initialize()
Initialize the receiver.


isHasActions

public boolean isHasActions()
Returns the hasActions.

Returns:
boolean

isInProlog

public boolean isInProlog()
Returns the inProlog.

Returns:
boolean

isRejected

public boolean isRejected()
Returns the isRejected.

Returns:
boolean

setHasActions

public void setHasActions(boolean hasActions)
Sets the hasActions.

Parameters:
hasActions - The hasActions to set

setInProlog

public void setInProlog(boolean inProlog)
Sets the inProlog.

Parameters:
inProlog - The inProlog to set

setRejected

public void setRejected(boolean isRejected)
Sets the isRejected.

Parameters:
isRejected - The isRejected to set

isImplicitKeep

public boolean isImplicitKeep()
Returns the implicitKeep.

Returns:
boolean

setImplicitKeep

public void setImplicitKeep(boolean implicitKeep)
Sets the implicitKeep.

Parameters:
implicitKeep - The implicitKeep to set


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.