org.gcube.resourcemanagement.support.shared.operations
Enum SupportedOperations
java.lang.Object
java.lang.Enum<SupportedOperations>
org.gcube.resourcemanagement.support.shared.operations.SupportedOperations
- All Implemented Interfaces:
- Serializable, Comparable<SupportedOperations>
public enum SupportedOperations
- extends Enum<SupportedOperations>
- Author:
- Daniele Strollo (ISTI-CNR)
GHN_SHUTDOWN
public static final SupportedOperations GHN_SHUTDOWN
GHN_RESTART
public static final SupportedOperations GHN_RESTART
GHN_CLEAN_RESTART
public static final SupportedOperations GHN_CLEAN_RESTART
GHN_DELETE
public static final SupportedOperations GHN_DELETE
GHN_FORCE_DELETE
public static final SupportedOperations GHN_FORCE_DELETE
GENERIC_RESOURCE_CREATE
public static final SupportedOperations GENERIC_RESOURCE_CREATE
GENERIC_RESOURCE_EDIT
public static final SupportedOperations GENERIC_RESOURCE_EDIT
GENERIC_RESOURCE_DELETE
public static final SupportedOperations GENERIC_RESOURCE_DELETE
GENERIC_RESOURCE_FORCE_DELETE
public static final SupportedOperations GENERIC_RESOURCE_FORCE_DELETE
RUNTIME_RESOURCE_DELETE
public static final SupportedOperations RUNTIME_RESOURCE_DELETE
RUNTIME_RESOURCE_FORCE_DELETE
public static final SupportedOperations RUNTIME_RESOURCE_FORCE_DELETE
SERVICE_CREATE
public static final SupportedOperations SERVICE_CREATE
SERVICE_DEPLOY
public static final SupportedOperations SERVICE_DEPLOY
SERVICE_GET_REPORT
public static final SupportedOperations SERVICE_GET_REPORT
SERVICE_GET_RESOURCE_BY_ID
public static final SupportedOperations SERVICE_GET_RESOURCE_BY_ID
RUNNING_INSTANCE_UNDEPLOY
public static final SupportedOperations RUNNING_INSTANCE_UNDEPLOY
COLLECTION_DELETE
public static final SupportedOperations COLLECTION_DELETE
COLLECTION_FORCE_DELETE
public static final SupportedOperations COLLECTION_FORCE_DELETE
VIEW_DELETE
public static final SupportedOperations VIEW_DELETE
VIEW_FORCE_DELETE
public static final SupportedOperations VIEW_FORCE_DELETE
ADD_TO_SCOPE
public static final SupportedOperations ADD_TO_SCOPE
SWEEP_GHN
public static final SupportedOperations SWEEP_GHN
CREATE_MENU_SHOW
public static final SupportedOperations CREATE_MENU_SHOW
INFRASTRUCTURE_UPGRADE
public static final SupportedOperations INFRASTRUCTURE_UPGRADE
values
public static SupportedOperations[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SupportedOperations c : SupportedOperations.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SupportedOperations valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getPermissions
public UserGroup[] getPermissions()
isAllowed
public boolean isAllowed(UserGroup permission)
- States if a group is allowed to execute an operation.
- Parameters:
permission
-
- Returns:
Copyright © 2013. All Rights Reserved.