public abstract class UpToDateStatusProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_UP_TO_DATE
Name of property which should be fired when the up-to-date status changes.
|
Constructor and Description |
---|
UpToDateStatusProvider()
Creates a new instance of MarkProvider
|
Modifier and Type | Method and Description |
---|---|
protected void |
firePropertyChange(String name,
Object old,
Object nue)
Fire property change event to all registered listener.
|
abstract UpToDateStatus |
getUpToDate()
Report whether the current annotations attached to the documents are up-to-date
(the meaning of up-to-date is left on the provider).
|
public static final String PROP_UP_TO_DATE
public UpToDateStatusProvider()
public abstract UpToDateStatus getUpToDate()
UpToDateStatus.UP_TO_DATE_OK
value.UpToDateStatus
enum.UpToDateStatus.UP_TO_DATE_OK
,
UpToDateStatus.UP_TO_DATE_PROCESSING
,
UpToDateStatus.UP_TO_DATE_DIRTY
protected final void firePropertyChange(String name, Object old, Object nue)
PropertyChangeEvent
because property UpToDateStatusProvider.PROP_UP_TO_DATE
have changed.name
- name of the property (UpToDateStatusProvider.PROP_UP_TO_DATE
)old
- previous value of the property or null if unknownnue
- current value of the property or null if unknown