BuilderScriptWithResult

A specialization of BuilderScriptAbstract which expects there to be a top-level object, and so - by defining its own #buildResult(ExecutionContext) hook method - removes a little of the boilerplate..

API

BuilderScriptWithResult.java
class BuilderScriptWithResult<T> {
  public T object;
  T getObject()     (1)
}
1 getObject()

Simply returns the object returned by #buildResult(ExecutionContext) .

Members

getObject()

Simply returns the object returned by #buildResult(ExecutionContext) .