public class QualifierLabel extends Object
Class contains information whether evaluation was finished successfully and if so, then what label was a result of this evaluation.
| Modifier and Type | Field and Description |
|---|---|
static byte |
STATUS_ERROR
An error occurred during evaluation.
|
static byte |
STATUS_RESTRICTED
Indicates that during evaluation a restricted property has been requested - current user has not enough privileges
to evaluate qualifier.
|
static byte |
STATUS_SUCCESS
Indicates that evaluation has finished successfully and a label is available at
getLabel() method |
| Constructor and Description |
|---|
QualifierLabel(byte status,
String label) |
QualifierLabel(String label) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Returns a label for evaluated nested qualifier's value
|
byte |
getStatus() |
boolean |
isSuccessful() |
public static final byte STATUS_SUCCESS
getLabel() methodpublic static final byte STATUS_RESTRICTED
getLabel() will return appropriate message.public static final byte STATUS_ERROR
getLabel() will return errors message.public QualifierLabel(String label)
public QualifierLabel(byte status,
String label)
public boolean isSuccessful()
true if qualifier's value label evaluation was finished successfullypublic String getLabel()
public byte getStatus()
STATUS_SUCCESS,
STATUS_RESTRICTED,
STATUS_ERRORCopyright © 2018. All rights reserved.