ch.syabru.nagios.broker.impl
Class ScheduleForcedServiceCheckCommandFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.