org.gcube.vremanagement.vremodeler.impl
Class ModelerResource

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
      extended by org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
          extended by org.gcube.common.core.state.GCUBEWSResource
              extended by org.gcube.vremanagement.vremodeler.impl.ModelerResource
All Implemented Interfaces:
org.gcube.common.core.utils.handlers.GCUBEServiceClient, org.globus.wsrf.PersistenceCallback, org.globus.wsrf.Resource, org.globus.wsrf.ResourceLifetime, org.globus.wsrf.ResourceProperties, org.globus.wsrf.TopicListAccessor

public class ModelerResource
extends org.gcube.common.core.state.GCUBEWSResource


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEStatefulResource
org.gcube.common.core.state.GCUBEStatefulResource.LOCK, org.gcube.common.core.state.GCUBEStatefulResource.TaskContext
 
Field Summary
protected static String RP_ID
           
protected static String[] RPNames
           
 
Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource
logger, uuidGen
 
Constructor Summary
ModelerResource()
           
 
Method Summary
 org.gcube.vremanagement.vremodeler.stubs.deployreport.DeployReport getDeployReport()
           
 String getId()
          Returns the id.
 int getNumberOfVMsForCloud()
           
 String[] getPropertyNames()
          
protected  void initialise(Object... args)
           
 boolean isUseCloud()
           
 void setDeployReport(org.gcube.vremanagement.vremodeler.stubs.deployreport.DeployReport deployReport)
           
 void setId(String id)
           
 void setNumberOfVMsForCloud(int numberOfVMsForCloud)
           
 void setUseCloud(boolean isUseCloud)
           
 
Methods inherited from class org.gcube.common.core.state.GCUBEWSResource
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish
 
Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource
getID, getLock, getScheduledTasks, getScope, launchTask, onRemove, setID, setPersistenceDelegate, stopTask, store
 
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
getPortTypeMap, setPortTypeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.wsrf.PersistenceCallback
store
 

Field Detail

RP_ID

protected static final String RP_ID
See Also:
Constant Field Values

RPNames

protected static String[] RPNames
Constructor Detail

ModelerResource

public ModelerResource()
Method Detail

initialise

protected void initialise(Object... args)
                   throws org.globus.wsrf.ResourceException
Specified by:
initialise in class org.gcube.common.core.state.GCUBEWSResource
Throws:
org.globus.wsrf.ResourceException

isUseCloud

public boolean isUseCloud()
Returns:

setUseCloud

public void setUseCloud(boolean isUseCloud)
Parameters:
isUseClound -

getNumberOfVMsForCloud

public int getNumberOfVMsForCloud()

setNumberOfVMsForCloud

public void setNumberOfVMsForCloud(int numberOfVMsForCloud)

getPropertyNames

public String[] getPropertyNames()

Overrides:
getPropertyNames in class org.gcube.common.core.state.GCUBEWSResource

getId

public String getId()
             throws org.globus.wsrf.ResourceException
Returns the id.

Returns:
the id.
Throws:
org.globus.wsrf.ResourceException

setId

public void setId(String id)
           throws org.globus.wsrf.ResourceException
Parameters:
id -
Throws:
org.globus.wsrf.ResourceException

getDeployReport

public org.gcube.vremanagement.vremodeler.stubs.deployreport.DeployReport getDeployReport()

setDeployReport

public void setDeployReport(org.gcube.vremanagement.vremodeler.stubs.deployreport.DeployReport deployReport)


Copyright © 2013. All Rights Reserved.