ch.syabru.nagios.broker.impl
Class ScheduleServiceCheckCommand

java.lang.Object
  extended by ch.syabru.nagios.broker.impl.ScheduleServiceCheckCommand
All Implemented Interfaces:
ExternalCommand

public class ScheduleServiceCheckCommand
extends Object
implements ExternalCommand

Schedule service check external command.

Author:
Felix Roethenbacher

Field Summary
 
Fields inherited from interface ch.syabru.nagios.broker.ExternalCommand
STATE_CRITICAL, STATE_OK, STATE_UNKNOWN, STATE_WARNING
 
Constructor Summary
ScheduleServiceCheckCommand(String hostName, String serviceDescription, Date checkTime)
          C'tor.
 
Method Summary
 Date getCheckTime()
           
 String getHostName()
           
 String getServiceDescription()
           
 void writeCommand(Writer writer)
          Write external command to writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleServiceCheckCommand

public ScheduleServiceCheckCommand(String hostName,
                                   String serviceDescription,
                                   Date checkTime)
C'tor.

Parameters:
hostName - Host name.
serviceDescription - Service description.
checkTime - Check time.
Method Detail

writeCommand

public void writeCommand(Writer writer)
                  throws IOException
Description copied from interface: ExternalCommand
Write external command to writer.

Specified by:
writeCommand in interface ExternalCommand
Parameters:
writer - Writer.
Throws:
IOException - XX.

getHostName

public String getHostName()

getServiceDescription

public String getServiceDescription()

getCheckTime

public Date getCheckTime()


Copyright © 2010-2011 Syabru. All Rights Reserved.