ru.yandex.jenkins.plugins.debuilder
Class DebUtils.Runner

java.lang.Object
  extended by ru.yandex.jenkins.plugins.debuilder.DebUtils.Runner
Enclosing class:
DebUtils

public static class DebUtils.Runner
extends Object


Constructor Summary
DebUtils.Runner(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, String prefix)
           
 
Method Summary
 void announce(String message)
           
 void announce(String messageTemplate, Object... params)
           
 hudson.remoting.VirtualChannel getChannel()
           
 hudson.model.BuildListener getListener()
           
 void runCommand(String command)
           
 void runCommand(String commandTemplate, Object... arguments)
           
 String runCommandForOutput(String command)
           
 String runCommandForOutput(String commandTemplate, Object... params)
           
 boolean runCommandForResult(String command)
           
 boolean runCommandForResult(String commandTemplate, Object... arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebUtils.Runner

public DebUtils.Runner(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener,
                       String prefix)
Method Detail

runCommand

public void runCommand(String command)
                throws InterruptedException,
                       DebianizingException
Throws:
InterruptedException
DebianizingException

runCommand

public void runCommand(String commandTemplate,
                       Object... arguments)
                throws InterruptedException,
                       DebianizingException
Throws:
InterruptedException
DebianizingException

runCommandForResult

public boolean runCommandForResult(String command)
                            throws InterruptedException,
                                   DebianizingException
Throws:
InterruptedException
DebianizingException

runCommandForResult

public boolean runCommandForResult(String commandTemplate,
                                   Object... arguments)
                            throws InterruptedException,
                                   DebianizingException
Throws:
InterruptedException
DebianizingException

runCommandForOutput

public String runCommandForOutput(String commandTemplate,
                                  Object... params)
                           throws DebianizingException
Throws:
DebianizingException

runCommandForOutput

public String runCommandForOutput(String command)
                           throws DebianizingException
Throws:
DebianizingException

announce

public void announce(String message)

announce

public void announce(String messageTemplate,
                     Object... params)

getChannel

public hudson.remoting.VirtualChannel getChannel()

getListener

public hudson.model.BuildListener getListener()


Copyright © 2004-2012. All Rights Reserved.