org.apache.creadur.whisker.app
public class Whisker extends Object
Constructor and Description |
---|
Whisker() |
Modifier and Type | Method and Description |
---|---|
Whisker |
act()
Performs the operation set.
|
Configuration |
configuration()
Builds a populated configuration.
|
Act |
getAct()
Gets the operation to be performed.
|
AbstractEngine |
getEngine()
Gets the reporting engine.
|
LicenseConfiguration |
getLicenseConfiguration()
Gets the configuration options for license rendering.
|
StreamableResource |
getLicenseDescriptor() |
String |
getSource()
Gets the source on which the operation will be performed.
|
ResultWriterFactory |
getWriterFactory()
Gets the factory that builds product
Writer s. |
Whisker |
setAct(Act act)
Sets the operation to be performed.
|
Whisker |
setEngine(AbstractEngine engine)
Sets the reporting engine.
|
Whisker |
setLicenseConfiguration(LicenseConfiguration licenseConfiguration)
Sets the configuration options for license rendering.
|
Whisker |
setLicenseDescriptor(StreamableResource licenseDescriptor)
Sets meta-data describing the source licensing.
|
Whisker |
setSource(String source)
Sets the source
|
Whisker |
setWriterFactory(ResultWriterFactory writerFactory)
Sets the factory that builds product
Writer s. |
String |
toString()
Describes the state suitable for logging.
|
public LicenseConfiguration getLicenseConfiguration()
public Whisker setLicenseConfiguration(LicenseConfiguration licenseConfiguration)
licenseConfiguration
- not nullpublic final ResultWriterFactory getWriterFactory()
Writer
s.public final Whisker setWriterFactory(ResultWriterFactory writerFactory)
Writer
s.writerFactory
- not nullpublic final AbstractEngine getEngine()
public final Whisker setEngine(AbstractEngine engine)
engine
- not nullpublic final String getSource()
public final Whisker setSource(String source)
source
- the base to setpublic final StreamableResource getLicenseDescriptor()
public final Whisker setLicenseDescriptor(StreamableResource licenseDescriptor)
licenseDescriptor
- the licenseDescriptor to setpublic final Act getAct()
public final Whisker setAct(Act act)
act
- the act to setpublic Whisker act() throws Exception
Exception
- when the operation failspublic Configuration configuration()
Copyright © 2011-2013 Apache Software Foundation. All Rights Reserved.