public class TargetWarning
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TargetWarning.WarningType
An enumeration of the the possible warnings.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
TargetWarning(TargetWarning.WarningType type,
java.lang.String message)
Instantiate a warning, given the type of warning and a
message specific to the target.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getWarningMessage()
Gets the warning message specific to this case
|
TargetWarning.WarningType |
getWarningType()
Get the warning type
|
public static final java.lang.String ID
public TargetWarning(TargetWarning.WarningType type, java.lang.String message)
type
- - one of the enumerated warning types.message
- - a warning message specific to the targetpublic TargetWarning.WarningType getWarningType()
public java.lang.String getWarningMessage()
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona