@groovy.lang.Singleton class ArchiverFactory extends java.lang.Object implements ArchiverFactoryInterface
Returns the configured Archiver. Can be controlled by the configuration option
| Type | Name and description |
|---|---|
private static ArchiverFactory |
instanceA singleton, used for simplified unit testing with a mocked class. |
| Constructor and description |
|---|
ArchiverFactory
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
ArchiverInterface |
getArchiver()Builds an archiver for a single use. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
A singleton, used for simplified unit testing with a mocked class.
Builds an archiver for a single use.
Groovy Documentation