xmlBlaster 2.2.0 API

org.xmlBlaster.engine.event
Class ExecHelper

java.lang.Object
  extended by org.xmlBlaster.engine.event.ExecHelper

public class ExecHelper
extends java.lang.Object

Execute a command

Author:
Marcel

Field Summary
private  int activationDelayAfterStartupSec
           
private  java.lang.String command
           
private  java.lang.String configuration
           
private  int creationTimeSec
           
private  boolean daemon
           
private  java.io.File dir
           
private  java.lang.String[] envArr
           
private  EventPlugin eventPlugin
           
private static java.util.logging.Logger log
           
private  java.lang.String logSevereText
           
private  boolean waitFor
           
 
Constructor Summary
ExecHelper(EventPlugin eventPlugin, java.lang.String configuration)
           
 
Method Summary
private  void executableOutput(java.lang.Process p, boolean sync)
           
 void execute(java.lang.String summary, java.lang.String description, java.lang.String eventType, java.lang.String errorCode, SessionName sessionName)
           
 java.lang.String getCommand()
           
 java.lang.String getConfiguration()
           
private  java.lang.String getLogId()
           
 void setCommand(java.lang.String command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static java.util.logging.Logger log

eventPlugin

private final EventPlugin eventPlugin

configuration

private java.lang.String configuration

command

private java.lang.String command

envArr

private java.lang.String[] envArr

dir

private java.io.File dir

waitFor

private boolean waitFor

daemon

private boolean daemon

logSevereText

private java.lang.String logSevereText

activationDelayAfterStartupSec

private int activationDelayAfterStartupSec

creationTimeSec

private int creationTimeSec
Constructor Detail

ExecHelper

public ExecHelper(EventPlugin eventPlugin,
                  java.lang.String configuration)
           throws XmlBlasterException
Throws:
XmlBlasterException
Method Detail

execute

public void execute(java.lang.String summary,
                    java.lang.String description,
                    java.lang.String eventType,
                    java.lang.String errorCode,
                    SessionName sessionName)

getLogId

private java.lang.String getLogId()

executableOutput

private void executableOutput(java.lang.Process p,
                              boolean sync)

getCommand

public java.lang.String getCommand()

setCommand

public void setCommand(java.lang.String command)

getConfiguration

public java.lang.String getConfiguration()

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.