public class ExitStatus extends Object implements ExitStatusType
APPLICATION_ERROR, ERRORS_FOUND, SKIPPED_FILES, SUCCESS, SYSTEM_ERROR, WARNINGS_FOUND
Constructor and Description |
---|
ExitStatus()
Constructor
|
public ExitStatus() throws IllegalArgumentException
IllegalArgumentException
- If the verbose levelpublic 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.Copyright © 2005–2017 Planetary Data System. All rights reserved.