|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.airavata.persistance.registry.jpa.resources.AbstractResource
org.apache.airavata.persistance.registry.jpa.resources.HostDescriptorResource
public class HostDescriptorResource
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class org.apache.airavata.persistance.registry.jpa.resources.AbstractResource |
|---|
APPLICATION_DESCRIPTOR, CONFIGURATION, EXECUTION_ERROR, 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 Summary | |
|---|---|
HostDescriptorResource()
|
|
| Method Summary | |
|---|---|
Resource |
create(ResourceType type)
Host descriptor can create an application descriptor |
List<Resource> |
get(ResourceType type)
Host descriptors can get a list of application descriptors |
Resource |
get(ResourceType type,
Object name)
Host descriptor by alone cannot get any other resource types |
String |
getContent()
|
String |
getGatewayName()
|
String |
getHostDescName()
|
String |
getUserName()
|
boolean |
isExists(ResourceType type,
Object name)
This method will check whether an entry from the given resource type and resource name exists in the database |
List<Resource> |
populate(Object[] keys)
key should be host_descriptor_name |
void |
remove(ResourceType type,
Object name)
Host descriptor by alone cannot remove any other resource types |
void |
save()
save host descriptor to the database |
void |
setContent(String content)
|
void |
setGatewayName(String gatewayName)
|
void |
setHostDescName(String hostDescName)
|
void |
setUserName(String userName)
|
| Methods inherited from class org.apache.airavata.persistance.registry.jpa.resources.AbstractResource |
|---|
getResourceList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HostDescriptorResource()
| Method Detail |
|---|
public String getUserName()
public void setUserName(String userName)
userName - user namepublic String getHostDescName()
public String getGatewayName()
public String getContent()
public void setGatewayName(String gatewayName)
gatewayName - gateway namepublic void setContent(String content)
content - content of the host descriptorpublic Resource create(ResourceType type)
type - child resource type
public void remove(ResourceType type,
Object name)
type - child resource typename - child resource name
public Resource get(ResourceType type,
Object name)
type - child resource typename - child resource name
public List<Resource> populate(Object[] keys)
keys - host descriptor names
public List<Resource> get(ResourceType type)
type - child resource type
public void save()
public boolean isExists(ResourceType type,
Object name)
Resource
isExists in interface ResourceisExists in class AbstractResourcetype - child resource typename - child resource name
public void setHostDescName(String hostDescName)
hostDescName - host descriptor name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||