com.ebmwebsourcing.easyviper.core.impl.engine
Class ExecutionImpl
java.lang.Object
com.ebmwebsourcing.easyviper.core.impl.engine.ExecutionImpl
- All Implemented Interfaces:
- com.ebmwebsourcing.easyviper.core.api.engine.Element, com.ebmwebsourcing.easyviper.core.api.engine.Execution, com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent, java.io.Serializable
public class ExecutionImpl
- extends java.lang.Object
- implements com.ebmwebsourcing.easyviper.core.api.engine.Execution
- Author:
- Nicolas Salatge - eBM WebSourcing
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Execution |
com.ebmwebsourcing.easyviper.core.api.engine.Execution.State |
|
Method Summary |
void |
addExecution(com.ebmwebsourcing.easyviper.core.api.engine.Execution childExecution)
|
void |
create()
Create the scope behaviour |
com.ebmwebsourcing.easyviper.core.api.engine.Execution |
createChildExecution(java.lang.String name)
|
void |
destroy()
Destroy the ExecutionImpl behaviour |
void |
end()
|
void |
execute(com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement execElmt)
|
com.ebmwebsourcing.easyviper.core.api.engine.Execution |
getChildExecution(java.lang.String name)
|
java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Execution> |
getChildExecutions()
|
org.objectweb.fractal.api.Component |
getComponent()
|
com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement |
getCurrentTarget()
|
java.lang.String |
getName()
|
com.ebmwebsourcing.easyviper.core.api.engine.Execution |
getParentExecution()
|
com.ebmwebsourcing.easyviper.core.api.engine.Scope |
getParentScope()
|
long |
getSpeedTime()
|
com.ebmwebsourcing.easyviper.core.api.engine.Execution.State |
getState()
|
void |
init(org.objectweb.fractal.api.Component fractalNode)
|
boolean |
isStepByStep()
|
void |
next()
|
void |
removeChildExecution(com.ebmwebsourcing.easyviper.core.api.engine.Execution execution)
|
void |
removeChildExecutions()
|
void |
run()
|
void |
runSlowly(long time)
|
void |
runStepByStep()
|
void |
setLog(java.util.logging.Logger logger)
|
void |
setName(java.lang.String name)
|
void |
setParent(com.ebmwebsourcing.easyviper.core.api.engine.Execution parent)
|
void |
setSpeedTime(long time)
|
void |
setState(com.ebmwebsourcing.easyviper.core.api.engine.Execution.State state)
|
void |
setStepByStep(boolean stepByStep)
|
void |
signal()
|
void |
signal(com.ebmwebsourcing.easyviper.core.api.engine.Execution childExecution)
|
void |
start()
Start the ExecutionImpl behaviour |
void |
stop()
Stop the ExecutionImpl behaviour |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExecutionImpl
public ExecutionImpl()
getCurrentTarget
public com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement getCurrentTarget()
- Specified by:
getCurrentTarget in interface com.ebmwebsourcing.easyviper.core.api.engine.Execution
getComponent
public org.objectweb.fractal.api.Component getComponent()
- Specified by:
getComponent in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
create
public void create()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Create the scope behaviour
- Specified by:
create in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
init
public void init(org.objectweb.fractal.api.Component fractalNode)
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
init in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
start
public void start()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Start the ExecutionImpl behaviour
- Specified by:
start in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
stop
public void stop()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Stop the ExecutionImpl behaviour
- Specified by:
stop in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
destroy
public void destroy()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Destroy the ExecutionImpl behaviour
- Specified by:
destroy in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
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)
getChildExecution
public com.ebmwebsourcing.easyviper.core.api.engine.Execution getChildExecution(java.lang.String name)
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
getName
public java.lang.String getName()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
getName in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
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
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
setName
public void setName(java.lang.String name)
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
setName in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
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)
next
public void next()
throws com.ebmwebsourcing.easyviper.core.api.CoreException
- Specified by:
next 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.ExecutableElement 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
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
signal
public void signal(com.ebmwebsourcing.easyviper.core.api.engine.Execution childExecution)
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.Element
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009 eBM WebSourcing. All Rights Reserved.