org.apache.jsieve
Class BaseSieveContext

java.lang.Object
  extended by org.apache.jsieve.SieveContext
      extended by org.apache.jsieve.BaseSieveContext

public class BaseSieveContext
extends SieveContext

Bean based implementation of context.


Constructor Summary
BaseSieveContext(CommandManager commandManager, ComparatorManager comparatorManager, TestManager testManager, org.apache.commons.logging.Log log)
           
 
Method Summary
 CommandManager getCommandManager()
          Gets the command manager.
 CommandStateManager getCommandStateManager()
          Gets the command state manager.
 ComparatorManager getComparatorManager()
          Gets the comparator manager.
 ConditionManager getConditionManager()
          Gets the condition manager.
 ScriptCoordinate getCoordinate()
          Gets the script position of the current operation.
 org.apache.commons.logging.Log getLog()
          Gets the log.
 TestManager getTestManager()
          Gets the test manager.
 void setConditionManager(ConditionManager conditionManager)
          Sets the condition manager.
 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

BaseSieveContext

public BaseSieveContext(CommandManager commandManager,
                        ComparatorManager comparatorManager,
                        TestManager testManager,
                        org.apache.commons.logging.Log log)
Method Detail

getCoordinate

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

Specified by:
getCoordinate in class SieveContext
Returns:
ScriptCoordinate, not null

setCoordinate

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

Specified by:
setCoordinate in class SieveContext
Parameters:
coordinate - ScriptCoordinate, not null

getCommandStateManager

public CommandStateManager getCommandStateManager()
Description copied from class: SieveContext
Gets the command state manager.

Specified by:
getCommandStateManager in class SieveContext
Returns:
command state manage, not null
See Also:
SieveContext.getCommandStateManager()

getConditionManager

public ConditionManager getConditionManager()
Description copied from class: SieveContext
Gets the condition manager.

Specified by:
getConditionManager in class SieveContext
Returns:
condition manager, not null
See Also:
SieveContext.getConditionManager()

setConditionManager

public void setConditionManager(ConditionManager conditionManager)
Description copied from class: SieveContext
Sets the condition manager.

Specified by:
setConditionManager in class SieveContext
Parameters:
conditionManager - not null
See Also:
SieveContext.setConditionManager(ConditionManager)

getLog

public org.apache.commons.logging.Log getLog()
Description copied from class: SieveContext
Gets the log.

Specified by:
getLog in class SieveContext
Returns:
log, not null
See Also:
SieveContext.getLog()

getComparatorManager

public ComparatorManager getComparatorManager()
Description copied from class: SieveContext
Gets the comparator manager.

Specified by:
getComparatorManager in class SieveContext
Returns:
not null
See Also:
SieveContext.getComparatorManager()

getCommandManager

public CommandManager getCommandManager()
Description copied from class: SieveContext
Gets the command manager.

Specified by:
getCommandManager in class SieveContext
Returns:
command manager, not null
See Also:
SieveContext.getCommandManager()

getTestManager

public TestManager getTestManager()
Description copied from class: SieveContext
Gets the test manager.

Specified by:
getTestManager in class SieveContext
Returns:
test manager, not null
See Also:
SieveContext.getTestManager()


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