public abstract class GCUBEHostingNode extends GCUBEResource
| Modifier and Type | Class and Description |
|---|---|
static class |
GCUBEHostingNode.Package |
static class |
GCUBEHostingNode.Site |
GCUBEResource.AddScopeEvent, GCUBEResource.InvalidScopeException, GCUBEResource.RemoveScopeEvent, GCUBEResource.ResourceConsumer, GCUBEResource.ResourceEvent<PAYLOAD>, GCUBEResource.ResourceTopic| Modifier and Type | Field and Description |
|---|---|
static String |
MAP_PREFIX
The file prefix of service map files.
|
static String |
TYPE
The type of the resource.
|
eventProducer, logger, resourceVersion, type| Constructor and Description |
|---|
GCUBEHostingNode() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<GCUBEHostingNode.Package> |
getDeployedPackages() |
String |
getInfrastructure() |
String |
getLastResourceVersion() |
File |
getMapFile(GCUBEScope scope)
Utility method to return the map file for a given scope;
|
Description |
getNodeDescription() |
GCUBEHostingNode.Site |
getSite() |
void |
setInfrastructure(String description) |
void |
setNodeDescription(Description description) |
void |
setSite(GCUBEHostingNode.Site site) |
Set<GCUBEScope> |
validateAddScopes(GCUBEScope... scopes)
Invoked by
GCUBEResource.addScope(GCUBEScope...), to filter scopes as per
resource-specific scoping rules.By default, it returns its input. |
Set<GCUBEScope> |
validateRemoveScopes(GCUBEScope... scopes)
Invoked by
GCUBEResource.removeScope(GCUBEScope...), to filter scopes as per
resource-specific scoping rules.By default, it returns its input. |
addScope, getID, getResourceVersion, getScopes, getType, inScope, load, removeScope, setID, setLogger, setResourceVersion, store, subscribeResourceEventspublic static final String TYPE
public static final String MAP_PREFIX
public Description getNodeDescription()
public void setNodeDescription(Description description)
public String getInfrastructure()
public void setInfrastructure(String description)
public List<GCUBEHostingNode.Package> getDeployedPackages()
public GCUBEHostingNode.Site getSite()
public void setSite(GCUBEHostingNode.Site site)
public String getLastResourceVersion()
getLastResourceVersion in class GCUBEResourcepublic boolean equals(Object obj)
equals in class GCUBEResourcepublic Set<GCUBEScope> validateAddScopes(GCUBEScope... scopes)
GCUBEResource.addScope(GCUBEScope...), to filter scopes as per
resource-specific scoping rules.By default, it returns its input.validateAddScopes in class GCUBEResourcescopes - the scopes.public File getMapFile(GCUBEScope scope)
scope - the scope.public Set<GCUBEScope> validateRemoveScopes(GCUBEScope... scopes)
GCUBEResource.removeScope(GCUBEScope...), to filter scopes as per
resource-specific scoping rules.By default, it returns its input.validateRemoveScopes in class GCUBEResourcescopes - the scopes.Copyright © 2015. All Rights Reserved.