public class ModuleBinaries extends Object implements Serializable
Constructor and Description |
---|
ModuleBinaries() |
Modifier and Type | Method and Description |
---|---|
void |
addDependencySet(DependencySet dependencySet)
Method addDependencySet.
|
void |
addExclude(String string)
Method addExclude.
|
void |
addInclude(String string)
Method addInclude.
|
String |
getAttachmentClassifier()
Get when specified, the attachmentClassifier will cause the
assembler to look at artifacts
attached to the module instead of the main project
artifact.
|
List<DependencySet> |
getDependencySets()
Method getDependencySets.
|
String |
getDirectoryMode()
Get similar to a UNIX permission, sets the directory mode of
the directories
included.
|
List<String> |
getExcludes()
Method getExcludes.
|
String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the
files included.
|
List<String> |
getIncludes()
Method getIncludes.
|
String |
getOutputDirectory()
Get sets the output directory relative to the root
of the root directory of the assembly.
|
String |
getOutputFileNameMapping()
Get sets the mapping pattern for all NON-UNPACKED
dependencies included
in this assembly.
|
UnpackOptions |
getUnpackOptions()
Get allows the specification of includes and excludes, along
with filtering options, for items
unpacked from a module artifact.
|
boolean |
isIncludeDependencies()
Get if set to true, the plugin will include the direct and
transitive dependencies of
of the project modules included here.
|
boolean |
isUnpack()
Get if set to true, this property will unpack all module
packages
into the specified output directory.
|
void |
removeDependencySet(DependencySet dependencySet)
Method removeDependencySet.
|
void |
removeExclude(String string)
Method removeExclude.
|
void |
removeInclude(String string)
Method removeInclude.
|
void |
setAttachmentClassifier(String attachmentClassifier)
Set when specified, the attachmentClassifier will cause the
assembler to look at artifacts
attached to the module instead of the main project
artifact.
|
void |
setDependencySets(List<DependencySet> dependencySets)
Set specifies which dependencies of the module to include in
the assembly.
|
void |
setDirectoryMode(String directoryMode)
Set similar to a UNIX permission, sets the directory mode of
the directories
included.
|
void |
setExcludes(List<String> excludes)
Set when <exclude> subelements are present, they
define a set of
dependency artifact coordinates to exclude.
|
void |
setFileMode(String fileMode)
Set similar to a UNIX permission, sets the file mode of the
files included.
|
void |
setIncludeDependencies(boolean includeDependencies)
Set if set to true, the plugin will include the direct and
transitive dependencies of
of the project modules included here.
|
void |
setIncludes(List<String> includes)
Set when <include> subelements are present, they
define a set of
artifact coordinates to include.
|
void |
setOutputDirectory(String outputDirectory)
Set sets the output directory relative to the root
of the root directory of the assembly.
|
void |
setOutputFileNameMapping(String outputFileNameMapping)
Set sets the mapping pattern for all NON-UNPACKED
dependencies included
in this assembly.
|
void |
setUnpack(boolean unpack)
Set if set to true, this property will unpack all module
packages
into the specified output directory.
|
void |
setUnpackOptions(UnpackOptions unpackOptions)
Set allows the specification of includes and excludes, along
with filtering options, for items
unpacked from a module artifact.
|
public void addDependencySet(DependencySet dependencySet)
dependencySet
- public void addExclude(String string)
string
- public void addInclude(String string)
string
- public String getAttachmentClassifier()
public List<DependencySet> getDependencySets()
public String getDirectoryMode()
public String getFileMode()
public String getOutputDirectory()
public String getOutputFileNameMapping()
public UnpackOptions getUnpackOptions()
public boolean isIncludeDependencies()
public boolean isUnpack()
public void removeDependencySet(DependencySet dependencySet)
dependencySet
- public void removeExclude(String string)
string
- public void removeInclude(String string)
string
- public void setAttachmentClassifier(String attachmentClassifier)
attachmentClassifier
- public void setDependencySets(List<DependencySet> dependencySets)
dependencySets
- public void setDirectoryMode(String directoryMode)
directoryMode
- public void setExcludes(List<String> excludes)
excludes
- public void setFileMode(String fileMode)
fileMode
- public void setIncludeDependencies(boolean includeDependencies)
includeDependencies
- public void setIncludes(List<String> includes)
includes
- public void setOutputDirectory(String outputDirectory)
outputDirectory
- public void setOutputFileNameMapping(String outputFileNameMapping)
outputFileNameMapping
- public void setUnpack(boolean unpack)
unpack
- public void setUnpackOptions(UnpackOptions unpackOptions)
unpackOptions
- Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.