@Component(role=ResolutionHelper.class) public class ResolutionHelper extends java.lang.Object
| Constructor and Description |
|---|
ResolutionHelper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProxyHost() |
java.lang.String |
getProxyPassword() |
java.lang.Integer |
getProxyPort() |
java.lang.String |
getProxyUsername() |
java.lang.String |
getRepoPassword() |
java.lang.String |
getRepoReleaseUrl() |
java.lang.String |
getRepoSnapshotUrl() |
java.lang.String |
getRepoUsername() |
java.lang.String |
getScopeByRequestContext(java.lang.String requestContext)
Determines a deployed artifact's scope (either "project" or "build") according to the maven's request context sent as an argument.
|
void |
init(java.util.Properties allMavenProps) |
boolean |
isInitialized() |
boolean |
resolutionRepositoriesConfigured()
Checks whether Artifactory resolution repositories have been configured.
|
public void init(java.util.Properties allMavenProps)
public boolean isInitialized()
public java.lang.String getScopeByRequestContext(java.lang.String requestContext)
requestContext - The deployed artifact's request context.public java.lang.String getRepoReleaseUrl()
public java.lang.String getRepoSnapshotUrl()
public boolean resolutionRepositoriesConfigured()
public java.lang.String getRepoUsername()
public java.lang.String getRepoPassword()
public java.lang.String getProxyHost()
public java.lang.Integer getProxyPort()
public java.lang.String getProxyUsername()
public java.lang.String getProxyPassword()