fr.cnes.sitools.common.model
Enum Category

java.lang.Object
  extended by java.lang.Enum<Category>
      extended by fr.cnes.sitools.common.model.Category
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Category>

public enum Category
extends java.lang.Enum<Category>

Enumeration for Application category designed for separating usage between

Author:
jp.boignard (AKKA Technologies)

Enum Constant Summary
ADMIN
          Administration applications allows to modify state of Sitools2 after starts
ADMIN_DYNAMIC
          Dynamic admin-side applications (e.g.
PUBLIC
          Public applications with low security (no bad credentials check)
SYSTEM
          System applications are mandatory for Sitools2 start
SYSTEM_DYNAMIC
          Dynamic system applications (e.g.
USER
          User applications allows to use all functions available in Sitools2
USER_DYNAMIC
          Dynamic user-side applications (e.g. datasets)
 
Method Summary
static Category valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Category[] 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

SYSTEM

public static final Category SYSTEM
System applications are mandatory for Sitools2 start


ADMIN

public static final Category ADMIN
Administration applications allows to modify state of Sitools2 after starts


USER

public static final Category USER
User applications allows to use all functions available in Sitools2


SYSTEM_DYNAMIC

public static final Category SYSTEM_DYNAMIC
Dynamic system applications (e.g. DBExplorer)


ADMIN_DYNAMIC

public static final Category ADMIN_DYNAMIC
Dynamic admin-side applications (e.g. Datasources)


USER_DYNAMIC

public static final Category USER_DYNAMIC
Dynamic user-side applications (e.g. datasets)


PUBLIC

public static final Category PUBLIC
Public applications with low security (no bad credentials check)

Method Detail

values

public static Category[] 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 (Category c : Category.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Category valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010-2013 CNES. All Rights Reserved.