ch.syabru.nagios.broker.impl
Class ScheduleForcedServiceCheckCommandFactory

java.lang.Object
  extended by ch.syabru.nagios.broker.impl.ScheduleForcedServiceCheckCommandFactory
All Implemented Interfaces:
ExternalCommandFactory

public class ScheduleForcedServiceCheckCommandFactory
extends Object
implements ExternalCommandFactory

Schedule forced service check command factory.

Author:
Felix Roethenbacher

Constructor Summary
ScheduleForcedServiceCheckCommandFactory(String hostName, String serviceDescription, Date checkTime, int delaySeconds)
          C'tor.
 
Method Summary
 ExternalCommand createCommand()
          Create external command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleForcedServiceCheckCommandFactory

public ScheduleForcedServiceCheckCommandFactory(String hostName,
                                                String serviceDescription,
                                                Date checkTime,
                                                int delaySeconds)
C'tor.

Parameters:
hostName - Host name.
serviceDescription - Service description.
checkTime - Absolute check time, set to null for current time.
delaySeconds - Delay in seconds. Set to 0 for immediate check.
Method Detail

createCommand

public ExternalCommand createCommand()
Description copied from interface: ExternalCommandFactory
Create external command.

Specified by:
createCommand in interface ExternalCommandFactory
Returns:
External command.


Copyright © 2010-2011 Syabru. All Rights Reserved.