org.opennms.netmgt.poller.pollables
Class PollEvent
java.lang.Object
org.opennms.netmgt.poller.pollables.PollEvent
- Direct Known Subclasses:
- DbPollEvent, PendingPollEvent
public abstract class PollEvent
- extends Object
- Author:
- Mathew Brozowski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollEvent
protected PollEvent(Scope scope)
getScope
public Scope getScope()
getEventId
public abstract int getEventId()
getDate
public abstract Date getDate()
isNodeDown
public boolean isNodeDown()
isInterfaceDown
public boolean isInterfaceDown()
isNodeLostService
public boolean isNodeLostService()
hasLargerScopeThan
public boolean hasLargerScopeThan(PollEvent e)
hasSmallerScopeThan
public boolean hasSmallerScopeThan(PollEvent e)
hasScopeLargerThan
public boolean hasScopeLargerThan(Scope scope)
hasScopeSmallerThan
public boolean hasScopeSmallerThan(Scope scope)
hasSameScope
public boolean hasSameScope(PollEvent e)
withLargestScope
public static PollEvent withLargestScope(PollEvent a,
PollEvent b)
Copyright © 2009. All Rights Reserved.