org.gcube.application.framework.vremanagement.vremanagement.impl
Class VREGenerator
java.lang.Object
org.gcube.application.framework.vremanagement.vremanagement.impl.VREGenerator
- All Implemented Interfaces:
- VREGeneratorI
public class VREGenerator
- extends java.lang.Object
- implements VREGeneratorI
- Author:
- Massimiliano Assante ISTI-CNR
|
Method Summary |
java.lang.String[] |
checkVREStatus()
|
void |
deployVRE()
|
static ReportList |
getAllVREs(ASLSession session)
|
java.lang.String |
getCollection()
|
java.lang.String[] |
getExistingNamesVREs()
|
java.lang.String |
getFunctionality()
|
java.lang.String |
getGHNs()
|
java.lang.String |
getMetadataRelatedToCollection()
|
java.lang.String |
getQuality()
|
java.lang.String |
getVREepr()
|
java.lang.String |
getVREModel()
|
static void |
removeVRE(ASLSession session,
java.lang.String id)
|
void |
setCollection(java.lang.String[] collections)
|
void |
setFunctionality(java.lang.String[] csIDElement,
java.lang.String[] functionalityIDElement)
|
void |
setGHNs(java.lang.String[] GHNElements,
java.lang.String candidateGHN)
|
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()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VREGenerator
public VREGenerator(ASLSession session,
java.lang.String id)
- Parameters:
session - the d4s sessionepr - the epr
VREGenerator
public VREGenerator(ASLSession session)
- Parameters:
session - the d4s session
getAllVREs
public static ReportList getAllVREs(ASLSession session)
- Parameters:
session - the d4s session
- Returns:
- the VRE names
DONE
removeVRE
public static void removeVRE(ASLSession session,
java.lang.String id)
- Parameters:
session - the d4s sessionid - the id of the VRE to be removed
checkVREStatus
public java.lang.String[] checkVREStatus()
throws java.rmi.RemoteException
-
- Specified by:
checkVREStatus in interface VREGeneratorI
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
deployVRE
public void deployVRE()
throws java.rmi.RemoteException
-
- Specified by:
deployVRE in interface VREGeneratorI
- Throws:
java.rmi.RemoteException
getCollection
public java.lang.String getCollection()
throws java.rmi.RemoteException
-
- Specified by:
getCollection in interface VREGeneratorI
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getGHNs
public java.lang.String getGHNs()
throws java.rmi.RemoteException
-
- Specified by:
getGHNs in interface VREGeneratorI
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getVREModel
public java.lang.String getVREModel()
throws java.rmi.RemoteException
-
- Specified by:
getVREModel in interface VREGeneratorI
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getExistingNamesVREs
public java.lang.String[] getExistingNamesVREs()
-
- Specified by:
getExistingNamesVREs in interface VREGeneratorI
getFunctionality
public java.lang.String getFunctionality()
throws java.rmi.RemoteException
-
- Specified by:
getFunctionality in interface VREGeneratorI
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getMetadataRelatedToCollection
public java.lang.String getMetadataRelatedToCollection()
throws java.rmi.RemoteException
-
- Specified by:
getMetadataRelatedToCollection in interface VREGeneratorI
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getQuality
public java.lang.String getQuality()
throws java.rmi.RemoteException
-
- Specified by:
getQuality in interface VREGeneratorI
- 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 VREGeneratorI
- Parameters:
collections - the collections to be set
- Throws:
java.rmi.RemoteException
setGHNs
public void setGHNs(java.lang.String[] GHNElements,
java.lang.String candidateGHN)
throws java.rmi.RemoteException
-
- Specified by:
setGHNs in interface VREGeneratorI
- Parameters:
GHNElements - the GHNs
- 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 VREGeneratorI
- 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 VREGeneratorI
- 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 VREGeneratorI
- 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 VREGeneratorI
- 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 VREGeneratorI
- Parameters:
quality - the quality
- Throws:
java.rmi.RemoteException
getVREepr
public java.lang.String getVREepr()
-
- Specified by:
getVREepr in interface VREGeneratorI
- Returns: