public class PublishWorkflowResource 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 |
|---|
PublishWorkflowResource() |
PublishWorkflowResource(GatewayResource gateway) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
create(ResourceType type)
Since published workflows are at the leaf level of the
data structure, this method is not valid
|
List<Resource> |
get(ResourceType type)
since published workflows are at the leaf level of the
data structure, this method is not valid
|
Resource |
get(ResourceType type,
Object name)
Since published workflows are at the leaf level of the
data structure, this method is not valid
|
String |
getContent() |
String |
getCreatedUser() |
GatewayResource |
getGateway() |
String |
getName() |
String |
getPath() |
Timestamp |
getPublishedDate() |
String |
getVersion() |
boolean |
isExists(ResourceType type,
Object name)
Since published workflows are at the leaf level of the
data structure, this method is not valid
|
void |
remove(ResourceType type,
Object name)
Since published workflows are at the leaf level of the
data structure, this method is not valid
|
void |
save()
save published workflow to the database
|
void |
setContent(String content) |
void |
setCreatedUser(String createdUser) |
void |
setGateway(GatewayResource gateway) |
void |
setName(String name) |
void |
setPath(String path) |
void |
setPublishedDate(Timestamp publishedDate) |
void |
setVersion(String version) |
getResourceListpublic PublishWorkflowResource()
public PublishWorkflowResource(GatewayResource gateway)
gateway - gateway resourcepublic String getCreatedUser()
public String getPath()
public void setCreatedUser(String createdUser)
createdUser - created userpublic void setPath(String path)
path - path of the workflowpublic String getName()
public String getVersion()
public Timestamp getPublishedDate()
public String getContent()
public void setVersion(String version)
version - version of the workflowpublic void setPublishedDate(Timestamp publishedDate)
publishedDate - published date of the workflowpublic void setContent(String content)
content - content of the workflowpublic Resource create(ResourceType type) throws RegistryException
type - type of the child resourceRegistryExceptionpublic void remove(ResourceType type, Object name) throws RegistryException
type - type of the child resourcename - name of the child resourceRegistryExceptionpublic Resource get(ResourceType type, Object name) throws RegistryException
type - type of the child resourcename - name of the child resourceRegistryExceptionpublic List<Resource> get(ResourceType type) throws RegistryException
type - type of the child resourceRegistryExceptionpublic void save()
throws RegistryException
RegistryExceptionpublic boolean isExists(ResourceType type, Object name) throws RegistryException
isExists in interface ResourceisExists in class AbstractResourcetype - type of the child resourcename - name of the child resourceRegistryExceptionpublic GatewayResource getGateway()
public void setGateway(GatewayResource gateway)
gateway - gateway resourcepublic void setName(String name)
name - published workflow nameCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.