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 java.lang.Object
- implements VREGeneratorInterface
- Author:
- Massimiliano Assante - ISTI-CNR
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VREGeneratorEvo
public VREGeneratorEvo(ASLSession session,
java.lang.String id)
- Parameters:
session
- the d4s sessionepr
- the epr
VREGeneratorEvo
public VREGeneratorEvo(ASLSession session)
- Parameters:
session
- the d4s session
checkVREStatus
public java.lang.String checkVREStatus()
throws java.rmi.RemoteException
- Specified by:
checkVREStatus
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
deployVRE
public void deployVRE()
throws java.rmi.RemoteException
- Specified by:
deployVRE
in interface VREGeneratorInterface
- Throws:
java.rmi.RemoteException
getCollection
public java.util.List<CollectionType> getCollection()
throws java.rmi.RemoteException
-
- Specified by:
getCollection
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getExistingNamesVREs
public java.lang.String[] getExistingNamesVREs()
- Specified by:
getExistingNamesVREs
in interface VREGeneratorInterface
getFunctionality
public java.util.List<FunctionalityItem> getFunctionality()
throws java.rmi.RemoteException
- Specified by:
getFunctionality
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getGHNs
public java.util.List<GHNType> getGHNs()
throws java.rmi.RemoteException
- Specified by:
getGHNs
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getCollectionsRelatedToMetadata
public java.util.List<MetadataFormatCollectionRelation> getCollectionsRelatedToMetadata()
throws java.rmi.RemoteException
- Specified by:
getCollectionsRelatedToMetadata
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getMetadataFormats
public java.util.List<MetadataFormatItem> getMetadataFormats()
throws java.rmi.RemoteException
- Specified by:
getMetadataFormats
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getMetadataRelatedToCollection
public java.lang.String getMetadataRelatedToCollection()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getQuality
public java.lang.String getQuality()
throws java.rmi.RemoteException
- Specified by:
getQuality
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getVREModel
public VREDescription getVREModel()
throws java.rmi.RemoteException
- first call
- Specified by:
getVREModel
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
setCollection
public void setCollection(java.lang.String[] collections)
throws java.rmi.RemoteException
- Specified by:
setCollection
in interface VREGeneratorInterface
- Parameters:
collections
- the collections to be set
- Throws:
java.rmi.RemoteException
setFunctionality
public void setFunctionality(java.lang.String[] csIDElement,
java.lang.String[] functionalityIDElement)
throws java.rmi.RemoteException
- Specified by:
setFunctionality
in interface VREGeneratorInterface
- Throws:
java.rmi.RemoteException
setGHNs
public void setGHNs(java.lang.String[] selectedGHNIds,
java.lang.String idCandidateGHN)
throws java.rmi.RemoteException
- Specified by:
setGHNs
in interface VREGeneratorInterface
- Parameters:
selectedGHNIds
- the GHNs selectedidCandidateGHN
- the GHNs candidate for VRE Manager
- Throws:
java.rmi.RemoteException
setMetadataRelatedToCollection
public void setMetadataRelatedToCollection(java.lang.String[] collectionIDArray,
boolean[][] checkedArray,
java.lang.String[] mdFormatIDArray)
throws java.rmi.RemoteException
- Specified by:
setMetadataRelatedToCollection
in interface VREGeneratorInterface
- Parameters:
collectionIDArray
- an array containing all the collection IDscheckedArray
- an array containing whether with IDs are checked (probably)mdFormatIDArray
- an array containing
- Throws:
java.rmi.RemoteException
setQuality
public void setQuality(java.lang.String quality)
throws java.rmi.RemoteException
- Specified by:
setQuality
in interface VREGeneratorInterface
- Parameters:
quality
- the quality
- Throws:
java.rmi.RemoteException
setVREModel
public void setVREModel(java.lang.String VREName,
java.lang.String VREDescription,
java.lang.String VREDesigner,
java.lang.String VREManager,
long startTime,
long endTime)
throws java.rmi.RemoteException
- Specified by:
setVREModel
in interface VREGeneratorInterface
- Parameters:
VREName
- the VRE nameVREDescription
- a description for the VREVREDesigner
- the VRE designerVREManager
- the VRE managerstartTime
- start timeendTime
- end time
- Throws:
java.rmi.RemoteException
setVREtoPendingState
public void setVREtoPendingState()
throws java.rmi.RemoteException
- Specified by:
setVREtoPendingState
in interface VREGeneratorInterface
- Throws:
java.rmi.RemoteException
getVREepr
public java.lang.String getVREepr()
-
- Specified by:
getVREepr
in interface VREGeneratorInterface
- Returns:
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