public class ConfigurationResource 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 |
|---|
ConfigurationResource() |
ConfigurationResource(String configKey,
String configVal) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
create(ResourceType type)
Since Configuration does not depend on any other data structures at the
system, this method is not valid
|
List<Resource> |
get(ResourceType type)
Since Configuration does not depend on any other data structures at the
system, this method is not valid
|
Resource |
get(ResourceType type,
Object name)
Since Configuration does not depend on any other data structures at the
system, this method is not valid
|
String |
getCategoryID() |
String |
getConfigVal() |
boolean |
isExists(ResourceType type,
Object name)
Since Configuration does not depend on any other data structures at the
system, this method is not valid
|
void |
remove(ResourceType type,
Object name)
Since Configuration does not depend on any other data structures at the
system, this method is not valid
|
void |
save()
save configuration to database
|
void |
setCategoryID(String categoryID) |
void |
setConfigKey(String configKey) |
void |
setConfigVal(String configVal) |
void |
setExpireDate(Timestamp expireDate) |
getResourceListpublic Resource create(ResourceType type) throws RegistryException
type - child resource typesRegistryExceptionpublic void remove(ResourceType type, Object name) throws RegistryException
type - child resource typesname - name of the child resource
throws UnsupportedOperationExceptionRegistryExceptionpublic Resource get(ResourceType type, Object name) throws RegistryException
type - child resource typesname - name of the child resourceRegistryExceptionpublic List<Resource> get(ResourceType type) throws RegistryException
type - child resource typesRegistryExceptionpublic void setExpireDate(Timestamp expireDate)
expireDate - expire date of the configurationpublic void save()
throws RegistryException
RegistryExceptionpublic boolean isExists(ResourceType type, Object name)
isExists in interface ResourceisExists in class AbstractResourcetype - child resource typesname - of the child resourcepublic String getConfigVal()
public void setConfigKey(String configKey)
configKey - configuration keypublic void setConfigVal(String configVal)
configVal - configuration valuepublic String getCategoryID()
public void setCategoryID(String categoryID)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.