com.ebmwebsourcing.easyviper.core.impl.engine
Class NodeImpl

Package class diagram package NodeImpl
java.lang.Object
  extended by com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
      extended by com.ebmwebsourcing.easyviper.core.impl.engine.NodeImpl
All Implemented Interfaces:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent, com.ebmwebsourcing.easyviper.core.api.engine.Node
Direct Known Subclasses:
ScopeImpl

public class NodeImpl
extends com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
implements com.ebmwebsourcing.easyviper.core.api.engine.Node

Author:
Nicolas Salatge - eBM WebSourcing

Field Summary
protected  com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour
           
protected  java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> childNodes
          child childNodes
protected  com.ebmwebsourcing.easyviper.core.api.engine.Execution execution
           
protected  java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> incomingNodes
           
protected  java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> outgoingNodes
           
protected  com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode
           
 
Constructor Summary
NodeImpl()
          Default constructor
 
Method Summary
 void execute()
           
 com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour getActivity()
           
 com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour getBehaviour()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> getChildNodes()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Execution getExecution()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> getIncomingNodes()
           
 java.util.logging.Logger getLogger()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> getOutgoingNodes()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Node getParentNode()
           
 void selectDefaultNextTarget()
           
 void setActivity(com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour)
           
 void setExecution(com.ebmwebsourcing.easyviper.core.api.engine.Execution exec)
           
 void setLog(java.util.logging.Logger logger)
           
 void setParentNode(com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode)
           
 void stopSCAComponent()
          Stop the NodeImpl behaviour
 java.lang.String toString()
           
 
Methods inherited from class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
createSCAComponent, destroySCAComponent, getComponent, getName, setName, startSCAComponent
 
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, destroySCAComponent, getComponent, getName, setName, startSCAComponent
 

Field Detail

childNodes

protected java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> childNodes
child childNodes


incomingNodes

protected java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> incomingNodes

outgoingNodes

protected java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> outgoingNodes

behaviour

protected com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour

parentNode

protected com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode

execution

protected com.ebmwebsourcing.easyviper.core.api.engine.Execution execution
Constructor Detail

NodeImpl

public NodeImpl()
Default constructor

Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
Method Detail

stopSCAComponent

public void stopSCAComponent()
                      throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
Stop the NodeImpl behaviour

Specified by:
stopSCAComponent in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
stopSCAComponent in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
com.ebmwebsourcing.easycommons.sca.helper.api.SCAException

setActivity

public void setActivity(com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour)
Specified by:
setActivity in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

getActivity

public com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour getActivity()

execute

public void execute()
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
execute in interface com.ebmwebsourcing.easyviper.core.api.engine.Node
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

selectDefaultNextTarget

public void selectDefaultNextTarget()
                             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
selectDefaultNextTarget in interface com.ebmwebsourcing.easyviper.core.api.engine.Node
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getParentNode

public com.ebmwebsourcing.easyviper.core.api.engine.Node getParentNode()
Specified by:
getParentNode in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

setParentNode

public void setParentNode(com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode)
Specified by:
setParentNode in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

getExecution

public com.ebmwebsourcing.easyviper.core.api.engine.Execution getExecution()
Specified by:
getExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

getChildNodes

public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> getChildNodes()
Specified by:
getChildNodes in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

getBehaviour

public com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour getBehaviour()
Specified by:
getBehaviour in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

toString

public java.lang.String toString()
Overrides:
toString in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl

getIncomingNodes

public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> getIncomingNodes()
Specified by:
getIncomingNodes in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

getOutgoingNodes

public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> getOutgoingNodes()
Specified by:
getOutgoingNodes in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

setLog

public void setLog(java.util.logging.Logger logger)
Specified by:
setLog in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

getLogger

public java.util.logging.Logger getLogger()
Specified by:
getLogger in interface com.ebmwebsourcing.easyviper.core.api.engine.Node

setExecution

public void setExecution(com.ebmwebsourcing.easyviper.core.api.engine.Execution exec)
Specified by:
setExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Node


Copyright © 2012 Petals Link. All Rights Reserved.