public class ProvKAREntryHandler extends java.lang.Object implements KAREntryHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ProvKAREntryHandler.Factory
A factory that creates a ProvKAREntryHandler object.
|
| Constructor and Description |
|---|
ProvKAREntryHandler()
Construct a new ProvKAREntryHandler.
|
| Modifier and Type | Method and Description |
|---|---|
CacheObject |
cache(KARFile karFile,
KAREntry entry)
Does nothing.
|
java.lang.String |
getTypeName()
Returns null since this is only used for 1.0 KARs.
|
boolean |
handlesType(java.lang.String typeName)
Get the KAR entry type we handle.
|
void |
initialize()
Does nothing.
|
boolean |
open(KARFile karFile,
KAREntry entry,
TableauFrame tableauFrame)
Open a KAR entry for a PROVProvenance.
|
java.util.Hashtable<KAREntry,java.io.InputStream> |
save(java.util.Vector<KeplerLSID> lsids,
KeplerLSID karLsid,
TableauFrame tableauFrame)
Serialize a workflow execution to a KAR entry.
|
static boolean |
setSave(boolean save)
Set if save() should write PROV to the KAR.
|
public ProvKAREntryHandler()
public java.lang.String getTypeName()
getTypeName in interface KAREntryHandlerpublic boolean handlesType(java.lang.String typeName)
handlesType in interface KAREntryHandlerpublic void initialize()
initialize in interface KAREntryHandlerpublic CacheObject cache(KARFile karFile, KAREntry entry) throws java.lang.Exception
cache in interface KAREntryHandlerjava.lang.Exceptionpublic boolean open(KARFile karFile, KAREntry entry, TableauFrame tableauFrame) throws java.lang.Exception
open 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
save in interface KAREntryHandlerkarLsid - the lsid of the containing KARjava.lang.Exceptionpublic static boolean setSave(boolean save)