org.openemcee.microflow.usercore
Interface MicroflowData

All Known Implementing Classes:
MicroflowDataImpl

public interface MicroflowData

This interface provides access to the data associated with a microflow.

Author:
Scott Schenkein

Field Summary
static java.lang.String VCS_ID
          Version control info.
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Retrieve data from the microflow by name.
 java.lang.Object setAttribute(java.lang.String name, java.lang.Object obj)
          Set this named attribute in the microflow.
 

Field Detail

VCS_ID

public static final java.lang.String VCS_ID
Version control info.

See Also:
Constant Field Values
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Retrieve data from the microflow by name.

Parameters:
name - The name of the attribute to retrieve.
Returns:
The data represented by the given name, or null of unset.

setAttribute

public java.lang.Object setAttribute(java.lang.String name,
                                     java.lang.Object obj)
Set this named attribute in the microflow. The attribute must be allowed in the job-descriptor XML, or as an init attribute. It throws an unchecked exception if you try to put in an unknown attribute, or your attribute is of the wrong type.

Parameters:
name - The name of the attribute to set/overwrite.
obj - The value of the attribute to set/overwrite.
Returns:
If a value were previously set, it is returned here prior to overwrite.


OpenEmcee Microflow Engine for Java: All software and content contained herein is subject to the Mozilla public license v1.1.
SourceForge.net Logo