public abstract class GCUBERunningInstance extends GCUBEResource
GCUBEResource.AddScopeEvent, GCUBEResource.InvalidScopeException, GCUBEResource.RemoveScopeEvent, GCUBEResource.ResourceConsumer, GCUBEResource.ResourceEvent<PAYLOAD>, GCUBEResource.ResourceTopic| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE
The type of the resource.
|
eventProducer, logger, resourceVersion, type| Constructor and Description |
|---|
GCUBERunningInstance()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addScope, getID, getResourceVersion, getScopes, getType, inScope, load, removeScope, setID, setLogger, setResourceVersion, store, subscribeResourceEvents, validateAddScopes, validateRemoveScopespublic static final String TYPE
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 versiontrue 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 GCUBEResourceCopyright © 2015. All Rights Reserved.