ch.syabru.nagios.broker.impl
Class ProcessServiceCheckResultCommandFactory

java.lang.Object
  extended by ch.syabru.nagios.broker.impl.ProcessServiceCheckResultCommandFactory
All Implemented Interfaces:
ExternalCommandFactory

public class ProcessServiceCheckResultCommandFactory
extends Object
implements ExternalCommandFactory

Process service check result command factory.

Author:
Felix Roethenbacher

Constructor Summary
ProcessServiceCheckResultCommandFactory(String hostName, String serviceDescription, int returnCode, String pluginOutput)
          C'tor.
 
Method Summary
 ExternalCommand createCommand()
          Create external command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessServiceCheckResultCommandFactory

public ProcessServiceCheckResultCommandFactory(String hostName,
                                               String serviceDescription,
                                               int returnCode,
                                               String pluginOutput)
C'tor.

Parameters:
hostName - Host name.
serviceDescription - Service description.
returnCode - Return code.
pluginOutput - Plugin output.
Method Detail

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.