public class WorkflowRunCacheObject extends CacheObject implements java.io.Externalizable
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
log |
_attributes, _lsid, _name, _semanticTypes| Constructor and Description |
|---|
WorkflowRunCacheObject() |
WorkflowRunCacheObject(java.lang.String name,
KeplerLSID lsid,
WorkflowRun run)
Create a WorkflowRunCacheObject from given run, put it into cache and
return the WorkflowRunCacheObject.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttribute(java.lang.String attribute)
get the attribute with the specified name
|
java.lang.Object |
getObject()
create a WorkflowRun from workflowRunString
|
void |
objectAdded()
call back for when this object is added to the cache
|
void |
objectPurged()
call back for when this object is purged by CacheManager
|
void |
objectRemoved()
call back for when this object is removed by the user
|
void |
readExternal(java.io.ObjectInput in) |
void |
setName(java.lang.String name)
set the name
|
void |
writeExternal(java.io.ObjectOutput out) |
addAttribute, getAttributeNames, getLSID, getName, getSemanticTypes, removeAttribute, setLSID, setSemanticTypespublic static final org.apache.commons.logging.Log log
public WorkflowRunCacheObject()
public WorkflowRunCacheObject(java.lang.String name, KeplerLSID lsid, WorkflowRun run) throws java.lang.Exception
run - java.lang.Exceptionpublic java.lang.Object getObject()
getObject in interface CacheObjectInterfacegetObject in class CacheObjectpublic void objectAdded()
objectAdded in interface CacheObjectInterfaceobjectAdded in class CacheObjectpublic void objectRemoved()
objectRemoved in interface CacheObjectInterfaceobjectRemoved in class CacheObjectpublic void objectPurged()
objectPurged in interface CacheObjectInterfaceobjectPurged in class CacheObjectpublic java.lang.String getAttribute(java.lang.String attribute)
CacheObjectgetAttribute in interface CacheObjectInterfacegetAttribute in class CacheObjectpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void setName(java.lang.String name)
CacheObjectsetName in interface CacheObjectInterfacesetName in class CacheObject