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 Date
getDate()
getDateabstract int
getEventId()
getEventIdScope
getScope()
getScopeboolean
hasLargerScopeThan(PollEvent e)
hasLargerScopeThanboolean
hasSameScope(PollEvent e)
hasSameScopeboolean
hasScopeLargerThan(Scope scope)
hasScopeLargerThanboolean
hasScopeSmallerThan(Scope scope)
hasScopeSmallerThanboolean
hasSmallerScopeThan(PollEvent e)
hasSmallerScopeThanboolean
isInterfaceDown()
isInterfaceDownboolean
isNodeDown()
isNodeDownboolean
isNodeLostService()
isNodeLostServicestatic PollEvent
withLargestScope(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
- aPollEvent
object.- Returns:
- a boolean.
-
hasSmallerScopeThan
public boolean hasSmallerScopeThan(PollEvent e)
hasSmallerScopeThan
- Parameters:
e
- aPollEvent
object.- Returns:
- a boolean.
-
hasScopeLargerThan
public boolean hasScopeLargerThan(Scope scope)
hasScopeLargerThan
- Parameters:
scope
- aScope
object.- Returns:
- a boolean.
-
hasScopeSmallerThan
public boolean hasScopeSmallerThan(Scope scope)
hasScopeSmallerThan
- Parameters:
scope
- aScope
object.- Returns:
- a boolean.
-
hasSameScope
public boolean hasSameScope(PollEvent e)
hasSameScope
- Parameters:
e
- aPollEvent
object.- Returns:
- a boolean.
-
-