net.sf.lavalamp.runner
Class Run

java.lang.Object
  extended by net.sf.lavalamp.runner.DefaultApplication
      extended by net.sf.lavalamp.runner.Run
All Implemented Interfaces:
Application

public class Run
extends DefaultApplication

Command line runner for build servers that have remote apis eg Bamboo.

Author:
Steven Hale

Field Summary
 
Fields inherited from class net.sf.lavalamp.runner.DefaultApplication
console, properties, TICK
 
Constructor Summary
Run()
           
 
Method Summary
protected  void checkAllBuilds(LavaLogger logger, Pause pause, DeviceController deviceController, long runInterval)
           
 void exec(LavaLogger logger, Pause pause)
           
 void init()
          Initializes the application
 void setRunInterval(long runInterval)
           
 
Methods inherited from class net.sf.lavalamp.runner.DefaultApplication
setConsole, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Run

public Run()
Method Detail

exec

public void exec(LavaLogger logger,
                 Pause pause)
          throws InterruptedException,
                 IOException
Throws:
InterruptedException
IOException

checkAllBuilds

protected void checkAllBuilds(LavaLogger logger,
                              Pause pause,
                              DeviceController deviceController,
                              long runInterval)
                       throws InterruptedException,
                              IOException
Throws:
InterruptedException
IOException

init

public void init()
          throws Exception
Description copied from class: DefaultApplication
Initializes the application

Specified by:
init in interface Application
Overrides:
init in class DefaultApplication
Throws:
Exception

setRunInterval

public void setRunInterval(long runInterval)


Copyright © 2010. All Rights Reserved.