private class DefaultNominator.RelayedCandidateTask extends TimerTask implements PropertyChangeListener
Modifier and Type | Field and Description |
---|---|
private boolean |
cancelled
If the task has been cancelled.
|
private CandidatePair |
pair
The relayed candidate pair.
|
private static int |
WAIT_TIME
Wait time in milliseconds.
|
Constructor and Description |
---|
RelayedCandidateTask(CandidatePair pair)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancel task.
|
void |
propertyChange(PropertyChangeEvent evt)
Tracks end of checks of the
CheckList . |
void |
run()
Task entry point.
|
scheduledExecutionTime
private static final int WAIT_TIME
private final CandidatePair pair
private boolean cancelled
public RelayedCandidateTask(CandidatePair pair)
pair
- relayed candidate pairpublic void propertyChange(PropertyChangeEvent evt)
CheckList
.propertyChange
in interface PropertyChangeListener
evt
- the eventCopyright © 2018. All rights reserved.