org.apache.jsieve
Class BaseSieveContext
java.lang.Object
org.apache.jsieve.SieveContext
org.apache.jsieve.BaseSieveContext
public class BaseSieveContext
- extends SieveContext
Bean based implementation of context.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSieveContext
public BaseSieveContext(CommandManager commandManager,
ComparatorManager comparatorManager,
TestManager testManager,
org.apache.commons.logging.Log log)
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()
- Specified by:
getCommandStateManager
in class SieveContext
getConditionManager
public ConditionManager getConditionManager()
- Specified by:
getConditionManager
in class SieveContext
setConditionManager
public void setConditionManager(ConditionManager conditionManager)
- Specified by:
setConditionManager
in class SieveContext
getCommand
public ExecutableCommand getCommand(java.lang.String name)
throws LookupException
- Specified by:
getCommand
in class SieveContext
- Throws:
LookupException
getComparator
public Comparator getComparator(java.lang.String name)
throws LookupException
- Specified by:
getComparator
in class SieveContext
- Throws:
LookupException
getTest
public ExecutableTest getTest(java.lang.String name)
throws LookupException
- Specified by:
getTest
in class SieveContext
- Throws:
LookupException
getLog
public org.apache.commons.logging.Log getLog()
- Specified by:
getLog
in class SieveContext
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.