|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.neu.ccs.demeter.aplib.sg.Strategy
|
+--edu.neu.ccs.demeter.dj.Strategy
A strategy determining a set of paths through a class graph or a slice of an object graph.
| Constructor Summary | |
Strategy(Reader in)
Parse a strategy expression from a char stream. |
|
Strategy(Reader in,
Map env)
Parse a strategy expression from a char stream. |
|
Strategy(String s)
Parse a strategy expression from a string. |
|
Strategy(String s,
Map env)
Parse a strategy expression from a string. |
|
| Method Summary | |
Set |
getSourceNames()
An unmodifiable set of symbolic names that the source nodes in the strategy graph map to, or null if the strategy can start at any class graph node. |
Set |
getTargetNames()
An unmodifiable set of symbolic names that the target nodes in the strategy graph map to, or null if the strategy can finish at any class graph node. |
static String |
getVersion()
The DJ version string. |
boolean |
isSimpleStrategy()
|
boolean |
isStrategyCombination()
|
SimpleStrategyI |
toSimpleStrategy()
|
StrategyCombinationI |
toStrategyCombination()
|
String |
toString()
|
| Methods inherited from class edu.neu.ccs.demeter.aplib.sg.Strategy |
__trav_attachEnv, clone, fromString, fromString, readFrom, readFrom, readFrom, readFrom |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Strategy(Reader in)
throws StrategyParseException
public Strategy(String s)
throws StrategyParseException
public Strategy(Reader in,
Map env)
throws StrategyParseException
public Strategy(String s,
Map env)
throws StrategyParseException
| Method Detail |
public static String getVersion()
public boolean isSimpleStrategy()
isSimpleStrategy in interface StrategyIisSimpleStrategy in class Strategypublic SimpleStrategyI toSimpleStrategy()
toSimpleStrategy in interface StrategyItoSimpleStrategy in class Strategypublic boolean isStrategyCombination()
isStrategyCombination in interface StrategyIisStrategyCombination in class Strategypublic StrategyCombinationI toStrategyCombination()
toStrategyCombination in interface StrategyItoStrategyCombination in class Strategypublic Set getSourceNames()
getSourceNames in class Strategypublic Set getTargetNames()
getTargetNames in class Strategypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||