org.opennms.netmgt.linkd.scheduler
Interface ReadyRunnable

All Superinterfaces:
Runnable
All Known Implementing Classes:
DiscoveryLink, SnmpCollection

public interface ReadyRunnable
extends Runnable

This interface extends the runnableinterface and provides a method to determine if the runnable is ready to start.

Author:
Antonio Russo, Brian Weaver , OpenNMS.org

Method Summary
 boolean equals(ReadyRunnable runnable)
           
 String getInfo()
           
 String getPackageName()
           
 boolean isReady()
          Returns true if the runnable is ready to start.
 boolean isSuspended()
           
 void schedule()
           
 void setPackageName(String pkg)
           
 void suspend()
           
 void unschedule()
           
 void wakeUp()
           
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

isReady

boolean isReady()
Returns true if the runnable is ready to start.


suspend

void suspend()

isSuspended

boolean isSuspended()

wakeUp

void wakeUp()

unschedule

void unschedule()

schedule

void schedule()

equals

boolean equals(ReadyRunnable runnable)

getInfo

String getInfo()

getPackageName

String getPackageName()

setPackageName

void setPackageName(String pkg)


Copyright © 2009. All Rights Reserved.