Class PollEvent
- java.lang.Object
-
- org.opennms.netmgt.poller.pollables.PollEvent
-
- Direct Known Subclasses:
DbPollEvent,PendingPollEvent
public abstract class PollEvent extends Object
Abstract PollEvent class.
- Version:
- $Id: $
- Author:
- Mathew Brozowski
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DategetDate()getDateabstract intgetEventId()getEventIdScopegetScope()getScopebooleanhasLargerScopeThan(PollEvent e)hasLargerScopeThanbooleanhasSameScope(PollEvent e)hasSameScopebooleanhasScopeLargerThan(Scope scope)hasScopeLargerThanbooleanhasScopeSmallerThan(Scope scope)hasScopeSmallerThanbooleanhasSmallerScopeThan(PollEvent e)hasSmallerScopeThanbooleanisInterfaceDown()isInterfaceDownbooleanisNodeDown()isNodeDownbooleanisNodeLostService()isNodeLostServicestatic PollEventwithLargestScope(PollEvent a, PollEvent b)withLargestScope
-
-
-
Method Detail
-
getEventId
public abstract int getEventId()
getEventId
- Returns:
- a int.
-
isNodeDown
public boolean isNodeDown()
isNodeDown
- Returns:
- a boolean.
-
isInterfaceDown
public boolean isInterfaceDown()
isInterfaceDown
- Returns:
- a boolean.
-
isNodeLostService
public boolean isNodeLostService()
isNodeLostService
- Returns:
- a boolean.
-
hasLargerScopeThan
public boolean hasLargerScopeThan(PollEvent e)
hasLargerScopeThan
- Parameters:
e- aPollEventobject.- Returns:
- a boolean.
-
hasSmallerScopeThan
public boolean hasSmallerScopeThan(PollEvent e)
hasSmallerScopeThan
- Parameters:
e- aPollEventobject.- Returns:
- a boolean.
-
hasScopeLargerThan
public boolean hasScopeLargerThan(Scope scope)
hasScopeLargerThan
- Parameters:
scope- aScopeobject.- Returns:
- a boolean.
-
hasScopeSmallerThan
public boolean hasScopeSmallerThan(Scope scope)
hasScopeSmallerThan
- Parameters:
scope- aScopeobject.- Returns:
- a boolean.
-
hasSameScope
public boolean hasSameScope(PollEvent e)
hasSameScope
- Parameters:
e- aPollEventobject.- Returns:
- a boolean.
-
-