org.jboss.security.config
Class ControlFlag
java.lang.Object
org.jboss.security.config.ControlFlag
public class ControlFlag
- extends Object
Control Flag for module entries
- Since:
- Aug 2, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
Method Summary |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
Returns the string represented
"required", "requisite" etc |
static ControlFlag |
valueOf(String flag)
Method that returns the correct
Control flag that is associated with the
argument flag, which can be (REQUIRED,
REQUISITE, SUFFICIENT and OPTIONAL) |
REQUIRED
public static final ControlFlag REQUIRED
REQUISITE
public static final ControlFlag REQUISITE
SUFFICIENT
public static final ControlFlag SUFFICIENT
OPTIONAL
public static final ControlFlag OPTIONAL
ControlFlag
public ControlFlag(String flag)
toString
public String toString()
- Returns the string represented
"required", "requisite" etc
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
valueOf
public static ControlFlag valueOf(String flag)
- Method that returns the correct
Control flag that is associated with the
argument flag, which can be (REQUIRED,
REQUISITE, SUFFICIENT and OPTIONAL)
- Parameters:
flag
-
- Returns:
-
- Throws:
IllegalArgumentException
- when flag is
different from the four above
Copyright © 2012 JBoss Inc.. All Rights Reserved.