public class ManagementUtils extends Object
| Constructor and Description |
|---|
ManagementUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addToExistingScope(AllowedResourceTypes type,
String[] resourceIDs,
org.gcube.common.scope.impl.ScopeBean sourceScope,
org.gcube.common.scope.impl.ScopeBean targetScope)
Applies the add to scope to multiple resources having the same type.
|
static void |
delete(AllowedResourceTypes type,
String[] resourceIDs,
org.gcube.common.scope.impl.ScopeBean scope) |
static String |
deploy(org.gcube.common.scope.impl.ScopeBean 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.scope.impl.ScopeBean sourceScope,
org.gcube.common.scope.impl.ScopeBean targetScope)
Applies the remove from scope
|
public static final String addToExistingScope(AllowedResourceTypes type, String[] resourceIDs, org.gcube.common.scope.impl.ScopeBean sourceScope, org.gcube.common.scope.impl.ScopeBean targetScope) throws Exception
type - resources - sourceScope - targetScope - Exceptionpublic static final String removeFromExistingScope(AllowedResourceTypes type, String[] resourceIDs, org.gcube.common.scope.impl.ScopeBean sourceScope, org.gcube.common.scope.impl.ScopeBean targetScope) throws Exception
type - resources - sourceScope - targetScope - Exceptionpublic static void delete(AllowedResourceTypes type, String[] resourceIDs, org.gcube.common.scope.impl.ScopeBean scope) throws AbstractResourceException
AbstractResourceExceptionpublic static final String deploy(org.gcube.common.scope.impl.ScopeBean scope, String[] ghnsID, String[] servicesID) throws Exception
ghnsID - servicesID - Exceptionpublic static final void main(String[] args)
Copyright © 2016. All Rights Reserved.