protected static class Jobs.JobObjectExecutor extends ExecutorBase
Modifier and Type | Field and Description |
---|---|
protected HashMap |
returnMap |
protected JobDescription[] |
returnValues |
protected Jobs |
thisManager |
_rcsid
Constructor and Description |
---|
Jobs.JobObjectExecutor(Jobs manager,
Jobs.JobObjectDescription[] objectDescriptions)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
execute()
Perform the desired operation.
|
void |
exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
JobDescription[] |
getResults(boolean[] readOnlies,
int inputIndex)
Get the result.
|
protected Jobs thisManager
protected JobDescription[] returnValues
protected HashMap returnMap
public Jobs.JobObjectExecutor(Jobs manager, Jobs.JobObjectDescription[] objectDescriptions)
manager
- is the ToolManager.objectDescriptions
- are the object descriptions.public JobDescription[] getResults(boolean[] readOnlies, int inputIndex)
public Object[] create(ICacheDescription[] objectDescriptions) throws ManifoldCFException
objectDescriptions
- is the set of unique identifier of the object.ManifoldCFException
public void exists(ICacheDescription objectDescription, Object cachedObject) throws ManifoldCFException
objectDescription
- is the unique identifier of the object.cachedObject
- is the cached object.ManifoldCFException
public void execute() throws ManifoldCFException
ManifoldCFException