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, setSemanticTypes
public 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.Exception
public java.lang.Object getObject()
getObject
in interface CacheObjectInterface
getObject
in class CacheObject
public void objectAdded()
objectAdded
in interface CacheObjectInterface
objectAdded
in class CacheObject
public void objectRemoved()
objectRemoved
in interface CacheObjectInterface
objectRemoved
in class CacheObject
public void objectPurged()
objectPurged
in interface CacheObjectInterface
objectPurged
in class CacheObject
public java.lang.String getAttribute(java.lang.String attribute)
CacheObject
getAttribute
in interface CacheObjectInterface
getAttribute
in class CacheObject
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void setName(java.lang.String name)
CacheObject
setName
in interface CacheObjectInterface
setName
in class CacheObject