Package org.apache.creadur.whisker.app
Class Whisker
java.lang.Object
org.apache.creadur.whisker.app.Whisker
High level application, configured as a bean.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact()
Performs the operation set.Builds a populated configuration.final Act
getAct()
Gets the operation to be performed.final AbstractEngine
Gets the reporting engine.Gets the configuration options for license rendering.final StreamableResource
final String
Gets the source on which the operation will be performed.final ResultWriterFactory
Gets the factory that builds productWriter
s.final Whisker
Sets the operation to be performed.final Whisker
setEngine
(AbstractEngine engine) Sets the reporting engine.setLicenseConfiguration
(LicenseConfiguration licenseConfiguration) Sets the configuration options for license rendering.final Whisker
setLicenseDescriptor
(StreamableResource licenseDescriptor) Sets meta-data describing the source licensing.final Whisker
Sets the sourcefinal Whisker
setWriterFactory
(ResultWriterFactory writerFactory) Sets the factory that builds productWriter
s.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 productWriter
s.- Returns:
- factory
-
setWriterFactory
Sets the factory that builds productWriter
s.- Parameters:
writerFactory
- not null- Returns:
- this, not null
-
getEngine
Gets the reporting engine.- Returns:
- not null
-
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
Sets the source- Parameters:
source
- the base to set- Returns:
- this, not null
-
getLicenseDescriptor
- Returns:
- the licenseDescriptor
-
setLicenseDescriptor
Sets meta-data describing the source licensing.- Parameters:
licenseDescriptor
- the licenseDescriptor to set- Returns:
- this, not null
-
getAct
Gets the operation to be performed.- Returns:
- the act
-
setAct
Sets the operation to be performed.- Parameters:
act
- the act to set- Returns:
- this, not null
-
act
Performs the operation set.- Returns:
- this, not null
- Throws:
Exception
- when the operation fails
-
configuration
Builds a populated configuration.- Returns:
- not null
-
toString
Describes the state suitable for logging.
-