|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.globus.cog.karajan.workflow.service.RemoteCaller
public class RemoteCaller
Field Summary |
---|
Fields inherited from interface org.globus.cog.karajan.workflow.nodes.FlowElement |
---|
ANNOTATION, CALLER, FILENAME, LINE, TEXT, UID |
Constructor Summary | |
---|---|
RemoteCaller(InstanceContext instanceContext,
int 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 |
event(Event e)
|
void |
failImmediately(VariableStack stack,
String message)
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 |
ProjectNode |
getProjectNode()
|
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteCaller(InstanceContext instanceContext, int uid)
Method Detail |
---|
public void addElement(FlowElement element)
FlowElement
addElement
in interface FlowElement
public void replaceElement(int index, FlowElement element)
FlowElement
replaceElement
in interface FlowElement
public void removeElement(int index)
FlowElement
removeElement
in interface FlowElement
public FlowElement getElement(int index)
FlowElement
getElement
in interface FlowElement
public int elementCount()
FlowElement
elementCount
in interface FlowElement
public List elements()
FlowElement
elements
in interface FlowElement
public void setElementType(String type)
FlowElement
setElementType
in interface FlowElement
public String getElementType()
FlowElement
getElementType
in interface FlowElement
public void setProperty(String name, Object value)
FlowElement
null
setProperty
in interface FlowElement
public void removeProperty(String name)
FlowElement
removeProperty
will have no effect.
removeProperty
in interface FlowElement
public Object getProperty(String name)
FlowElement
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.
getProperty
in interface FlowElement
public boolean hasProperty(String name)
FlowElement
true
if a property with the given name
was set on this element.
hasProperty
in interface FlowElement
public Collection propertyNames()
FlowElement
propertyNames
in interface FlowElement
public void setParent(FlowElement parent)
FlowElement
addElement
, setParent
is
automatically called on the child element with this element as
the argument.
setParent
in interface FlowElement
public FlowElement getParent()
FlowElement
setParent
getParent
in interface FlowElement
public void failImmediately(VariableStack stack, String message) throws ExecutionException
FlowElement
stack
) to fail
failImmediately
in interface FlowElement
ExecutionException
public ProjectNode getProjectNode()
public boolean acceptsInlineText()
FlowElement
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).
acceptsInlineText
in interface FlowElement
public void event(Event e) throws ExecutionException
event
in interface EventListener
ExecutionException
public void setElements(List elements)
setElements
in interface FlowElement
public void setProperties(Map properties)
setProperties
in interface FlowElement
public void addStaticArgument(String name, Object value)
addStaticArgument
in interface FlowElement
public void setStaticArguments(Map args)
setStaticArguments
in interface FlowElement
public Map getStaticArguments()
getStaticArguments
in interface FlowElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |