public class QosParamResource extends AbstractResource
AbstractResource.AdvancedInputDataHandlingConstants, AbstractResource.AdvancedOutputDataHandlingConstants, AbstractResource.ApplicationDescriptorConstants, AbstractResource.ApplicationInputConstants, AbstractResource.ApplicationOutputConstants, AbstractResource.ComputationalResourceSchedulingConstants, AbstractResource.ConfigurationConstants, AbstractResource.DataTransferDetailConstants, AbstractResource.ErrorDetailConstants, AbstractResource.ExperimentConfigurationDataConstants, AbstractResource.ExperimentConstants, AbstractResource.ExperimentInputConstants, AbstractResource.ExperimentOutputConstants, AbstractResource.GatewayConstants, AbstractResource.GatewayWorkerConstants, AbstractResource.HostDescriptorConstants, AbstractResource.JobDetailConstants, AbstractResource.NodeInputConstants, AbstractResource.NodeOutputConstants, AbstractResource.ProjectConstants, AbstractResource.ProjectUserConstants, AbstractResource.PublishedWorkflowConstants, AbstractResource.QosParamsConstants, AbstractResource.ServiceDescriptorConstants, AbstractResource.StatusConstants, AbstractResource.TaskDetailConstants, AbstractResource.UserConstants, AbstractResource.UserWorkflowConstants, AbstractResource.WorkflowNodeDetailsConstantsADVANCE_INPUT_DATA_HANDLING, ADVANCE_OUTPUT_DATA_HANDLING, APPLICATION_DESCRIPTOR, APPLICATION_INPUT, APPLICATION_OUTPUT, COMPUTATIONAL_RESOURCE_SCHEDULING, CONFIG_DATA, CONFIGURATION, DATA_TRANSFER_DETAIL, ERROR_DETAIL, EXPERIMENT, EXPERIMENT_CONFIG_DATA, EXPERIMENT_INPUT, EXPERIMENT_OUTPUT, GATEWAY, GATEWAY_WORKER, HOST_DESCRIPTOR, JOB_DETAIL, NODE_INPUT, NODE_OUTPUT, PROJECT, PROJECT_USER, PUBLISHED_WORKFLOW, QOS_PARAMS, SERVICE_DESCRIPTOR, STATUS, TASK_DETAIL, USER_WORKFLOW, USERS, WORKFLOW_NODE_DETAIL| Constructor and Description |
|---|
QosParamResource() |
| 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
|
String |
getExecuteBefore() |
ExperimentResource |
getExperimentResource() |
int |
getNoOfRetries() |
int |
getQosId() |
String |
getStartExecutionAt() |
TaskDetailResource |
getTaskDetailResource() |
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 |
setExecuteBefore(String executeBefore) |
void |
setExperimentResource(ExperimentResource experimentResource) |
void |
setNoOfRetries(int noOfRetries) |
void |
setQosId(int qosId) |
void |
setStartExecutionAt(String startExecutionAt) |
void |
setTaskDetailResource(TaskDetailResource taskDetailResource) |
getResourceList, isExistspublic int getQosId()
public void setQosId(int qosId)
public ExperimentResource getExperimentResource()
public void setExperimentResource(ExperimentResource experimentResource)
public TaskDetailResource getTaskDetailResource()
public void setTaskDetailResource(TaskDetailResource taskDetailResource)
public String getStartExecutionAt()
public void setStartExecutionAt(String startExecutionAt)
public String getExecuteBefore()
public void setExecuteBefore(String executeBefore)
public int getNoOfRetries()
public void setNoOfRetries(int noOfRetries)
public Resource create(ResourceType type) throws RegistryException
Resourcetype - child resource typeRegistryExceptionpublic void remove(ResourceType type, Object name) throws RegistryException
Resourcetype - child resource typename - child resource nameRegistryExceptionpublic Resource get(ResourceType type, Object name) throws RegistryException
Resourcetype - child resource typename - child resource nameRegistryExceptionpublic List<Resource> get(ResourceType type) throws RegistryException
Resourcetype - child resource typeRegistryExceptionpublic void save()
throws RegistryException
ResourceRegistryExceptionCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.