public class MavenRepositoryURL extends Object
| Constructor and Description |
|---|
MavenRepositoryURL(String repositorySpec)
Creates a maven repository URL bases on a string spec.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Getter.
|
String |
getId()
Getter.
|
String |
getReleasesChecksumPolicy() |
String |
getReleasesUpdatePolicy() |
String |
getSnapshotsChecksumPolicy() |
String |
getSnapshotsUpdatePolicy() |
URL |
getURL()
Getter.
|
boolean |
isFileRepository()
Getter.
|
boolean |
isMulti()
Getter.
|
boolean |
isReleasesEnabled()
Getter.
|
boolean |
isSnapshotsEnabled()
Getter.
|
String |
toString() |
public MavenRepositoryURL(String repositorySpec) throws MalformedURLException
repositorySpec - url spec of repositoryMalformedURLException - if spec contains a malformed maven repository urlorg.ops4j.lang.NullArgumentException - if repository spec is null or emptypublic String getId()
public URL getURL()
public File getFile()
public boolean isReleasesEnabled()
public boolean isSnapshotsEnabled()
public String getReleasesUpdatePolicy()
public String getSnapshotsUpdatePolicy()
public String getReleasesChecksumPolicy()
public String getSnapshotsChecksumPolicy()
public boolean isMulti()
public boolean isFileRepository()
Copyright © 2006–2021 OPS4J - Open Participation Software for Java. All rights reserved.