ch.syabru.nagios.broker.impl
Class ProcessServiceCheckResultCommand
java.lang.Object
ch.syabru.nagios.broker.impl.ProcessServiceCheckResultCommand
- All Implemented Interfaces:
- ExternalCommand
public class ProcessServiceCheckResultCommand
- extends Object
- implements ExternalCommand
Process service check result external command.
- Author:
- Felix Roethenbacher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessServiceCheckResultCommand
public ProcessServiceCheckResultCommand(String hostName,
String serviceDescription,
int returnCode,
String pluginOutput)
- C'tor.
- Parameters:
hostName
- Host name.serviceDescription
- Service description.returnCode
- Return code.pluginOutput
- Plugin output.
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()
getReturnCode
public int getReturnCode()
getPluginOutput
public String getPluginOutput()
Copyright © 2010-2011 Syabru. All Rights Reserved.