org.gcube.common.core.resources
Class GCUBERuntimeResource

java.lang.Object
  extended by org.gcube.common.core.resources.GCUBEResource
      extended by org.gcube.common.core.resources.GCUBERuntimeResource
Direct Known Subclasses:
KRuntimeResource

public abstract class GCUBERuntimeResource
extends GCUBEResource

Specifies the behavior of a Runtime Resource

Author:
Manuele Simi (ISTI-CNR)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.resources.GCUBEResource
GCUBEResource.AddScopeEvent, GCUBEResource.InvalidScopeException, GCUBEResource.RemoveScopeEvent, GCUBEResource.ResourceConsumer, GCUBEResource.ResourceEvent<PAYLOAD>, GCUBEResource.ResourceTopic
 
Field Summary
protected  List<AccessPoint> accessPoints
          Data specific to the instance's service.
static String TYPE
          The type of the resource.
 
Fields inherited from class org.gcube.common.core.resources.GCUBEResource
eventProducer, logger, resourceVersion, type
 
Constructor Summary
GCUBERuntimeResource()
          Creates a new instance.
 
Method Summary
 List<AccessPoint> getAccessPoints()
           
 String getCategory()
           
 String getDescription()
           
 String getGHN()
           
 String getHostedOn()
           
 String getName()
           
 PlatformDescription getPlatform()
           
 String getStatus()
           
 String getVersion()
           
 void setAccessPoints(List<AccessPoint> accessPoints)
           
 void setCategory(String category)
           
 void setDescription(String description)
           
 void setGHN(String ghn)
           
 void setHostedOn(String hostedOn)
           
 void setName(String name)
           
 void setPlatform(PlatformDescription platform)
           
 void setStatus(String status)
           
 void setVersion(String version)
           
 
Methods inherited from class org.gcube.common.core.resources.GCUBEResource
addScope, equals, getID, getLastResourceVersion, getResourceVersion, getScopes, getType, inScope, load, removeScope, setID, setLogger, setResourceVersion, store, subscribeResourceEvents, validateAddScopes, validateRemoveScopes
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
The type of the resource.

See Also:
Constant Field Values

accessPoints

protected List<AccessPoint> accessPoints
Data specific to the instance's service.

Constructor Detail

GCUBERuntimeResource

public GCUBERuntimeResource()
Creates a new instance.

Method Detail

getDescription

public String getDescription()
Returns:
the description

setDescription

public void setDescription(String description)
Parameters:
description - the description to set

getGHN

public String getGHN()
Returns:
the ghn

setGHN

public void setGHN(String ghn)
Parameters:
ghn - the ghn to set

getHostedOn

public String getHostedOn()
Returns:
the hostedOn

setHostedOn

public void setHostedOn(String hostedOn)
Parameters:
hostedOn - the hostedOn to set

getStatus

public String getStatus()
Returns:
the status

setStatus

public void setStatus(String status)
Parameters:
status - the status to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getAccessPoints

public List<AccessPoint> getAccessPoints()
Returns:
the accessPoints

setAccessPoints

public void setAccessPoints(List<AccessPoint> accessPoints)
Parameters:
accessPoints - the accessPoints to set

getVersion

public String getVersion()
Returns:
the version

setVersion

public void setVersion(String version)
Parameters:
version - the version to set

getPlatform

public PlatformDescription getPlatform()
Returns:
the platform

setPlatform

public void setPlatform(PlatformDescription platform)
Parameters:
platform - the platform to set

getCategory

public String getCategory()
Returns:
the category

setCategory

public void setCategory(String category)
Parameters:
category - the category to set


Copyright © 2012. All Rights Reserved.