|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.resources.GCUBEResource
org.gcube.common.core.resources.GCUBERunningInstance
public abstract class GCUBERunningInstance
Specifies the behaviour common to all gCUBE services.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gcube.common.core.resources.GCUBEResource |
|---|
GCUBEResource.AddScopeEvent, GCUBEResource.InvalidScopeException, GCUBEResource.RemoveScopeEvent, GCUBEResource.ResourceConsumer, GCUBEResource.ResourceEvent<PAYLOAD>, GCUBEResource.ResourceTopic |
| Field Summary | |
|---|---|
static String |
TYPE
The type of the resource. |
| Fields inherited from class org.gcube.common.core.resources.GCUBEResource |
|---|
eventProducer, logger, resourceVersion, type |
| Constructor Summary | |
|---|---|
GCUBERunningInstance()
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
AccessPoint |
getAccessPoint()
Returns the Access Point info |
HashMap<GCUBEScope,ScopedAccounting> |
getAccounting()
Get the ScopedAccoutingMap |
DeploymentData |
getDeploymentData()
Returns the deploymentInformation of the runninginstance |
String |
getDescription()
Returns the description of the service |
String |
getGHNID()
Returns the ghn id |
String |
getInstanceVersion()
|
String |
getLastResourceVersion()
|
PlatformDescription |
getPlatform()
|
List<RIEquivalenceFunction> |
getRIEquivalenceFunctions()
Returns the RunningInstance Equivalence functions |
List<RunningInstanceSecurity> |
getRunningInstanceSecurity()
Returns the service dependencies. |
String |
getServiceClass()
Return the class of the instance's service. |
String |
getServiceID()
Returns the serviceID |
String |
getServiceName()
Returns the name of the service. |
String |
getSpecificData()
Returns the running Instance specific data |
void |
setAccessPoint(AccessPoint accessPoint)
Sets Access Point info |
void |
setAccounting(HashMap<GCUBEScope,ScopedAccounting> accounting)
Set the ScopedAccounting |
void |
setDeploymentData(DeploymentData data)
Sets the deploymentInformation of the runninginstance |
void |
setDescription(String description)
Sets the description of the service. |
void |
setGHNID(String id)
Sets the ghn id. |
boolean |
setInstanceVersion(String version)
Sets the instance version As the version is a one-time constant, the operation returns successfully from the first invocation only. |
void |
setPlatform(PlatformDescription platform)
|
boolean |
setServiceClass(String clazz)
Sets the class of the service. |
void |
setServiceID(String id)
Sets the serviceID. |
boolean |
setServiceName(String name)
Sets the name of the service. |
void |
setSpecificData(String specificData)
Sets the specific data of the Running Instance. |
| Methods inherited from class org.gcube.common.core.resources.GCUBEResource |
|---|
addScope, getID, getResourceVersion, getScopes, getType, inScope, load, removeScope, setID, setLogger, setResourceVersion, store, subscribeResourceEvents, validateAddScopes, validateRemoveScopes |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
| Constructor Detail |
|---|
public GCUBERunningInstance()
| Method Detail |
|---|
public HashMap<GCUBEScope,ScopedAccounting> getAccounting()
public void setAccounting(HashMap<GCUBEScope,ScopedAccounting> accounting)
The - ScopedAccounting mappublic String getServiceClass()
public boolean setServiceClass(String clazz)
clazz - the class.
true if the class was set, false otherwise.public String getServiceName()
public boolean setServiceName(String name)
name - the name.
true if the name was set, false otherwise.public void setDescription(String description)
description - the description.public String getDescription()
public List<RunningInstanceSecurity> getRunningInstanceSecurity()
public void setDeploymentData(DeploymentData data)
data - deployment data informationpublic DeploymentData getDeploymentData()
public List<RIEquivalenceFunction> getRIEquivalenceFunctions()
public void setAccessPoint(AccessPoint accessPoint)
accessPoint - Access Point infopublic AccessPoint getAccessPoint()
public void setSpecificData(String specificData)
specificData - the datat.public String getSpecificData()
public void setGHNID(String id)
id - the ghn id.public String getGHNID()
public void setServiceID(String id)
id - the serviceID.public String getServiceID()
public String getInstanceVersion()
public boolean setInstanceVersion(String version)
version - the version
true if the class was set, false otherwise.public String getLastResourceVersion()
getLastResourceVersion in class GCUBEResourcepublic void setPlatform(PlatformDescription platform)
platform - the platform to setpublic PlatformDescription getPlatform()
public boolean equals(Object obj)
equals in class GCUBEResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||