public class Repository extends AbstractDescribableImpl<Repository> implements Comparable<Repository>
Modifier and Type | Class and Description |
---|---|
static class |
Repository.DescriptorImpl |
static class |
Repository.RepositoryType |
Modifier and Type | Field and Description |
---|---|
static String |
CENTRAL |
static String |
ENDPOINT |
static Repository |
MAVEN_CENTRAL |
Constructor and Description |
---|
Repository(Repository toClone) |
Repository(String id,
String url) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Repository repository) |
boolean |
equals(Object obj) |
String |
getCredentialsId() |
String |
getId() |
String |
getPassword()
Deprecated.
|
Repository.RepositoryType |
getReleaseRepository() |
Repository.RepositoryType |
getSnapshotRepository() |
String |
getType() |
String |
getUrl() |
String |
getUser()
Deprecated.
|
int |
hashCode() |
boolean |
hasLegacyCredentials() |
boolean |
isEnableReleaseRepository() |
boolean |
isEnableSnapshotRepository() |
void |
setCredentialsId(String credentialsId) |
void |
setEnableReleaseRepository(boolean enableReleaseRepository) |
void |
setEnableSnapshotRepository(boolean enableSnapshotRepository) |
void |
setPassword(String password)
Deprecated.
|
void |
setReleaseRepository(Repository.RepositoryType releaseRepository) |
void |
setSnapshotRepository(Repository.RepositoryType snapshotRepository) |
void |
setUser(String user)
Deprecated.
|
String |
toDescription() |
String |
toString() |
getDescriptor
public static final String CENTRAL
public static final String ENDPOINT
public static final Repository MAVEN_CENTRAL
public Repository(Repository toClone)
public int compareTo(Repository repository)
compareTo
in interface Comparable<Repository>
public String getCredentialsId()
public String getId()
@Deprecated public String getPassword()
public Repository.RepositoryType getReleaseRepository()
public Repository.RepositoryType getSnapshotRepository()
public String getType()
public String getUrl()
@Deprecated public String getUser()
public boolean hasLegacyCredentials()
public boolean isEnableReleaseRepository()
public boolean isEnableSnapshotRepository()
@DataBoundSetter public void setCredentialsId(String credentialsId)
@DataBoundSetter public void setEnableReleaseRepository(boolean enableReleaseRepository)
@DataBoundSetter public void setEnableSnapshotRepository(boolean enableSnapshotRepository)
@Deprecated public void setPassword(String password)
@DataBoundSetter public void setReleaseRepository(Repository.RepositoryType releaseRepository)
@DataBoundSetter public void setSnapshotRepository(Repository.RepositoryType snapshotRepository)
@Deprecated public void setUser(String user)
public String toDescription()
Copyright © 2010–2021. All rights reserved.