|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowElement
Field Summary | |
---|---|
static String |
ANNOTATION
|
static String |
CALLER
|
static String |
FILENAME
|
static String |
LINE
|
static String |
TEXT
|
static String |
UID
|
Method Summary | |
---|---|
boolean |
acceptsInlineText()
Returns true if the implementation of this element makes use
of inline XML text. |
void |
addElement(FlowElement element)
Adds a child element to this element. |
void |
addStaticArgument(String name,
Object value)
|
int |
elementCount()
Returns the number of child elements for this element |
List |
elements()
Returns the list of child elements |
void |
failImmediately(VariableStack stack,
String string)
Provides means to cause the execution of this element under the given context ( stack ) to fail |
FlowElement |
getElement(int index)
Returns the child element at @param index |
String |
getElementType()
Returns the type of this element |
FlowElement |
getParent()
Retrieves the parent previously set with setParent |
Object |
getProperty(String name)
Retrieves the value of a property. |
Map |
getStaticArguments()
|
boolean |
hasProperty(String name)
Returns true if a property with the given name
was set on this element. |
Collection |
propertyNames()
Returns a collection of all the property names that are set on this element. |
void |
removeElement(int index)
Removes the child element at @param index. |
void |
removeProperty(String name)
Completely removes a property previously set on this element. |
void |
replaceElement(int index,
FlowElement element)
Replaces the child element at @param index with |
void |
setElements(List elements)
|
void |
setElementType(String type)
Sets the element type. |
void |
setParent(FlowElement parent)
Sets the lexical parent of this element. |
void |
setProperties(Map properties)
|
void |
setProperty(String name,
Object value)
Sets a property on this element. |
void |
setStaticArguments(Map args)
|
Methods inherited from interface org.globus.cog.karajan.workflow.events.EventListener |
---|
event |
Field Detail |
---|
static final String UID
static final String LINE
static final String FILENAME
static final String ANNOTATION
static final String TEXT
static final String CALLER
Method Detail |
---|
void addElement(FlowElement element)
FlowElement getElement(int index)
void replaceElement(int index, FlowElement element)
element
- void removeElement(int index)
void setElements(List elements)
int elementCount()
List elements()
void setElementType(String type)
String getElementType()
void setProperty(String name, Object value)
null
void setProperties(Map properties)
void removeProperty(String name)
removeProperty
will have no effect.
Object getProperty(String name)
getProperty
will
return null
. In order to distinguish between
a property with a value of null
and a property
not set, hasProperty
can be used.
boolean hasProperty(String name)
true
if a property with the given name
was set on this element.
Collection propertyNames()
void addStaticArgument(String name, Object value)
void setStaticArguments(Map args)
Map getStaticArguments()
void setParent(FlowElement parent)
addElement
, setParent
is
automatically called on the child element with this element as
the argument.
FlowElement getParent()
setParent
void failImmediately(VariableStack stack, String string) throws ExecutionException
stack
) to fail
ExecutionException
boolean acceptsInlineText()
true
if the implementation of this element makes use
of inline XML text. XML unfortunately does not provide means to separate
relevant inline text from formatting whitespace (which in itself may or may
not be relevant, depending on the context).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |