public static class AbstractTarget.PickAdapter extends AbstractTarget.Allocation implements HistoryAware.Pick
HistoryAware.Pick interface. All
relevant data is supplied at construct.| Modifier and Type | Field and Description |
|---|---|
private String |
comment
A comment to this observation.
|
private double |
merit
The merit as the target was picked.
|
private static long |
serialVersionUID |
private boolean |
success
The success flag.
|
| Constructor and Description |
|---|
PickAdapter(boolean suc,
Date begin,
long elapse,
String unique,
double pickmerit,
String remark)
Constructs a new pick.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Returns the comment assigned to this pick.
|
double |
getPickMerit()
Returns the merit the target gained at this pick.
|
boolean |
isSuccess()
Returns true if the pick was successful.
|
boolean |
setSuccess(boolean wasgood)
Sets the success flag.
|
String |
toString()
Returns a string version.
|
static String |
toString(HistoryAware.Pick at,
boolean exhaustive)
Returns a string version.
|
compareTo, getDate, getDuration, getUniqueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDate, getDuration, getUniqueprivate static final long serialVersionUID
private boolean success
private final double merit
private final String comment
public PickAdapter(boolean suc,
Date begin,
long elapse,
String unique,
double pickmerit,
String remark)
#changeProgramCompletepublic boolean isSuccess()
isSuccess in interface HistoryAware.Pickpublic boolean setSuccess(boolean wasgood)
setSuccess in interface HistoryAware.Pickpublic double getPickMerit()
getPickMerit in interface HistoryAware.Pickpublic String getComment()
getComment in interface HistoryAware.Pickpublic String toString()
toString in class AbstractTarget.Allocationpublic static String toString(HistoryAware.Pick at, boolean exhaustive)