FlatDirectoryArtifactRepository
, IvyArtifactRepository
, MavenArtifactRepository
, PrebuiltLibraries
public interface ArtifactRepository
Modifier and Type | Method | Description |
---|---|---|
void |
content(Action<? super RepositoryContentDescriptor> configureAction) |
Configures the content of this repository.
|
java.lang.String |
getName() |
Returns the name for this repository.
|
void |
setName(java.lang.String name) |
Sets the name for this repository.
|
java.lang.String getName()
The name is used in logging output and error reporting to point to information related to this repository.
void setName(java.lang.String name)
ArtifactRepositoryContainer
(including RepositoryHandler
), its name cannot be changed after it has
been added to the container.name
- The name. Must not be null.java.lang.IllegalStateException
- If the name is set after it has been added to the container.void content(Action<? super RepositoryContentDescriptor> configureAction)
configureAction
- the configuration action