You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
2.4 KiB
Java

package org.gcube.application.framework.vremanagement.vremanagement;
import java.rmi.RemoteException;
import java.util.List;
import org.gcube.vremanagement.vremodeler.stubs.FunctionalityList;
import org.gcube.vremanagement.vremodeler.stubs.FunctionalityNodes;
import org.gcube.vremanagement.vremodeler.stubs.GHNType;
import org.gcube.vremanagement.vremodeler.stubs.GHNsPerFunctionality;
import org.gcube.vremanagement.vremodeler.stubs.SelectedResourceDescriptionType;
import org.gcube.vremanagement.vremodeler.stubs.VREDescription;
public interface VREGeneratorInterface {
/**
* @return what the vVRE modeler returns
* @throws RemoteException
*/
String checkVREStatus()
throws RemoteException;
/**
* @throws RemoteException
*/
void deployVRE() throws RemoteException;
/**
* @return what the vVRE modeler returns
* @throws RemoteException
*/
List<GHNType> getGHNs() throws RemoteException;
/**
* @return what the vVRE modeler returns
* @throws RemoteException
*/
VREDescription getVREModel() throws RemoteException;
/**
* @return what the vVRE modeler returns
* @throws RemoteException
*/
FunctionalityList getFunctionality() throws Exception;
FunctionalityNodes getSelectedFunctionality() throws Exception;
/**
* @param selectedGHNIds the GHNs selected
* @throws RemoteException
*/
void setGHNs(String[] selectedGHNIds) throws RemoteException;
/**
*
* @return GHNsPerFunctionality
*/
GHNsPerFunctionality[] getGHNsPerFunctionality() throws RemoteException;
/**
* @param VREName the VRE name
* @param VREDescription a description for the VRE
* @param VREDesigner the VRE designer
* @param VREManager the VRE manager
* @param startTime start time
* @param endTime end time
* @throws RemoteException
*/
void setVREModel(String VREName, String VREDescription, String VREDesigner, String VREManager, long startTime, long endTime) throws RemoteException;
/**
* @throws RemoteException
*/
void setVREtoPendingState()
throws RemoteException;
/**
* @param csIDElement
* @param functionalityIDElement
* @throws RemoteException
*/
void setFunctionality(int[] funcIds, SelectedResourceDescriptionType[] selResDesc) throws RemoteException;
/**
* @return
*/
String getVREepr();
boolean isCloudAvailable();
boolean setCloudDeploy(int virtualMachines);
boolean isCloudSelected();
int getCloudVMSelected();
}