public class ControlFlag extends Object
Modifier and Type | Field and Description |
---|---|
static ControlFlag |
OPTIONAL |
static ControlFlag |
REQUIRED |
static ControlFlag |
REQUISITE |
static ControlFlag |
SUFFICIENT |
Constructor and Description |
---|
ControlFlag(String flag) |
Modifier and Type | Method and Description |
---|---|
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)
|
public static final ControlFlag REQUIRED
public static final ControlFlag REQUISITE
public static final ControlFlag SUFFICIENT
public static final ControlFlag OPTIONAL
public ControlFlag(String flag)
public String toString()
public static ControlFlag valueOf(String flag)
flag
- IllegalArgumentException
- when flag is
different from the four aboveCopyright © 2019 JBoss by Red Hat. All rights reserved.