|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.resourcemanagement.support.server.managers.resources.ManagementUtils
public class ManagementUtils
A support class containing operations to manage multiple resources. Here are provided the functionalities to delete/addToScope/deploy groups of homogeneous resources.
Constructor Summary | |
---|---|
ManagementUtils()
|
Method Summary | |
---|---|
static String |
addToExistingScope(AllowedResourceTypes type,
String[] resourceIDs,
org.gcube.common.core.scope.GCUBEScope sourceScope,
org.gcube.common.core.scope.GCUBEScope targetScope)
Applies the add to scope to multiple resources having the same type. |
static void |
delete(AllowedResourceTypes type,
String[] resourceIDs,
org.gcube.common.core.scope.GCUBEScope scope)
|
static String |
deploy(org.gcube.common.core.scope.GCUBEScope scope,
String[] ghnsID,
String[] servicesID)
Makes the deployment of software on a list of ghns. |
static void |
main(String[] args)
|
static String |
removeFromExistingScope(AllowedResourceTypes type,
String[] resourceIDs,
org.gcube.common.core.scope.GCUBEScope sourceScope,
org.gcube.common.core.scope.GCUBEScope targetScope)
Applies the add to scope to multiple resources having the same type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManagementUtils()
Method Detail |
---|
public static final String addToExistingScope(AllowedResourceTypes type, String[] resourceIDs, org.gcube.common.core.scope.GCUBEScope sourceScope, org.gcube.common.core.scope.GCUBEScope targetScope) throws Exception
type
- resources
- sourceScope
- targetScope
-
Exception
public static final String removeFromExistingScope(AllowedResourceTypes type, String[] resourceIDs, org.gcube.common.core.scope.GCUBEScope sourceScope, org.gcube.common.core.scope.GCUBEScope targetScope) throws Exception
type
- resources
- sourceScope
- targetScope
-
Exception
public static void delete(AllowedResourceTypes type, String[] resourceIDs, org.gcube.common.core.scope.GCUBEScope scope) throws AbstractResourceException
AbstractResourceException
public static final String deploy(org.gcube.common.core.scope.GCUBEScope scope, String[] ghnsID, String[] servicesID) throws Exception
ghnsID
- servicesID
-
Exception
public static final void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |