public class WorkflowRunEntryHandler extends java.lang.Object implements KAREntryHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowRunEntryHandler.Factory
A factory that creates a KAREntryHandler object.
|
| Constructor and Description |
|---|
WorkflowRunEntryHandler() |
| Modifier and Type | Method and Description |
|---|---|
CacheObject |
cache(KARFile karFile,
KAREntry entry)
This method should return a CacheObject that will be put into the cache.
|
static java.lang.String |
convertStreamToString(java.io.InputStream is) |
java.lang.String |
getTypeName()
The getTypeName() method must return the type of object that this
KAREntryHandler saves.
|
boolean |
handlesType(java.lang.String typeName)
This method should return true if this KAREntryHandler can handle the
specified type.
|
void |
initialize()
The initialize method is called directly after instantiating this
KAREntryHandler.
|
boolean |
open(KARFile karFile,
KAREntry entry,
TableauFrame tableauFrame)
When a KAR file is opened, any entries in the KAR file that have the same
type as this KAREntryHandler will be passed to this open method.
|
static void |
putInObjectManager(WorkflowRun run)
Put run in ObjectManager, removing any previous version.
|
java.util.Hashtable<KAREntry,java.io.InputStream> |
save(java.util.Vector<KeplerLSID> lsids,
KeplerLSID karLsid,
TableauFrame tableauFrame)
Return an array of KAREntry objects that are to be saved for the given
lsids.
|
public WorkflowRunEntryHandler()
public CacheObject cache(KARFile karFile, KAREntry entry) throws java.lang.Exception
KAREntryHandlercache in interface KAREntryHandlerjava.lang.Exceptionpublic java.lang.String getTypeName()
KAREntryHandlergetTypeName in interface KAREntryHandlerpublic boolean handlesType(java.lang.String typeName)
KAREntryHandlerhandlesType in interface KAREntryHandlerpublic void initialize()
KAREntryHandlerinitialize in interface KAREntryHandlerpublic boolean open(KARFile karFile, KAREntry entry, TableauFrame tableauFrame) throws java.lang.Exception
KAREntryHandleropen in interface KAREntryHandlerjava.lang.Exceptionpublic java.util.Hashtable<KAREntry,java.io.InputStream> save(java.util.Vector<KeplerLSID> lsids, KeplerLSID karLsid, TableauFrame tableauFrame) throws java.lang.Exception
KAREntryHandlersave in interface KAREntryHandlerkarLsid - the lsid of the containing KARjava.lang.Exceptionpublic static java.lang.String convertStreamToString(java.io.InputStream is)
is - public static void putInObjectManager(WorkflowRun run)
run -