org.schmant.arg
Interface Producer<T>

All Known Implementing Classes:
AbstractJarTask, AbstractLinkInsertionTask, AbstractProcessOneFileTask, AbstractTextInsertionTask, ApiLinksTask, ArgumentInterpreterLinksTask, At4JZipTask, BZip2Task, CopyTask, DomParseXmlTask, EarTask, ErrorIgnoringTask, ExistingObjectProducer, ExtFindbugsTask, ExtJarSignerTask, FutureProperty, GZipTask, IncludeFilesTask, JarTask, LzmaTask, MoveTask, RedirectReportTask, SchemaFactoryTask, TarTask, TaskFactoryLinksTask, TemplateCompilerTask, TextReplaceTask, TimedExecutionTask, WarTask, XsltTask, ZipTask

public interface Producer<T>

This interface is implemented by objects that produce one instance of something, for instance a file or an XML document.

Since:
0.8
Author:
Karl Gustafsson

Method Summary
 T get()
          Returns the produced object, or null if nothing is produced yet.
 

Method Detail

get

T get()
Returns the produced object, or null if nothing is produced yet.

This method should be implemented thread-safe.

Returns:
The produced object.