Class PluginContext
java.lang.Object
com.atgenomix.seqslab.piper.plugin.api.PluginContext
- All Implemented Interfaces:
Serializable
An object returned when initializing this SeqsLab piper. It stores
PiperContext
and represents a persistent set of plugin-specific properties, which will be passed to registered
operator factory to create the plugin-specific pipeline operators.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal PiperContextAn object used in all operations of a workflow task execution.A persistent set of plugin-specific properties. -
Constructor Summary
ConstructorsConstructorDescriptionPluginContext(PiperContext piperContext) Creates a plugin context object with Seqslab piper context. -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String key) Calls the Hashtable method get.setProperty(String key, Object value) Calls the Hashtable method put.
-
Field Details
-
piper
An object used in all operations of a workflow task execution. -
properties
A persistent set of plugin-specific properties.
-
-
Constructor Details
-
PluginContext
Creates a plugin context object with Seqslab piper context.- Parameters:
piperContext- A PiperContext object.
-
-
Method Details
-
getProperty
Calls the Hashtable method get.- Parameters:
key- The property key.- Returns:
- The value of the specified key.
-
setProperty
Calls the Hashtable method put. The value returned is the result of the Hashtable call to put.- Parameters:
key- The key to be placed into this PluginContext property list.value- The value corresponding to the key.- Returns:
- The result of the Hashtable put call.
-