|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.vtool.status.ExitStatus
public class ExitStatus
Exit Status values
Field Summary |
---|
Fields inherited from interface gov.nasa.pds.vtool.status.ExitStatusType |
---|
APPLICATION_ERROR, ERRORS_FOUND, SKIPPED_FILES, SUCCESS, SYSTEM_ERROR, WARNINGS_FOUND |
Constructor Summary | |
---|---|
ExitStatus()
Constructor |
Method Summary | |
---|---|
int |
getStatus(java.lang.String severity)
Get the status |
void |
setStatus(int value)
Set the status |
void |
setStatus(ValidationRecord record)
Set the status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExitStatus() throws java.lang.IllegalArgumentException
verboseLevel
- The severity level and above to include when
determining the exit status. Valid values are "INFO", "WARNING"
or "ERROR".
java.lang.IllegalArgumentException
- If the verbose levelMethod Detail |
---|
public int getStatus(java.lang.String severity)
severity
- The severity level and above to include when
determining the exit status.
public void setStatus(int value) throws java.lang.IndexOutOfBoundsException
value
- integer value that would represent the status.
java.lang.IndexOutOfBoundsException
public void setStatus(ValidationRecord record)
record
- A ValidationRecord containing the results of a validaiton run.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |