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

All Superinterfaces:
Element, ExecutableElement, FractalComponent, Node, java.io.Serializable
All Known Subinterfaces:
Process

public interface Scope
extends Node

Author:
Nicolas Salatge - eBM WebSourcing

Method Summary
 Execution createExecution(java.lang.String execName)
           
 Node createNode(java.lang.String nodeName, Behaviour behaviour)
           
 Transition createTransition(java.lang.String transitionName, Event event)
           
 void deleteExecution(Execution execution)
           
 void end(boolean clean)
           
<B extends Behaviour>
java.util.List<B>
findBehaviours(java.lang.Class<B> behaviourClass)
           
 java.util.List<CorrelationGroup> findCorrelationGroups(java.lang.String name)
           
 Endpoint findEndpoint(java.lang.Object key)
           
 Variable findVariable(javax.xml.namespace.QName name)
           
 java.util.List<Node> getAllNodes()
           
 java.util.List<Scope> getAllScopes()
           
 java.util.List<Transition> getAllTransitions()
           
 java.util.List<CorrelationGroup> getCorrelationGroups()
           
 java.util.Map<java.lang.Object,Endpoint> getEndpoints()
           
 java.util.Map<Fault,Scope> getExceptions()
           
 Node getInitialNode()
           
 Node getNodeByName(java.lang.String name)
           
 Execution getParentExecution()
           
 Scope getParentScope()
           
 Process getProcess()
           
 TerminationHandler getTerminationHandler()
           
 Transition getTransitionByName(java.lang.String name)
           
 java.util.Map<javax.xml.namespace.QName,Variable> getVariables()
           
 java.lang.Exception isFaultScope()
           
 void linked(Node parentNode, Node childrenNode)
           
 void linked(Node sourceNode, Transition transition, Node targetNode)
           
 void linkedExecutableElement2Execution(ExecutableElement source, Execution exe)
           
 void linkedExecution2ExecutableElement(Execution exe, ExecutableElement target)
           
 void linkedNode2Transition(Node targetNode, Transition transition)
           
 void linkedNodeAndActivity(Node node, Behaviour behaviour)
           
 void linkedTransition2Node(Transition transition, Node sourceNode)
           
 void linkInitialNodeAndExecution()
           
 boolean removeNode(Node node)
           
 void setExceptions(java.util.Map<Fault,Scope> exceptions)
           
 void setFaultScope(java.lang.Exception faultScope)
           
 void setInitialNode(Node initial)
           
 void setParentExecution(org.objectweb.fractal.api.Component parentExecution)
           
 void setTerminationHandler(TerminationHandler th)
           
 void setVariable(Variable v)
           
 void stopAllExecutions()
           
 void unlinkedNodeAndActivity(Node node, Behaviour behaviour)
           
 void unlinkedNodeAndExecution(Node targetNode, Execution execution)
           
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Node
getBehaviour, getChildNodes, getIncomingTransitions, getLogger, getMapIncomingTransitions, getMapOutgoingTransitions, getOutgoingTransitions, getParentNode, setActivity, setExecution
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement
execute, getExecution, getNextSelectedExecutableElements, selectDefaultNextTarget
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Element
setLog
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
create, destroy, getComponent, getName, init, setName, start, stop
 

Method Detail

createExecution

Execution createExecution(java.lang.String execName)
                          throws CoreException
Throws:
CoreException

getParentExecution

Execution getParentExecution()
                             throws CoreException
Throws:
CoreException

setParentExecution

void setParentExecution(org.objectweb.fractal.api.Component parentExecution)

createNode

Node createNode(java.lang.String nodeName,
                Behaviour behaviour)
                throws CoreException
Throws:
CoreException

removeNode

boolean removeNode(Node node)
                   throws CoreException
Throws:
CoreException

createTransition

Transition createTransition(java.lang.String transitionName,
                            Event event)
                            throws CoreException
Throws:
CoreException

deleteExecution

void deleteExecution(Execution execution)
                     throws CoreException
Throws:
CoreException

end

void end(boolean clean)
         throws CoreException
Throws:
CoreException

linkedTransition2Node

void linkedTransition2Node(Transition transition,
                           Node sourceNode)
                           throws CoreException
Throws:
CoreException

linkedNode2Transition

void linkedNode2Transition(Node targetNode,
                           Transition transition)
                           throws CoreException
Throws:
CoreException

linked

void linked(Node sourceNode,
            Transition transition,
            Node targetNode)
            throws CoreException
Throws:
CoreException

linked

void linked(Node parentNode,
            Node childrenNode)
            throws CoreException
Throws:
CoreException

linkedExecution2ExecutableElement

void linkedExecution2ExecutableElement(Execution exe,
                                       ExecutableElement target)
                                       throws CoreException
Throws:
CoreException

linkedExecutableElement2Execution

void linkedExecutableElement2Execution(ExecutableElement source,
                                       Execution exe)
                                       throws CoreException
Throws:
CoreException

linkedNodeAndActivity

void linkedNodeAndActivity(Node node,
                           Behaviour behaviour)
                           throws CoreException
Throws:
CoreException

unlinkedNodeAndActivity

void unlinkedNodeAndActivity(Node node,
                             Behaviour behaviour)
                             throws CoreException
Throws:
CoreException

getAllTransitions

java.util.List<Transition> getAllTransitions()
                                             throws CoreException
Throws:
CoreException

getAllNodes

java.util.List<Node> getAllNodes()
                                 throws CoreException
Throws:
CoreException

getAllScopes

java.util.List<Scope> getAllScopes()
                                   throws CoreException
Throws:
CoreException

getTransitionByName

Transition getTransitionByName(java.lang.String name)
                               throws CoreException
Throws:
CoreException

getNodeByName

Node getNodeByName(java.lang.String name)
                   throws CoreException
Throws:
CoreException

stopAllExecutions

void stopAllExecutions()
                       throws CoreException
Throws:
CoreException

getInitialNode

Node getInitialNode()
                    throws CoreException
Throws:
CoreException

setInitialNode

void setInitialNode(Node initial)
                    throws CoreException
Throws:
CoreException

getVariables

java.util.Map<javax.xml.namespace.QName,Variable> getVariables()

getEndpoints

java.util.Map<java.lang.Object,Endpoint> getEndpoints()

getCorrelationGroups

java.util.List<CorrelationGroup> getCorrelationGroups()

findVariable

Variable findVariable(javax.xml.namespace.QName name)
                      throws CoreException
Throws:
CoreException

findBehaviours

<B extends Behaviour> java.util.List<B> findBehaviours(java.lang.Class<B> behaviourClass)
                                                   throws CoreException
Throws:
CoreException

findEndpoint

Endpoint findEndpoint(java.lang.Object key)
                      throws CoreException
Throws:
CoreException

findCorrelationGroups

java.util.List<CorrelationGroup> findCorrelationGroups(java.lang.String name)
                                                       throws CoreException
Throws:
CoreException

setVariable

void setVariable(Variable v)
                 throws CoreException
Throws:
CoreException

getParentScope

Scope getParentScope()
                     throws CoreException
Throws:
CoreException

getProcess

Process getProcess()
                   throws CoreException
Throws:
CoreException

linkInitialNodeAndExecution

void linkInitialNodeAndExecution()
                                 throws CoreException
Throws:
CoreException

unlinkedNodeAndExecution

void unlinkedNodeAndExecution(Node targetNode,
                              Execution execution)
                              throws CoreException
Throws:
CoreException

getExceptions

java.util.Map<Fault,Scope> getExceptions()

setExceptions

void setExceptions(java.util.Map<Fault,Scope> exceptions)

isFaultScope

java.lang.Exception isFaultScope()

setFaultScope

void setFaultScope(java.lang.Exception faultScope)

setTerminationHandler

void setTerminationHandler(TerminationHandler th)

getTerminationHandler

TerminationHandler getTerminationHandler()


Copyright © 2009-2010 eBM WebSourcing. All Rights Reserved.