com.basecmp.core.usecasesteps.miscellaneous
Class ExecuteCommand

java.lang.Object
  extended byBaseCmpUsecaseStep
      extended bycom.basecmp.core.usecasesteps.miscellaneous.ExecuteCommand

public class ExecuteCommand
extends BaseCmpUsecaseStep

Führt ein Betriebssystem-Kommando aud der Commandline aus.

See Also:
Serialized Form

Step-Configuration-Parameters:
ParameterDescription
CommandLine Kommando, welches ausgeführt werden soll, ggf mit vollem Pfad, z.B. /usr/local/sbin/do-something.sh
WorkingDirectory (optional) Working directory für das auszuführenden Kommando.

Created UsecaseContext-Attributes:
ParameterDescription
CommandResultErrorOutput Für den Fall einer fehlerhaften Ausführung (angezeigt durch einen Error-Cdoe!=0), wird hier der der error-outputstream, serialisiert als String, abgelegt. Created on 09.12.2005
Author:
Wolfgang Schröder

Constructor Summary
ExecuteCommand()
           
 
Method Summary
 void execute(UsecaseContext uc, int unlockKey)
           
protected  void initStep(java.lang.Integer stepId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteCommand

public ExecuteCommand()
Method Detail

execute

public void execute(UsecaseContext uc,
                    int unlockKey)
             throws java.lang.Exception
Throws:
java.lang.Exception

initStep

protected void initStep(java.lang.Integer stepId)


Copyright © 2004 by basecmp® - Professional Web Solutions