ch.syabru.nagios.broker.impl
Class ScheduleServiceCheckCommandFactory
java.lang.Object
ch.syabru.nagios.broker.impl.ScheduleServiceCheckCommandFactory
- All Implemented Interfaces:
- ExternalCommandFactory
public class ScheduleServiceCheckCommandFactory
- extends Object
- implements ExternalCommandFactory
Schedule 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 |
ScheduleServiceCheckCommandFactory
public ScheduleServiceCheckCommandFactory(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.