public final class ScopedAnyResource extends ScopedResource
GCUBEResourceScopedResource.ResourceNotFound, ScopedResource.STATUSaction, errorMessage, hostedOn, id, jointTime, lastModificationTime, logger, scope, status, success, type| Modifier | Constructor and Description |
|---|---|
protected |
ScopedAnyResource(String id,
String type,
org.gcube.common.core.scope.GCUBEScope scope) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToScope()
Adds the resource to the scope
|
protected void |
find()
Gets the profile of the Scoped Resource
|
protected void |
removeFromScope()
Removes the resource from the scope
|
doAction, equals, findResource, getAction, getErrorMessage, getHostedOn, getId, getJointTime, getLastModificationTime, getLogger, getMaxFindAttempts, getScope, getStatus, getType, hashCode, isSuccess, noHopeForMe, setErrorMessage, setHostedON, setJointTime, setScope, setStatus, toStringprotected void find()
throws Exception
find in class ScopedResourceException - if the resource was not foundprotected void addToScope()
throws ScopedResource.ResourceNotFound,
Exception
ScopedResourceaddToScope in class ScopedResourceScopedResource.ResourceNotFound - if the resource does not exist in the infrastructureException - if the operation failsprotected void removeFromScope()
throws ScopedResource.ResourceNotFound,
Exception
ScopedResourceremoveFromScope in class ScopedResourceScopedResource.ResourceNotFound - if the resource does not exist in the infrastructureException - if the operation failsCopyright © 2014. All Rights Reserved.