ch.syabru.nagios.broker.impl
Class ProcessServiceCheckResultCommandFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.