org.openemcee.microflow.impl
Class MicroflowDataImpl
java.lang.Object
org.openemcee.microflow.impl.MicroflowDataImpl
All Implemented Interfaces: MicroflowData
public class MicroflowDataImpl extends java.lang.Objectimplements MicroflowData
Author:
Scott Schenkein
Method Summary
java.util.Set
getAccessedData ()
java.lang.Object
getAttribute (java.lang.String name)
Retrieve data from the microflow by name.
void
resetAccessedData ()
java.lang.Object
setAttribute (java.lang.String name,
java.lang.Object obj)
Set this named attribute in the microflow.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
MicroflowDataImpl
public MicroflowDataImpl (MicroflowDataDescriptorImpl desc)
Creates a new instance of MicroflowDataImpl
getAccessedData
public java.util.Set getAccessedData ()
resetAccessedData
public void resetAccessedData ()
getAttribute
public java.lang.Object getAttribute (java.lang.String name)
Description copied from interface: MicroflowData
Retrieve data from the microflow by name.
Specified by: getAttribute in interface MicroflowData
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)
Description copied from interface: MicroflowData
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.
Specified by: setAttribute in interface MicroflowData
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.