de.dv.sbu.builder
Class Builder

java.lang.Object
  extended by de.dv.sbu.builder.Builder

public class Builder
extends java.lang.Object

Builder working on a BuilderConfiguration.

Author:
Daniel Vogtland

Constructor Summary
Builder(BuilderConfiguration configuration)
          Creates a new instance.
 
Method Summary
 IErrorListener getErrorListener()
          Returns the error listener - if installed.
 void setErrorListener(IErrorListener errorListener)
          Sets or removes the error listener.
 boolean start()
          Starts the job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Builder

public Builder(BuilderConfiguration configuration)
Creates a new instance.

Parameters:
configuration - The configuration to use.
Method Detail

getErrorListener

public IErrorListener getErrorListener()
Returns the error listener - if installed.

Returns:
The error listener or null.

setErrorListener

public void setErrorListener(IErrorListener errorListener)
Sets or removes the error listener.

Parameters:
errorListener - the listener to set or null.

start

public boolean start()
Starts the job.

Returns:
true if the job was started. false if this builder was running already.