org.gcube.application.framework.vremanagement.vremanagement
Interface VREGeneratorInterface

All Known Implementing Classes:
VREGeneratorEvo

public interface VREGeneratorInterface


Method Summary
 java.lang.String checkVREStatus()
           
 void deployVRE()
           
 int getCloudVMSelected()
           
 java.util.List<CollectionType> getCollection()
           
 java.util.List<MetadataFormatCollectionRelation> getCollectionsRelatedToMetadata()
           
 java.lang.String[] getExistingNamesVREs()
           
 java.util.List<FunctionalityItem> getFunctionality()
           
 java.util.List<GHNType> getGHNs()
           
 java.util.List<MetadataFormatItem> getMetadataFormats()
           
 java.lang.String getQuality()
           
 java.lang.String getVREepr()
           
 VREDescription getVREModel()
           
 boolean isCloudAvailable()
           
 boolean isCloudSelected()
           
 boolean setCloudDeploy(int virtualMachines)
           
 void setCollection(java.lang.String[] collections)
           
 void setFunctionality(java.lang.String[] csIDElement, java.lang.String[] functionalityIDElement)
           
 void setGHNs(java.lang.String[] selectedGHNIds, java.lang.String idCandidateGHN)
           
 void setMetadataRelatedToCollection(java.lang.String[] collectionIDArray, boolean[][] checkedArray, java.lang.String[] mdFormatIDArray)
           
 void setQuality(java.lang.String quality)
           
 void setVREModel(java.lang.String VREName, java.lang.String VREDescription, java.lang.String VREDesigner, java.lang.String VREManager, long startTime, long endTime)
           
 void setVREtoPendingState()
           
 

Method Detail

getExistingNamesVREs

java.lang.String[] getExistingNamesVREs()

checkVREStatus

java.lang.String checkVREStatus()
                                throws java.rmi.RemoteException
Returns:
what the vVRE modeler returns
Throws:
java.rmi.RemoteException

deployVRE

void deployVRE()
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCollection

java.util.List<CollectionType> getCollection()
                                             throws java.rmi.RemoteException
Returns:
what the vVRE modeler returns
Throws:
java.rmi.RemoteException

getGHNs

java.util.List<GHNType> getGHNs()
                                throws java.rmi.RemoteException
Returns:
what the vVRE modeler returns
Throws:
java.rmi.RemoteException

getVREModel

VREDescription getVREModel()
                           throws java.rmi.RemoteException
Returns:
what the vVRE modeler returns
Throws:
java.rmi.RemoteException

getFunctionality

java.util.List<FunctionalityItem> getFunctionality()
                                                   throws java.rmi.RemoteException
Returns:
what the vVRE modeler returns
Throws:
java.rmi.RemoteException

getMetadataFormats

java.util.List<MetadataFormatItem> getMetadataFormats()
                                                      throws java.rmi.RemoteException
Returns:
what the vVRE modeler returns
Throws:
java.rmi.RemoteException

getCollectionsRelatedToMetadata

java.util.List<MetadataFormatCollectionRelation> getCollectionsRelatedToMetadata()
                                                                                 throws java.rmi.RemoteException
Returns:
what the vVRE modeler returns
Throws:
java.rmi.RemoteException

getQuality

java.lang.String getQuality()
                            throws java.rmi.RemoteException
Returns:
what the vVRE modeler returns
Throws:
java.rmi.RemoteException

setCollection

void setCollection(java.lang.String[] collections)
                   throws java.rmi.RemoteException
Parameters:
collections - the collections to be set
Throws:
java.rmi.RemoteException

setGHNs

void setGHNs(java.lang.String[] selectedGHNIds,
             java.lang.String idCandidateGHN)
             throws java.rmi.RemoteException
Parameters:
selectedGHNIds - the GHNs selected
idCandidateGHN - the GHNs candidate for VRE Manager
Throws:
java.rmi.RemoteException

setVREModel

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
Parameters:
VREName - the VRE name
VREDescription - a description for the VRE
VREDesigner - the VRE designer
VREManager - the VRE manager
startTime - start time
endTime - end time
Throws:
java.rmi.RemoteException

setVREtoPendingState

void setVREtoPendingState()
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setFunctionality

void setFunctionality(java.lang.String[] csIDElement,
                      java.lang.String[] functionalityIDElement)
                      throws java.rmi.RemoteException
Parameters:
csIDElement -
functionalityIDElement -
Throws:
java.rmi.RemoteException

setMetadataRelatedToCollection

void setMetadataRelatedToCollection(java.lang.String[] collectionIDArray,
                                    boolean[][] checkedArray,
                                    java.lang.String[] mdFormatIDArray)
                                    throws java.rmi.RemoteException
Parameters:
collectionIDArray - an array containing all the collection IDs
checkedArray - an array containing whether with IDs are checked (probably)
mdFormatIDArray - an array containing
Throws:
java.rmi.RemoteException

setQuality

void setQuality(java.lang.String quality)
                throws java.rmi.RemoteException
Parameters:
quality - the quality
Throws:
java.rmi.RemoteException

getVREepr

java.lang.String getVREepr()
Returns:

isCloudAvailable

boolean isCloudAvailable()

setCloudDeploy

boolean setCloudDeploy(int virtualMachines)

isCloudSelected

boolean isCloudSelected()

getCloudVMSelected

int getCloudVMSelected()