Package | Description |
---|---|
org.codehaus.mojo.jaxb2 |
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation
to be useful within the Maven build process.
|
org.codehaus.mojo.jaxb2.javageneration |
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation
to be useful within the Maven build process.
|
org.codehaus.mojo.jaxb2.schemageneration |
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation
to be useful within the Maven build process.
|
org.codehaus.mojo.jaxb2.shared |
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation
to be useful within the Maven build process.
|
org.codehaus.mojo.jaxb2.shared.filters | |
org.codehaus.mojo.jaxb2.shared.filters.pattern |
Modifier and Type | Field and Description |
---|---|
static List<Filter<File>> |
AbstractJaxbMojo.STANDARD_EXCLUDE_FILTERS
Standard excludes Filters for all Java generator Mojos.
|
Modifier and Type | Field and Description |
---|---|
static List<Filter<File>> |
XjcMojo.STANDARD_SOURCE_EXCLUDE_FILTERS
Default exclude Filters for sources, used unless overridden by an
explicit configuration in the
xjcSourceExcludeFilters parameter. |
static List<Filter<File>> |
TestXjcMojo.STANDARD_TEST_SOURCE_EXCLUDE_FILTERS
Default exclude Filters for test sources, used unless overridden by an
explicit configuration in the
testSourceExcludeFilters parameter. |
static List<Filter<File>> |
TestXjcMojo.STANDARD_TEST_XJB_EXCLUDE_FILTERS
Default List of exclude Filters for XJB files, unless overridden by providing
an explicit configuration in the
testXjbExcludeFilters parameter. |
static List<Filter<File>> |
XjcMojo.STANDARD_XJB_EXCLUDE_FILTERS
Default List of exclude Filters for XJB files, unless overridden by providing
an explicit configuration in the
xjbExcludeSuffixes parameter. |
Modifier and Type | Field and Description |
---|---|
static List<Filter<File>> |
AbstractXsdGeneratorMojo.CLASS_INCLUDE_FILTERS
Filter list containing a PatternFileFilter including ".class" files.
|
static List<Filter<File>> |
AbstractXsdGeneratorMojo.STANDARD_BYTECODE_EXCLUDE_FILTERS
Default exclude file name suffixes for testSources, used unless overridden by an
explicit configuration in the
testSourceExcludeSuffixes parameter. |
static List<Filter<File>> |
SchemaGenerationMojo.STANDARD_SOURCE_EXCLUDE_FILTERS
Default exclude file name suffixes for sources, used unless overridden by an
explicit configuration in the
sourceExcludeSuffixes parameter. |
static List<Filter<File>> |
TestSchemaGenerationMojo.STANDARD_TEST_SOURCE_EXCLUDE_FILTERS
Default exclude file name suffixes for testSources, used unless overridden by an
explicit configuration in the
testSchemaSourceExcludeFilters parameter. |
Modifier and Type | Method and Description |
---|---|
static List<File> |
FileSystemUtilities.filterFiles(List<File> files,
Filter<File> acceptFilter,
org.apache.maven.plugin.logging.Log log)
Filters all supplied files using the
|
Modifier and Type | Method and Description |
---|---|
static List<URL> |
FileSystemUtilities.filterFiles(File baseDir,
List<String> sources,
List<String> standardDirectories,
org.apache.maven.plugin.logging.Log log,
String fileTypeDescription,
List<Filter<File>> excludePatterns)
Filters files found either in the sources paths (or in the standardDirectory if no explicit sources are given),
and retrieves a List holding those files that do not match any of the supplied Java Regular Expression
excludePatterns.
|
static List<File> |
FileSystemUtilities.filterFiles(File baseDir,
List<String> sources,
String standardDirectory,
org.apache.maven.plugin.logging.Log log,
String fileTypeDescription,
List<Filter<File>> excludeFilters)
Filters files found either in the sources paths (or in the standardDirectory if no explicit sources are given),
and retrieves a List holding those files that do not match any of the supplied Java Regular Expression
excludePatterns.
|
static List<File> |
FileSystemUtilities.listFiles(File fileOrDir,
List<Filter<File>> fileFilters,
boolean excludeFilterOperation,
org.apache.maven.plugin.logging.Log log)
If the supplied fileOrDir is a File, it is added to the returned List if any of the filters Match.
|
static List<File> |
FileSystemUtilities.listFiles(File fileOrDir,
List<Filter<File>> fileFilters,
org.apache.maven.plugin.logging.Log log)
If the supplied fileOrDir is a File, it is added to the returned List if any of the filters Match.
|
static List<File> |
FileSystemUtilities.resolveRecursively(List<File> files,
List<Filter<File>> exclusionFilters,
org.apache.maven.plugin.logging.Log log)
Retrieves a List of Files containing all the existing files within the supplied files List, including all
files found in directories recursive to any directories provided in the files list.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilter<T>
Abstract Filter implementation which handles separating
null candidate values from non-null
ones, and delegates processing to concrete subclass implementations. |
Modifier and Type | Method and Description |
---|---|
static FileFilter |
Filters.adapt(Filter<File> toAdapt)
Adapts the Filter specification to the FileFilter interface, to enable immediate use
for filtering File lists.
|
static <T> void |
Filters.initialize(org.apache.maven.plugin.logging.Log log,
Filter<T>... filters)
Initializes the supplied Filters by assigning the given Log.
|
Modifier and Type | Method and Description |
---|---|
static List<FileFilter> |
Filters.adapt(List<Filter<File>> toAdapt)
Adapts the supplied List of Filter specifications to a List of FileFilters.
|
static <T> void |
Filters.initialize(org.apache.maven.plugin.logging.Log log,
List<Filter<T>> filters)
Initializes the supplied Filters by assigning the given Log.
|
static <T> boolean |
Filters.matchAtLeastOnce(T object,
List<Filter<T>> filters)
Algorithms for accepting the supplied object if at least one of the supplied Filters accepts it.
|
static <T> boolean |
Filters.noFilterMatches(T object,
List<Filter<T>> filters)
Algorithms for rejecting the supplied object if at least one of the supplied Filters rejects it.
|
static <T> boolean |
Filters.rejectAtLeastOnce(T object,
List<Filter<T>> filters)
Algorithms for rejecting the supplied object if at least one of the supplied Filters does not accept it.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPatternFilter<T>
AbstractFilter implementation containing a Java Pattern which should be used to determine if candidate T objects
match any of the supplied regularExpressions.
|
class |
FileFilterAdapter
Filter implementation adapting a FileFilter instance to the Filter interface.
|
class |
PatternFileFilter
AbstractPatternFilter and FileFilter combination, using a set of Regular expressions
to accept the canonical absolute paths to Files.
|
class |
PatternURLFilter
AbstractPatternFilter matching the string of URLs with to a set of Regular expressions.
|
Modifier and Type | Method and Description |
---|---|
static List<Filter<File>> |
PatternFileFilter.createExcludeFilterList(org.apache.maven.plugin.logging.Log log,
String... patterns)
Creates a new List containing an exclude-mode PatternFileFilter using the supplied patternStrings which
are interpreted as file suffixes.
|
static List<Filter<File>> |
PatternFileFilter.createIncludeFilterList(org.apache.maven.plugin.logging.Log log,
String... patterns)
Creates a new List containing an include-mode PatternFileFilter using the supplied patternStrings which
are interpreted as file suffixes.
|
Copyright © 2005–2017 MojoHaus. All rights reserved.