public class WorkflowDataResource 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.WorkflowDataConstants| Modifier and Type | Field and Description |
|---|---|
static String |
EXECUTION_ERROR |
static String |
GRAM_DATA |
static String |
NODE_DATA |
APPLICATION_DESCRIPTOR, CONFIGURATION, 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 |
|---|
WorkflowDataResource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
create(ResourceType type)
This method will create associate resource objects for the given resource type.
|
GramDataResource |
createGramData(String nodeId) |
NodeDataResource |
createNodeData(String nodeId) |
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
|
String |
getExperimentID() |
List<Resource> |
getGFacJobs() |
List<GramDataResource> |
getGramData() |
GramDataResource |
getGramData(String nodeId) |
Timestamp |
getLastUpdatedTime() |
List<NodeDataResource> |
getNodeData() |
NodeDataResource |
getNodeData(String nodeId) |
Timestamp |
getStartTime() |
String |
getStatus() |
String |
getTemplateName() |
String |
getWorkflowInstanceID() |
boolean |
isGramDataExists(String nodeId) |
boolean |
isNodeExists(String nodeId) |
void |
remove(ResourceType type,
Object name)
This method will remove the given child resource from the database
|
void |
removeGramData(String nodeId) |
void |
removeNodeData(String nodeId) |
void |
save()
This method will save the resource to the database.
|
void |
setExperimentID(String experimentID) |
void |
setLastUpdatedTime(Timestamp lastUpdatedTime) |
void |
setStartTime(Timestamp startTime) |
void |
setStatus(String status) |
void |
setTemplateName(String templateName) |
void |
setWorkflowInstanceID(String workflowInstanceID) |
getResourceList, isExistspublic static final String NODE_DATA
public static final String GRAM_DATA
public static final String EXECUTION_ERROR
public String getExperimentID()
public String getWorkflowInstanceID()
public String getTemplateName()
public String getStatus()
public void setExperimentID(String experimentID)
public void setWorkflowInstanceID(String workflowInstanceID)
public void setTemplateName(String templateName)
public void setStatus(String status)
public Timestamp getStartTime()
public Timestamp getLastUpdatedTime()
public void setStartTime(Timestamp startTime)
public void setLastUpdatedTime(Timestamp lastUpdatedTime)
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 boolean isNodeExists(String nodeId)
public boolean isGramDataExists(String nodeId)
public NodeDataResource getNodeData(String nodeId)
public GramDataResource getGramData(String nodeId)
public List<NodeDataResource> getNodeData()
public List<GramDataResource> getGramData()
public NodeDataResource createNodeData(String nodeId)
public GramDataResource createGramData(String nodeId)
public void removeNodeData(String nodeId)
public void removeGramData(String nodeId)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.