|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sodius.mdw.core.eval.scripts.ScriptContainer
public abstract class ScriptContainer
Base class for Java script containers.
This class provides access to the evaluation context through the field context.
The evaluation context provides services that helps to build model transformators/generators.
This class also provides asList methods to call from Java code scripts which expects arguments :
self.toString("myScript", asList(aStringValue));
This class is not intended to be subclasses by clients.
| Field Summary | |
|---|---|
static EvaluationContext |
context
Return the current evaluation context. |
| Constructor Summary | |
|---|---|
ScriptContainer()
|
|
| Method Summary | |
|---|---|
static List<Object> |
asList(Object o1)
Creates a new list with the specified argument. |
static List<Object> |
asList(Object o1,
Object o2)
Creates a new list with the specified arguments. |
static List<Object> |
asList(Object o1,
Object o2,
Object o3)
Creates a new list with the specified arguments. |
static List<Object> |
asList(Object o1,
Object o2,
Object o3,
Object o4)
Creates a new list with the specified arguments. |
static List<Object> |
asList(Object o1,
Object o2,
Object o3,
Object o4,
Object o5)
Creates a new list with the specified arguments. |
static List<Object> |
asList(Object o1,
Object o2,
Object o3,
Object o4,
Object o5,
Object o6)
Creates a new list with the specified arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static EvaluationContext context
| Constructor Detail |
|---|
public ScriptContainer()
| Method Detail |
|---|
public static List<Object> asList(Object o1)
self.toString("myScript", asList(aStringValue));
public static List<Object> asList(Object o1,
Object o2)
self.toString("myScript", asList(aStringValue, aBooleanValue));
public static List<Object> asList(Object o1,
Object o2,
Object o3)
self.toString("myScript", asList(aStringValue, aBooleanValue));
public static List<Object> asList(Object o1,
Object o2,
Object o3,
Object o4)
self.toString("myScript", asList(aStringValue, aBooleanValue));
public static List<Object> asList(Object o1,
Object o2,
Object o3,
Object o4,
Object o5)
self.toString("myScript", asList(aStringValue, aBooleanValue));
public static List<Object> asList(Object o1,
Object o2,
Object o3,
Object o4,
Object o5,
Object o6)
self.toString("myScript", asList(aStringValue, aBooleanValue));
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||