Class Whisker
java.lang.Object
org.apache.creadur.whisker.app.Whisker
High level application, configured as a bean.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionact()Performs the operation set.Builds a populated configuration.final ActgetAct()Gets the operation to be performed.final AbstractEngineGets the reporting engine.Gets the configuration options for license rendering.final StreamableResourcefinal StringGets the source on which the operation will be performed.final ResultWriterFactoryGets the factory that builds productWriters.final WhiskerSets the operation to be performed.final WhiskersetEngine(AbstractEngine engine) Sets the reporting engine.setLicenseConfiguration(LicenseConfiguration licenseConfiguration) Sets the configuration options for license rendering.final WhiskersetLicenseDescriptor(StreamableResource licenseDescriptor) Sets meta-data describing the source licensing.final WhiskerSets the sourcefinal WhiskersetWriterFactory(ResultWriterFactory writerFactory) Sets the factory that builds productWriters.toString()Describes the state suitable for logging.
-
Constructor Details
-
Whisker
public Whisker()
-
-
Method Details
-
getLicenseConfiguration
Gets the configuration options for license rendering.- Returns:
- not null
-
setLicenseConfiguration
Sets the configuration options for license rendering.- Parameters:
licenseConfiguration- not null- Returns:
- this, not null
-
getWriterFactory
Gets the factory that builds productWriters.- Returns:
- factory
-
setWriterFactory
Sets the factory that builds productWriters.- Parameters:
writerFactory- not null- Returns:
- this, not null
-
getEngine
-
setEngine
Sets the reporting engine.- Parameters:
engine- not null- Returns:
- this, not null
-
getSource
Gets the source on which the operation will be performed.- Returns:
- the base, not null
-
setSource
-
getLicenseDescriptor
- Returns:
- the licenseDescriptor
-
setLicenseDescriptor
Sets meta-data describing the source licensing.- Parameters:
licenseDescriptor- the licenseDescriptor to set- Returns:
- this, not null
-
getAct
-
setAct
-
act
-
configuration
-
toString
-