org.gcube.application.framework.vremanagement.vremanagement.impl
Class VREGeneratorEvo
java.lang.Object
org.gcube.application.framework.vremanagement.vremanagement.impl.VREGeneratorEvo
- All Implemented Interfaces:
- VREGeneratorInterface
public class VREGeneratorEvo
- extends Object
- implements VREGeneratorInterface
- Author:
- Massimiliano Assante - ISTI-CNR
|
Constructor Summary |
VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session)
|
VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session,
String id)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vreId
protected static AtomicInteger vreId
VREGeneratorEvo
public VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session,
String id)
- Parameters:
session - the d4s sessionepr - the epr
VREGeneratorEvo
public VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session)
- Parameters:
session - the session
isVreModelerServiceUp
public boolean isVreModelerServiceUp()
setVREModel
public void setVREModel(String name,
String desc,
String designer,
String manager,
long startTime,
long endTime)
throws RemoteException
- Specified by:
setVREModel in interface VREGeneratorInterface
- Parameters:
name - the VRE namedesc - a description for the VREdesigner - the VRE designermanager - the VRE managerstartTime - start timeendTime - end time
- Throws:
RemoteException
getVREepr
public String getVREepr()
- Specified by:
getVREepr in interface VREGeneratorInterface
- Returns:
getAllVREs
public List<org.gcube.vremanagement.vremodel.cl.stubs.types.Report> getAllVREs(org.gcube.application.framework.core.session.ASLSession session)
- Parameters:
session - the d4s session
- Returns:
- the VRE names
removeVRE
public void removeVRE(org.gcube.application.framework.core.session.ASLSession session,
String id)
- Parameters:
session - the d4s sessionid - the id of the VRE to be removed
checkVREStatus
public org.gcube.vremanagement.vremodeler.utils.reports.DeployReport checkVREStatus()
throws RemoteException
- Specified by:
checkVREStatus in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
RemoteException
deployVRE
public void deployVRE()
throws RemoteException
- Specified by:
deployVRE in interface VREGeneratorInterface
- Throws:
RemoteException
getExistingNamesVREs
public String[] getExistingNamesVREs()
getSelectedFunctionality
public org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityNodes getSelectedFunctionality()
throws Exception
- Specified by:
getSelectedFunctionality in interface VREGeneratorInterface
- Throws:
Exception
getGHNs
public List<org.gcube.vremanagement.vremodel.cl.stubs.types.GHN> getGHNs()
throws RemoteException
- Specified by:
getGHNs in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
RemoteException
getGHNsPerFunctionality
public org.gcube.vremanagement.vremodel.cl.stubs.types.GHNsPerFunctionality[] getGHNsPerFunctionality()
throws RemoteException
- Specified by:
getGHNsPerFunctionality in interface VREGeneratorInterface
- Returns:
- GHNsPerFunctionality
- Throws:
RemoteException
setFunctionality
public void setFunctionality(Integer[] funcIds,
org.gcube.vremanagement.vremodel.cl.stubs.types.SelectedResourceDescriptionType[] selResDesc)
throws RemoteException
- Specified by:
setFunctionality in interface VREGeneratorInterface
- Throws:
RemoteException
getFunctionality
public List<org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityItem> getFunctionality()
throws Exception
- Specified by:
getFunctionality in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
RemoteException
Exception
getMetadataRelatedToCollection
public String getMetadataRelatedToCollection()
throws RemoteException
- Throws:
RemoteException
getVREModel
public org.gcube.vremanagement.vremodel.cl.stubs.types.VREDescription getVREModel()
throws RemoteException
- first call
- Specified by:
getVREModel in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
RemoteException
setGHNs
public void setGHNs(String[] selectedGHNIds)
throws RemoteException
- Specified by:
setGHNs in interface VREGeneratorInterface
- Parameters:
selectedGHNIds - the GHNs selected
- Throws:
RemoteException
setVREtoPendingState
public void setVREtoPendingState()
throws RemoteException
- Specified by:
setVREtoPendingState in interface VREGeneratorInterface
- Throws:
RemoteException
isCloudAvailable
public boolean isCloudAvailable()
- Specified by:
isCloudAvailable in interface VREGeneratorInterface
isCloudSelected
public boolean isCloudSelected()
- Specified by:
isCloudSelected in interface VREGeneratorInterface
setCloudDeploy
public boolean setCloudDeploy(int virtualMachines)
- Specified by:
setCloudDeploy in interface VREGeneratorInterface
getCloudVMSelected
public int getCloudVMSelected()
- Specified by:
getCloudVMSelected in interface VREGeneratorInterface
Copyright © 2013. All Rights Reserved.