|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<QueryPath>
org.gcube.vremanagement.resourcebroker.impl.support.queries.QueryPath
public enum QueryPath
| Enum Constant Summary | |
|---|---|
COUNT_RI_ON_DYNAMIC_ALIVE_GHN
Returns the set of GHNs and the number of RI allocated on them. |
|
COUNT_RI_ON_DYNAMIC_ALIVE_GHN_BY_ID
Returns the information of a GHN and the number of RI allocated on it. |
|
GET_GHN_FOR_RI
Given a RI unique ID retrieves the GHN ID on which it is running. |
|
GET_SERVICE_REQS
Given a quintuple representing a package to deploy of the form: |
|
| Method Summary | |
|---|---|
java.io.InputStream |
getFileName()
|
static QueryPath |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QueryPath[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final QueryPath COUNT_RI_ON_DYNAMIC_ALIVE_GHN
Params: MAXWAIT an integer representing the max minutes elapsed from the last update that have to be considered, the other GHNs will be excluded.
Returns tuples of elements of the form:
<RIONGHN>
<ID>b82e4460-1d85-11df-8246-af2e4af0f652</ID>
<AllocatedRI>4</AllocatedRI>
<LastUpdate>2010-02-23T15:08:05+01:00</LastUpdate>
<UpdateMinutesElapsed>2</UpdateMinutesElapsed>
</RIONGHN>
public static final QueryPath COUNT_RI_ON_DYNAMIC_ALIVE_GHN_BY_ID
Params:
MAXWAIT an integer representing the max minutes elapsed from
the last update that have to be considered, the other GHNs will be excluded.
PARAM_GHNID the ID of GHN.
Returns a tuple (if exists) of the form:
<RIONGHN>
<GHNID>b82e4460-1d85-11df-8246-af2e4af0f652</GHNID>
<AllocatedRI>4</AllocatedRI>
<LastUpdate>2010-02-23T15:08:05+01:00</LastUpdate>
<UpdateMinutesElapsed>2</UpdateMinutesElapsed>
</RIONGHN>
public static final QueryPath GET_GHN_FOR_RI
Given a RI unique ID retrieves the GHN ID on which it is running. Requires a parameter .
Params:
RI_ID corresponding to the unique ID of retrieved RunningInstance.
Returns a tuple (if exists) of the form:
<RunningInstance>
<RiID>ffc03e80-1fa8-11df-a7f2-82c9a6c0f9ae</RiID>
<GHNID>da5e2300-126a-11df-9d89-bc30db7399aa</GHNID>
</RunningInstance>
public static final QueryPath GET_SERVICE_REQS
<Package reuse="true">
<ServiceClass>PkgServiceClass</ServiceClass>
<ServiceName>PkgServiceName</ServiceName>
<ServiceVersion>PkgServiceVersion</ServiceVersion>
<PackageName>PkgPackageName</PackageName>
<PackageVersion>PkgPackageVersion</PackageVersion>
</Package>
it retrieves from the IS the list of all service corresponding to these.
Parameters:
| Method Detail |
|---|
public static QueryPath[] values()
for (QueryPath c : QueryPath.values()) System.out.println(c);
public static QueryPath valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.io.InputStream getFileName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||