public class GatewayResource 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 |
|---|
GatewayResource() |
GatewayResource(String gatewayName) |
getResourceListpublic GatewayResource(String gatewayName)
gatewayName - gateway namepublic GatewayResource()
public String getGatewayName()
public void setGatewayName(String gatewayName)
gatewayName - public String getOwner()
public void setOwner(String owner)
owner - owner of the gatewaypublic Resource create(ResourceType type) throws RegistryException
type - resource type of the childrenRegistryExceptionpublic void remove(ResourceType type, Object name) throws RegistryException
type - child resource typename - child resource nameRegistryExceptionpublic Resource get(ResourceType type, Object name) throws RegistryException
type - child resource typename - child resource nameRegistryExceptionpublic List<Resource> get(ResourceType type) throws RegistryException
Resourcetype - child resource typeRegistryExceptionpublic void save()
throws RegistryException
RegistryExceptionpublic boolean isExists(ResourceType type, Object name) throws RegistryException
isExists in interface ResourceisExists in class AbstractResourcetype - child resource typename - name of the child resourceRegistryExceptionpublic boolean isHostDescriptorExists(String descriptorName) throws RegistryException
descriptorName - host descriptor nameRegistryExceptionpublic HostDescriptorResource createHostDescriptorResource(String hostDescriptorName) throws RegistryException
hostDescriptorName - host descriptor nameRegistryExceptionpublic HostDescriptorResource getHostDescriptorResource(String hostDescriptorName) throws RegistryException
hostDescriptorName - host descriptor nameRegistryExceptionpublic void removeHostDescriptor(String descriptorName) throws RegistryException
descriptorName - host descriptor nameRegistryExceptionpublic List<HostDescriptorResource> getHostDescriptorResources() throws RegistryException
RegistryExceptionpublic boolean isServiceDescriptorExists(String descriptorName) throws RegistryException
descriptorName - service descriptor nameRegistryExceptionpublic ServiceDescriptorResource createServiceDescriptorResource(String descriptorName) throws RegistryException
descriptorName - service descriptor nameRegistryExceptionpublic ServiceDescriptorResource getServiceDescriptorResource(String descriptorName) throws RegistryException
descriptorName - service descriptor nameRegistryExceptionpublic void removeServiceDescriptor(String descriptorName) throws RegistryException
descriptorName - Service descriptor nameRegistryExceptionpublic List<ServiceDescriptorResource> getServiceDescriptorResources() throws RegistryException
RegistryExceptionpublic boolean isApplicationDescriptorExists(String descriptorName) throws RegistryException
descriptorName - application descriptor nameRegistryExceptionpublic ApplicationDescriptorResource createApplicationDescriptorResource(String descriptorName) throws RegistryException
descriptorName - application descriptor nameRegistryExceptionpublic ApplicationDescriptorResource getApplicationDescriptorResource(String descriptorName) throws RegistryException
descriptorName - application descriptor nameRegistryExceptionpublic void removeApplicationDescriptor(String descriptorName) throws RegistryException
descriptorName - application descriptor nameRegistryExceptionpublic List<ApplicationDescriptorResource> getApplicationDescriptorResources() throws RegistryException
RegistryExceptionpublic List<ApplicationDescriptorResource> getApplicationDescriptorResources(String serviceName, String hostName) throws RegistryException
serviceName - service descriptor namehostName - host descriptor nameRegistryExceptionpublic boolean isPublishedWorkflowExists(String workflowTemplateName) throws RegistryException
workflowTemplateName - published workflow template nameRegistryExceptionpublic PublishWorkflowResource createPublishedWorkflow(String workflowTemplateName) throws RegistryException
workflowTemplateName - published workflow template nameRegistryExceptionpublic PublishWorkflowResource getPublishedWorkflow(String workflowTemplateName) throws RegistryException
workflowTemplateName - published workflow template nameRegistryExceptionpublic List<PublishWorkflowResource> getPublishedWorkflows() throws RegistryException
RegistryExceptionpublic void removePublishedWorkflow(String workflowTemplateName) throws RegistryException
workflowTemplateName - published workflow template nameRegistryExceptionpublic ExperimentResource createExperiment(String experimentID) throws RegistryException
RegistryExceptionpublic ExperimentResource getExperiment(String expId) throws RegistryException
RegistryExceptionpublic List<ExperimentResource> getExperiments() throws RegistryException
RegistryExceptionCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.