Interface ViolationListener
-
- All Known Implementing Classes:
MarkerManagerViolationListener
public interface ViolationListener
Interface for listening for notifications on specific events regarding a violation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
violationEntryAppeared
void violationEntryAppeared(IViolation violation, IEntry entry)
Called if a new entry has appeared for the violation on which the listener is registered.- Parameters:
violation
- The violation for which the new entry appeared.entry
- The new entry which appeared.
-
violationMessageUpdated
void violationMessageUpdated(IViolation violation)
Called if the message has been updated for the violation on which the listener is registered.- Parameters:
violation
- The violation for which the messaged has been updated.
-
violationEntryDisappeared
void violationEntryDisappeared(IViolation violation, IEntry entry)
Called if an entry has disappeared for the violation on which the listener is registered.- Parameters:
violation
- The violation for which the entry disappeared.entry
- The entry which disappeared.
-
-