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
- Exception
public 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
- Exception
public static void delete(AllowedResourceTypes type, String[] resourceIDs, org.gcube.common.scope.impl.ScopeBean scope) throws AbstractResourceException
AbstractResourceException
public static final String deploy(org.gcube.common.scope.impl.ScopeBean scope, String[] ghnsID, String[] servicesID) throws Exception
ghnsID
- servicesID
- Exception
public static final void main(String[] args)
Copyright © 2018. All Rights Reserved.