org.opennms.netmgt.poller.pollables
Class PollEvent

java.lang.Object
  extended by org.opennms.netmgt.poller.pollables.PollEvent
Direct Known Subclasses:
DbPollEvent, PendingPollEvent

public abstract class PollEvent
extends Object

Author:
Mathew Brozowski

Constructor Summary
protected PollEvent(Scope scope)
           
 
Method Summary
abstract  Date getDate()
           
abstract  int getEventId()
           
 Scope getScope()
           
 boolean hasLargerScopeThan(PollEvent e)
           
 boolean hasSameScope(PollEvent e)
           
 boolean hasScopeLargerThan(Scope scope)
           
 boolean hasScopeSmallerThan(Scope scope)
           
 boolean hasSmallerScopeThan(PollEvent e)
           
 boolean isInterfaceDown()
           
 boolean isNodeDown()
           
 boolean isNodeLostService()
           
static PollEvent withLargestScope(PollEvent a, PollEvent b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollEvent

protected PollEvent(Scope scope)
Method Detail

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.