org.apache.jsieve
Class SieveContext

java.lang.Object
  extended by org.apache.jsieve.SieveContext
Direct Known Subclasses:
BaseSieveContext

public abstract class SieveContext
extends java.lang.Object

Context for sieve operations.


Constructor Summary
SieveContext()
           
 
Method Summary
abstract  CommandManager getCommandManager()
          Gets the command manager.
abstract  CommandStateManager getCommandStateManager()
          Gets the command state manager.
abstract  ComparatorManager getComparatorManager()
          Gets the comparator manager.
abstract  ConditionManager getConditionManager()
          Gets the condition manager.
abstract  ScriptCoordinate getCoordinate()
          Gets the script position of the current operation.
abstract  org.apache.commons.logging.Log getLog()
          Gets the log.
abstract  TestManager getTestManager()
          Gets the test manager.
abstract  void setConditionManager(ConditionManager manager)
          Sets the condition manager.
abstract  void setCoordinate(ScriptCoordinate coordinate)
          Sets the script position of the current operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SieveContext

public SieveContext()
Method Detail

getCoordinate

public abstract ScriptCoordinate getCoordinate()
Gets the script position of the current operation.

Returns:
ScriptCoordinate, not null

setCoordinate

public abstract void setCoordinate(ScriptCoordinate coordinate)
Sets the script position of the current operation.

Parameters:
coordinate - ScriptCoordinate, not null

getCommandStateManager

public abstract CommandStateManager getCommandStateManager()
Gets the command state manager.

Returns:
command state manage, not null

getConditionManager

public abstract ConditionManager getConditionManager()
Gets the condition manager.

Returns:
condition manager, not null

setConditionManager

public abstract void setConditionManager(ConditionManager manager)
Sets the condition manager.

Parameters:
manager - not null

getCommandManager

public abstract CommandManager getCommandManager()
Gets the command manager.

Returns:
command manager, not null

getComparatorManager

public abstract ComparatorManager getComparatorManager()
Gets the comparator manager.

Returns:
not null

getTestManager

public abstract TestManager getTestManager()
Gets the test manager.

Returns:
test manager, not null

getLog

public abstract org.apache.commons.logging.Log getLog()
Gets the log.

Returns:
log, not null


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