public class MarkerManagerViolationListener extends java.lang.Object implements ConstraintListener, ViolationListener
Constructor and Description |
---|
MarkerManagerViolationListener(org.apache.log4j.Logger logger,
ConstraintAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
void |
violationAppeared(IViolation violation)
Called if a new violation appeared for the constraint on which the listener is registered.
|
void |
violationDisappeared(IViolation violation)
Called if a violation disappeared for the constraint on which the listener is registered.
|
void |
violationEntryAppeared(IViolation violation,
IEntry entry)
Called if a new entry has appeared for the violation on which the listener is registered.
|
void |
violationEntryDisappeared(IViolation violation,
IEntry entry)
Called if an entry has disappeared for the violation on which the listener is registered.
|
void |
violationMessageUpdated(IViolation violation)
Called if the message has been updated for the violation on which the listener is registered.
|
public MarkerManagerViolationListener(org.apache.log4j.Logger logger, ConstraintAdapter adapter)
public void violationAppeared(IViolation violation)
ConstraintListener
violationAppeared
in interface ConstraintListener
violation
- The violation which appeared.public void violationDisappeared(IViolation violation)
ConstraintListener
violationDisappeared
in interface ConstraintListener
violation
- The violation which disappeared.public void violationEntryAppeared(IViolation violation, IEntry entry)
ViolationListener
violationEntryAppeared
in interface ViolationListener
violation
- The violation for which the new entry appeared.entry
- The new entry which appeared.public void violationMessageUpdated(IViolation violation)
ViolationListener
violationMessageUpdated
in interface ViolationListener
violation
- The violation for which the messaged has been updated.public void violationEntryDisappeared(IViolation violation, IEntry entry)
ViolationListener
violationEntryDisappeared
in interface ViolationListener
violation
- The violation for which the entry disappeared.entry
- The entry which disappeared.