Kie Workbench - Common - Services Backend 6.2.0.Final

org.kie.workbench.common.services.backend.security
Enum KieRoles

java.lang.Object
  extended by java.lang.Enum<KieRoles>
      extended by org.kie.workbench.common.services.backend.security.KieRoles
All Implemented Interfaces:
Serializable, Comparable<KieRoles>, org.jboss.errai.security.shared.api.Role

public enum KieRoles
extends Enum<KieRoles>
implements org.jboss.errai.security.shared.api.Role


Enum Constant Summary
ADMIN
           
ANALYST
           
DEVELOPER
           
KIEMGMT
           
MANAGER
           
USER
           
 
Field Summary
 
Fields inherited from interface org.jboss.errai.security.shared.api.Role
NOBODY
 
Method Summary
 String getName()
           
 String toString()
           
static KieRoles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KieRoles[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADMIN

public static final KieRoles ADMIN

DEVELOPER

public static final KieRoles DEVELOPER

ANALYST

public static final KieRoles ANALYST

USER

public static final KieRoles USER

MANAGER

public static final KieRoles MANAGER

KIEMGMT

public static final KieRoles KIEMGMT
Method Detail

values

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

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

valueOf

public static KieRoles 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

toString

public String toString()
Overrides:
toString in class Enum<KieRoles>

getName

public String getName()
Specified by:
getName in interface org.jboss.errai.security.shared.api.Role

Kie Workbench - Common - Services Backend 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.