org.gcube.vremanagement.resourcemanager.impl.resources
Class ScopedRunningInstance
java.lang.Object
org.gcube.vremanagement.resourcemanager.impl.resources.ScopedResource
org.gcube.vremanagement.resourcemanager.impl.resources.ScopedRunningInstance
public final class ScopedRunningInstance
- extends ScopedResource
A scoped GCUBERunningInstance
- Author:
- Manuele Simi (ISTI-CNR)
Field Summary |
static java.lang.String |
TYPE
|
Methods inherited from class org.gcube.vremanagement.resourcemanager.impl.resources.ScopedResource |
doAction, equals, findResource, getAction, getErrorMessage, getHostedOn, getId, getJointTime, getLastModificationTime, getScope, getStatus, getType, hashCode, isSuccess, setErrorMessage, setHostedON, setJointTime, setStatus, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
isUndeployNeeded
public boolean isUndeployNeeded()
throws ScopedResource.ResourceNotFound
- Throws:
ScopedResource.ResourceNotFound
getHostedOnID
public java.lang.String getHostedOnID()
- Returns:
- the ID of the gHN hosting the instance
reportFailureOnSourceService
public void reportFailureOnSourceService(java.lang.String message,
java.lang.Exception e)
wasSuccessful
public void wasSuccessful()