OpenNMS API 1.1.5

org.opennms.netmgt.config
Interface PollOutagesConfig

All Known Implementing Classes:
MockPollerConfig, PollOutagesConfigFactory

public interface PollOutagesConfig

Author:
brozow TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Method Summary
 boolean isCurTimeInOutage(java.lang.String outName)
          Return if current time is part of specified outage.
 boolean isInterfaceInOutage(java.lang.String linterface, java.lang.String outName)
          Return if interfaces is part of specified outage.
 boolean isTimeInOutage(long time, java.lang.String outName)
          Return if time is part of specified outage.
 

Method Detail

isInterfaceInOutage

public boolean isInterfaceInOutage(java.lang.String linterface,
                                   java.lang.String outName)
Return if interfaces is part of specified outage.

Parameters:
linterface - the interface to be looked up
outName - the outage name
Returns:
the interface is part of the specified outage

isCurTimeInOutage

public boolean isCurTimeInOutage(java.lang.String outName)
Return if current time is part of specified outage.

Parameters:
outName - the outage name
Returns:
true if current time is in outage

isTimeInOutage

public boolean isTimeInOutage(long time,
                              java.lang.String outName)
Return if time is part of specified outage.

Parameters:
time - the time in millis to look up
outName - the outage name
Returns:
true if time is in outage

OpenNMS API 1.1.5

Generated by root on January 31 2005 0028.