ch.syabru.nagios.broker.impl
Class ScheduleForcedServiceCheckCommand

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

public class ScheduleForcedServiceCheckCommand
extends Object
implements ExternalCommand

Schedule forced 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
ScheduleForcedServiceCheckCommand(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

ScheduleForcedServiceCheckCommand

public ScheduleForcedServiceCheckCommand(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.