public class NodeDataResource extends AbstractResource
AbstractResource.ApplicationDescriptorConstants, AbstractResource.ConfigurationConstants, AbstractResource.ExecutionErrorConstants, AbstractResource.ExperimentConstants, AbstractResource.ExperimentDataConstants, AbstractResource.GatewayConstants, AbstractResource.GatewayWorkerConstants, AbstractResource.GFacJobDataConstants, AbstractResource.GFacJobStatusConstants, AbstractResource.GramDataConstants, AbstractResource.HostDescriptorConstants, AbstractResource.NodeDataConstants, AbstractResource.ProjectConstants, AbstractResource.PublishedWorkflowConstants, AbstractResource.ServiceDescriptorConstants, AbstractResource.UserConstants, AbstractResource.UserWorkflowConstants, AbstractResource.WorkflowDataConstantsAPPLICATION_DESCRIPTOR, CONFIGURATION, EXECUTION_ERROR, EXPERIMENT, EXPERIMENT_DATA, EXPERIMENT_METADATA, GATEWAY, GATEWAY_WORKER, GFAC_JOB_DATA, GFAC_JOB_STATUS, HOST_DESCRIPTOR, PROJECT, PUBLISHED_WORKFLOW, SERVICE_DESCRIPTOR, USER_WORKFLOW, USERS, WORKFLOW_DATA| Constructor and Description |
|---|
NodeDataResource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
create(ResourceType type)
This method will create associate resource objects for the given resource type.
|
List<Resource> |
get(ResourceType type)
This method will list all the child resources for the given resource type
|
Resource |
get(ResourceType type,
Object name)
This method will return the given child resource from the database
|
int |
getExecutionIndex() |
List<Resource> |
getGFacJobs() |
String |
getInputs() |
Timestamp |
getLastUpdateTime() |
String |
getNodeID() |
String |
getNodeType() |
String |
getOutputs() |
Timestamp |
getStartTime() |
String |
getStatus() |
WorkflowDataResource |
getWorkflowDataResource() |
void |
remove(ResourceType type,
Object name)
This method will remove the given child resource from the database
|
void |
save()
This method will save the resource to the database.
|
void |
setExecutionIndex(int executionIndex) |
void |
setInputs(String inputs) |
void |
setLastUpdateTime(Timestamp lastUpdateTime) |
void |
setNodeID(String nodeID) |
void |
setNodeType(String nodeType) |
void |
setOutputs(String outputs) |
void |
setStartTime(Timestamp startTime) |
void |
setStatus(String status) |
void |
setWorkflowDataResource(WorkflowDataResource workflowDataResource) |
getResourceList, isExistspublic WorkflowDataResource getWorkflowDataResource()
public String getNodeID()
public String getNodeType()
public String getInputs()
public String getOutputs()
public String getStatus()
public Timestamp getStartTime()
public Timestamp getLastUpdateTime()
public void setWorkflowDataResource(WorkflowDataResource workflowDataResource)
public void setNodeID(String nodeID)
public void setNodeType(String nodeType)
public void setInputs(String inputs)
public void setOutputs(String outputs)
public void setStatus(String status)
public void setStartTime(Timestamp startTime)
public void setLastUpdateTime(Timestamp lastUpdateTime)
public Resource create(ResourceType type)
Resourcetype - child resource typepublic void remove(ResourceType type, Object name)
Resourcetype - child resource typename - child resource namepublic Resource get(ResourceType type, Object name)
Resourcetype - child resource typename - child resource namepublic List<Resource> get(ResourceType type)
Resourcetype - child resource typepublic void save()
Resourcepublic int getExecutionIndex()
public void setExecutionIndex(int executionIndex)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.