Module org.kordamp.jarviz.core
Package org.kordamp.jarviz.core.internal
Class AbstractConfiguration<S extends AbstractConfiguration<S>>
java.lang.Object
org.kordamp.jarviz.core.internal.AbstractConfiguration<S>
- All Implemented Interfaces:
Configuration<S>
- Direct Known Subclasses:
BytecodeShowCommand.Configuration,ChecksumCommand.Configuration,EntriesExtractCommand.Configuration,EntriesFindCommand.Configuration,ManifestQueryCommand.Configuration,ManifestShowCommand.Configuration,ModuleDescriptorCommand.Configuration,ModuleNameCommand.Configuration,PackagesSplitCommand.Configuration,PackagesValidateCommand.Configuration,ServicesListCommand.Configuration,ServicesShowCommand.Configuration
public abstract class AbstractConfiguration<S extends AbstractConfiguration<S>>
extends Object
implements Configuration<S>
- Since:
- 0.3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Pathprivate PrintWriterprivate booleanprivate PrintWriterprivate Formatprivate Path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetErr()getFiles()getGavs()getOut()getUrls()booleanprotected Sself()withCacheDirectory(Path cacheDirectory) withClasspath(String classpath) withClasspaths(Set<String> classpath) withDirectories(Path directory) withDirectories(Set<Path> directories) withErr(PrintWriter err) withFailOnError(boolean failOnError) withOut(PrintWriter out) withOutputFormat(Format outputFormat) withReportFormat(Format reportFormat) withReportFormats(Set<Format> reportFormats) withReportPath(Path reportPath)
-
Field Details
-
out
-
err
-
failOnError
private boolean failOnError -
gavs
-
files
-
urls
-
classpaths
-
directories
-
cacheDirectory
-
reportPath
-
reportFormats
-
outputFormat
-
-
Constructor Details
-
AbstractConfiguration
public AbstractConfiguration()
-
-
Method Details
-
self
-
getOut
- Specified by:
getOutin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withOut
- Specified by:
withOutin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getErr
- Specified by:
getErrin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withErr
- Specified by:
withErrin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
isFailOnError
public boolean isFailOnError()- Specified by:
isFailOnErrorin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withFailOnError
- Specified by:
withFailOnErrorin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getGavs
- Specified by:
getGavsin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withGav
- Specified by:
withGavin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withGavs
- Specified by:
withGavsin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getFiles
- Specified by:
getFilesin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withFile
- Specified by:
withFilein interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withFiles
- Specified by:
withFilesin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getUrls
- Specified by:
getUrlsin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withUrl
- Specified by:
withUrlin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withUrls
- Specified by:
withUrlsin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getClasspaths
- Specified by:
getClasspathsin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withClasspath
- Specified by:
withClasspathin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withClasspaths
- Specified by:
withClasspathsin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getDirectories
- Specified by:
getDirectoriesin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withDirectories
- Specified by:
withDirectoriesin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withDirectories
- Specified by:
withDirectoriesin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getCacheDirectory
- Specified by:
getCacheDirectoryin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withCacheDirectory
- Specified by:
withCacheDirectoryin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getReportPath
- Specified by:
getReportPathin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withReportPath
- Specified by:
withReportPathin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getReportFormats
- Specified by:
getReportFormatsin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withReportFormat
- Specified by:
withReportFormatin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withReportFormats
- Specified by:
withReportFormatsin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
getOutputFormat
- Specified by:
getOutputFormatin interfaceConfiguration<S extends AbstractConfiguration<S>>
-
withOutputFormat
- Specified by:
withOutputFormatin interfaceConfiguration<S extends AbstractConfiguration<S>>
-