Package adams.flow.execution.debug
Class DebugScopeRestrictionHelper
- java.lang.Object
-
- adams.flow.execution.debug.DebugScopeRestrictionHelper
-
public class DebugScopeRestrictionHelper extends Object
Helper class for scope restrictions.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description DebugScopeRestrictionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractScopeRestrictiongetDebugScopeRestriction(Actor actor)Goes up in the flow locating the firstDebugScopeRestrictionHandlerto determine any different scope restrictions.static AbstractScopeRestrictiongetDebugScopeRestriction(Node node)Goes up in the flow locating the firstDebugScopeRestrictionHandlerto determine any different scope restrictions.
-
-
-
Method Detail
-
getDebugScopeRestriction
public static AbstractScopeRestriction getDebugScopeRestriction(Actor actor)
Goes up in the flow locating the firstDebugScopeRestrictionHandlerto determine any different scope restrictions.- Parameters:
actor- the actor to start with- Returns:
- the scope restriction, default is
NoScopeRestriction
-
getDebugScopeRestriction
public static AbstractScopeRestriction getDebugScopeRestriction(Node node)
Goes up in the flow locating the firstDebugScopeRestrictionHandlerto determine any different scope restrictions.- Parameters:
node- the node to start with- Returns:
- the scope restriction, default is
NoScopeRestriction
-
-