|
||||||||||
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(String severity)
Get the status |
void |
setStatus(int value)
Set the status |
void |
setStatus(Report report)
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 IllegalArgumentException
IllegalArgumentException
- If the verbose levelMethod Detail |
---|
public int getStatus(String severity)
severity
- The severity level and above to include when
determining the exit status.
public void setStatus(int value) throws IndexOutOfBoundsException
value
- integer value that would represent the status.
IndexOutOfBoundsException
public void setStatus(Report report)
report
- A Report containing the results of a validaiton run.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |