public class Repository
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directoryMode
Similar to a UNIX permission, sets the directory
mode of the directories
included.
|
private java.util.List<java.lang.String> |
excludes
Field excludes.
|
private java.lang.String |
fileMode
Similar to a UNIX permission, sets the file mode
of the files included.
|
private java.util.List<GroupVersionAlignment> |
groupVersionAlignments
Field groupVersionAlignments.
|
private boolean |
includeMetadata
If set to true, this property will trigger the
creation of repository
metadata which will allow the repository to be
used as a functional remote
repository.
|
private java.util.List<java.lang.String> |
includes
Field includes.
|
private java.lang.String |
outputDirectory
Sets the output directory relative to the root
of the root directory of the assembly.
|
private java.lang.String |
scope
Specifies the scope for artifacts included in
this repository.
|
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
void |
addGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
Method addGroupVersionAlignment.
|
void |
addInclude(java.lang.String string)
Method addInclude.
|
java.lang.String |
getDirectoryMode()
Get similar to a UNIX permission, sets the directory mode of
the directories
included.
|
java.util.List<java.lang.String> |
getExcludes()
Method getExcludes.
|
java.lang.String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the
files included.
|
java.util.List<GroupVersionAlignment> |
getGroupVersionAlignments()
Method getGroupVersionAlignments.
|
java.util.List<java.lang.String> |
getIncludes()
Method getIncludes.
|
java.lang.String |
getOutputDirectory()
Get sets the output directory relative to the root
of the root directory of the assembly.
|
java.lang.String |
getScope()
Get specifies the scope for artifacts included in this
repository.
|
boolean |
isIncludeMetadata()
Get if set to true, this property will trigger the creation
of repository
metadata which will allow the repository to be
used as a functional remote
repository.
|
void |
removeExclude(java.lang.String string)
Method removeExclude.
|
void |
removeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
Method removeGroupVersionAlignment.
|
void |
removeInclude(java.lang.String string)
Method removeInclude.
|
void |
setDirectoryMode(java.lang.String directoryMode)
Set similar to a UNIX permission, sets the directory mode of
the directories
included.
|
void |
setExcludes(java.util.List<java.lang.String> excludes)
Set when <exclude> subelements are present, they
define a set of
dependency artifact coordinates to exclude.
|
void |
setFileMode(java.lang.String fileMode)
Set similar to a UNIX permission, sets the file mode of the
files included.
|
void |
setGroupVersionAlignments(java.util.List<GroupVersionAlignment> groupVersionAlignments)
Set specifies that you want to align a group of artifacts to
a specified
version.
|
void |
setIncludeMetadata(boolean includeMetadata)
Set if set to true, this property will trigger the creation
of repository
metadata which will allow the repository to be
used as a functional remote
repository.
|
void |
setIncludes(java.util.List<java.lang.String> includes)
Set when <include> subelements are present, they
define a set of
artifact coordinates to include.
|
void |
setOutputDirectory(java.lang.String outputDirectory)
Set sets the output directory relative to the root
of the root directory of the assembly.
|
void |
setScope(java.lang.String scope)
Set specifies the scope for artifacts included in this
repository.
|
private java.lang.String outputDirectory
private java.util.List<java.lang.String> includes
private java.util.List<java.lang.String> excludes
private java.lang.String fileMode
private java.lang.String directoryMode
private boolean includeMetadata
private java.util.List<GroupVersionAlignment> groupVersionAlignments
private java.lang.String scope
public void addExclude(java.lang.String string)
string
- public void addGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
groupVersionAlignment
- public void addInclude(java.lang.String string)
string
- public java.lang.String getDirectoryMode()
public java.util.List<java.lang.String> getExcludes()
public java.lang.String getFileMode()
public java.util.List<GroupVersionAlignment> getGroupVersionAlignments()
public java.util.List<java.lang.String> getIncludes()
public java.lang.String getOutputDirectory()
public java.lang.String getScope()
public boolean isIncludeMetadata()
public void removeExclude(java.lang.String string)
string
- public void removeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
groupVersionAlignment
- public void removeInclude(java.lang.String string)
string
- public void setDirectoryMode(java.lang.String directoryMode)
directoryMode
- public void setExcludes(java.util.List<java.lang.String> excludes)
excludes
- public void setFileMode(java.lang.String fileMode)
fileMode
- public void setGroupVersionAlignments(java.util.List<GroupVersionAlignment> groupVersionAlignments)
groupVersionAlignments
- public void setIncludeMetadata(boolean includeMetadata)
includeMetadata
- public void setIncludes(java.util.List<java.lang.String> includes)
includes
- public void setOutputDirectory(java.lang.String outputDirectory)
outputDirectory
- public void setScope(java.lang.String scope)
scope
-