com.ebmwebsourcing.easyviper.core.api.engine
Interface Execution

All Superinterfaces:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent

public interface Execution
extends com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent

Author:
Nicolas Salatge - eBM WebSourcing

Nested Class Summary
static class Execution.State
           ACTIVE : the execution is started.
 
Method Summary
 void addExecution(Execution execution)
           
 Execution createChildExecution()
           
 void end()
           
 java.util.List<Execution> getChildExecutions()
           
 Node getCurrentTarget()
           
 Execution getParentExecution()
           
 Scope getParentScope()
           
 long getSpeedTime()
           
 Execution.State getState()
           
 boolean hasNextExecutableElement()
           
 boolean isStepByStep()
           
 void notifyParentExecution()
           
 void removeChildExecution(Execution execution)
           
 void removeChildExecutions()
           
 void run()
           
 void runSlowly(long time)
           
 void runStepByStep()
           
 void setLog(java.util.logging.Logger logger)
           
 void setNextExecutableElements(com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent sender, java.util.Collection<? extends Node> nextExecutableElements)
           
 void setNextExecutableElements(com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent sender, Node nextExecutableElement)
           
 void setParentExecution(Execution parent)
           
 void setSpeedTime(long time)
           
 void setState(Execution.State state)
           
 void setStateRecursively(Execution.State state)
           
 void setStepByStep(boolean stepByStep)
           
 void signal()
           
 void step()
           
 
Methods inherited from interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
createSCAComponent, destroySCAComponent, getComponent, getName, setName, startSCAComponent, stopSCAComponent
 

Method Detail

setLog

void setLog(java.util.logging.Logger logger)

createChildExecution

Execution createChildExecution()
                               throws CoreException
Throws:
CoreException

getChildExecutions

java.util.List<Execution> getChildExecutions()

addExecution

void addExecution(Execution execution)
                  throws CoreException
Throws:
CoreException

removeChildExecutions

void removeChildExecutions()
                           throws CoreException
Throws:
CoreException

removeChildExecution

void removeChildExecution(Execution execution)
                          throws CoreException
Throws:
CoreException

notifyParentExecution

void notifyParentExecution()
                           throws CoreException
Throws:
CoreException

run

void run()
         throws CoreException
Throws:
CoreException

runSlowly

void runSlowly(long time)
               throws CoreException
Throws:
CoreException

runStepByStep

void runStepByStep()
                   throws CoreException
Throws:
CoreException

signal

void signal()
            throws CoreException
Throws:
CoreException

end

void end()
         throws CoreException
Throws:
CoreException

setState

void setState(Execution.State state)

setStateRecursively

void setStateRecursively(Execution.State state)

getState

Execution.State getState()

getParentExecution

Execution getParentExecution()

setParentExecution

void setParentExecution(Execution parent)

getParentScope

Scope getParentScope()
                     throws CoreException
Throws:
CoreException

step

void step()
          throws CoreException
Throws:
CoreException

setSpeedTime

void setSpeedTime(long time)

getSpeedTime

long getSpeedTime()

isStepByStep

boolean isStepByStep()

setStepByStep

void setStepByStep(boolean stepByStep)

getCurrentTarget

Node getCurrentTarget()

hasNextExecutableElement

boolean hasNextExecutableElement()

setNextExecutableElements

void setNextExecutableElements(com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent sender,
                               Node nextExecutableElement)

setNextExecutableElements

void setNextExecutableElements(com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent sender,
                               java.util.Collection<? extends Node> nextExecutableElements)


Copyright © 2012 Petals Link. All Rights Reserved.