org.gcube.vremanagement.resourcemanager.impl.resources
Class ScopedGHN
java.lang.Object
org.gcube.vremanagement.resourcemanager.impl.resources.ScopedResource
org.gcube.vremanagement.resourcemanager.impl.resources.ScopedGHN
public class ScopedGHN
- extends ScopedResource
Models a scoped GCUBEHostingNode
- Author:
- Manuele Simi (ISTI-CNR)
| Fields inherited from class org.gcube.vremanagement.resourcemanager.impl.resources.ScopedResource |
action, errorMessage, hostedOn, id, jointTime, lastModificationTime, logger, scope, status, success, type |
|
Constructor Summary |
protected |
ScopedGHN(String id,
org.gcube.common.core.scope.GCUBEScope scope)
|
|
Method Summary |
protected void |
addToScope()
Adds the resource to the scope |
protected void |
find()
Custom |
protected void |
removeFromScope()
Removes the resource from the scope |
| Methods inherited from class org.gcube.vremanagement.resourcemanager.impl.resources.ScopedResource |
doAction, equals, findResource, getAction, getErrorMessage, getHostedOn, getId, getJointTime, getLastModificationTime, getLogger, getMaxFindAttempts, getScope, getStatus, getType, hashCode, isSuccess, noHopeForMe, setErrorMessage, setHostedON, setJointTime, setScope, setStatus, toString |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
ScopedGHN
protected ScopedGHN(String id,
org.gcube.common.core.scope.GCUBEScope scope)
addToScope
protected void addToScope()
throws ScopedResource.ResourceNotFound,
Exception
- Description copied from class:
ScopedResource
- Adds the resource to the scope
- Specified by:
addToScope in class ScopedResource
- Throws:
ScopedResource.ResourceNotFound - if the resource does not exist in the infrastructure
Exception - if the operation fails
find
protected void find()
throws Exception
- Description copied from class:
ScopedResource
- Custom
- Specified by:
find in class ScopedResource
- Throws:
ScopedResource.ResourceNotFound - if it is impossible to locate the resource
Exception
removeFromScope
protected void removeFromScope()
throws ScopedResource.ResourceNotFound,
Exception
- Description copied from class:
ScopedResource
- Removes the resource from the scope
- Specified by:
removeFromScope in class ScopedResource
- Throws:
ScopedResource.ResourceNotFound - if the resource does not exist in the infrastructure
Exception - if the operation fails
Copyright © 2012. All Rights Reserved.