public enum SubjectStatus extends java.lang.Enum<SubjectStatus>
Enum Constant and Description |
---|
Info
Informational message.
|
Limited
One or more of the non-required DataSources for this object are down or have sent an explicit state status message
|
NotMapped
The subject is no longer required for mapping.
|
Ok
The subject's data is valid.
|
Stale
The subject's data may not be valid.
|
Unknown
Indicates that an unknown status code has been supplied.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Gets the integer code for this status
|
static SubjectStatus |
getServiceStatusForCode(int code)
Gets the
ServiceStatus for the specified code. |
static SubjectStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubjectStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubjectStatus Info
public static final SubjectStatus Ok
public static final SubjectStatus Stale
public static final SubjectStatus NotMapped
public static final SubjectStatus Limited
public static final SubjectStatus Unknown
public static SubjectStatus[] values()
for (SubjectStatus c : SubjectStatus.values()) System.out.println(c);
public static SubjectStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SubjectStatus getServiceStatusForCode(int code)
ServiceStatus
for the specified code.code
- The DataSource status code value.ServiceStatus
that corresponds to the specified code, or
Unknown
if an unknown code is specified.public int getCode()
Please send bug reports and comments to Caplin support