com.ebmwebsourcing.easyviper.core.impl.engine
Class ExecutionImpl
java.lang.Object
com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
com.ebmwebsourcing.easyviper.core.impl.engine.ExecutionImpl
- All Implemented Interfaces:
- com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent, com.ebmwebsourcing.easyviper.core.api.engine.Execution
public class ExecutionImpl
- extends com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
- implements com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Author:
- Nicolas Salatge - eBM WebSourcing
| Nested classes/interfaces inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Execution |
com.ebmwebsourcing.easyviper.core.api.engine.Execution.State |
| Methods inherited from class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl |
createSCAComponent, getComponent, getInitializationContext, getName, setInitializationContext, setName, startSCAComponent, stopSCAComponent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent |
createSCAComponent, getComponent, getInitializationContext, getName, setInitializationContext, setName, startSCAComponent, stopSCAComponent |
executionMessages
protected java.util.concurrent.BlockingQueue<ExecutionMessage> executionMessages
ExecutionImpl
public ExecutionImpl()
getCurrentTarget
public com.ebmwebsourcing.easyviper.core.api.engine.Node getCurrentTarget()
- Specified by:
getCurrentTarget in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
getParentScope
public com.ebmwebsourcing.easyviper.core.api.engine.Scope getParentScope()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
getParentScope in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
run
public void run()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
run in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
removeChildExecution
public void removeChildExecution(com.ebmwebsourcing.easyviper.core.api.engine.Execution execution)
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
removeChildExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
end
public void end()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
end in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException- See Also:
Execution#end(String, boolean)
getChildExecutions
public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Execution> getChildExecutions()
- Specified by:
getChildExecutions in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
getParentExecution
public com.ebmwebsourcing.easyviper.core.api.engine.Execution getParentExecution()
- Specified by:
getParentExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
getState
public com.ebmwebsourcing.easyviper.core.api.engine.Execution.State getState()
- Specified by:
getState in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
setStateRecursively
public void setStateRecursively(com.ebmwebsourcing.easyviper.core.api.engine.Execution.State state)
- Specified by:
setStateRecursively in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
setState
public void setState(com.ebmwebsourcing.easyviper.core.api.engine.Execution.State state)
- Specified by:
setState in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
createChildExecution
public com.ebmwebsourcing.easyviper.core.api.engine.Execution createChildExecution(java.lang.String name)
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException- See Also:
Execution#createChildExecution(String)
addExecution
public void addExecution(com.ebmwebsourcing.easyviper.core.api.engine.Execution childExecution)
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
addExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
removeChildExecutions
public void removeChildExecutions()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
removeChildExecutions in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
setParent
public void setParent(com.ebmwebsourcing.easyviper.core.api.engine.Execution parent)
hasNextExecutableElement
public final boolean hasNextExecutableElement()
- Specified by:
hasNextExecutableElement in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
setNextExecutableElements
public final void setNextExecutableElements(com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent sender,
java.util.Collection<? extends com.ebmwebsourcing.easyviper.core.api.engine.Node> nextExecutableElements)
- Specified by:
setNextExecutableElements in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
setNextExecutableElements
public final void setNextExecutableElements(com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent sender,
com.ebmwebsourcing.easyviper.core.api.engine.Node nextExecutableElement)
- Specified by:
setNextExecutableElements in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
step
public final void step()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
step in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
execute
public void execute(com.ebmwebsourcing.easyviper.core.api.engine.Node execElmt)
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException- See Also:
Execution#execute(Node)
getSpeedTime
public long getSpeedTime()
- Specified by:
getSpeedTime in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
setSpeedTime
public void setSpeedTime(long time)
- Specified by:
setSpeedTime in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
runSlowly
public void runSlowly(long time)
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
runSlowly in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
init
public void init()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
runStepByStep
public void runStepByStep()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
runStepByStep in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
signal
public void signal()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
signal in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
isStepByStep
public boolean isStepByStep()
- Specified by:
isStepByStep in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
setStepByStep
public void setStepByStep(boolean stepByStep)
- Specified by:
setStepByStep in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
setLog
public void setLog(java.util.logging.Logger logger)
- Specified by:
setLog in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
destroySCAComponent
public void destroySCAComponent()
throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
- Destroy the ExecutionImpl behaviour
- Specified by:
destroySCAComponent in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent- Overrides:
destroySCAComponent in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009-2011 eBM WebSourcing. All Rights Reserved.