public class Repository extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Repository.RepositoryBuilder
The repository builder.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
areSnapshotsEnabled()
Retrieves whether this repository is set to download snapshot artifacts.
|
String |
getId()
Retrieves the repository unique identifier.
|
org.apache.maven.model.Repository |
getInnerModel() |
String |
getLayout()
Retrieves the repository layout.
|
String |
getName()
Retrieves the human readable name of the repository.
|
String |
getUrl()
Retrieves the url of the repository in the protocol://hostname/path format.
|
void |
setLayout(String layout)
Sets the repository layout.
|
void |
setName(String name)
Sets the human readable name of the repository.
|
void |
setSnapshotsEnabled(boolean enabled)
Sets whether to use this repository for downloading snapshot artifacts.
|
void |
setUrl(String url)
Sets the url of the repository in the protocol://hostname/path format.
|
public void setName(String name)
name - public String getName()
Stringpublic void setUrl(String url)
url - public String getUrl()
Stringpublic void setLayout(String layout)
layout - public String getLayout()
Stringpublic void setSnapshotsEnabled(boolean enabled)
enabled - public boolean areSnapshotsEnabled()
public org.apache.maven.model.Repository getInnerModel()
Copyright © 2018 MuleSoft Inc. All rights reserved.