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.
|
URL |
getURL()
Getter.
|
boolean |
isFileRepository()
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 urlpublic String getId()
public URL getURL()
public File getFile()
public boolean isReleasesEnabled()
public boolean isSnapshotsEnabled()
public boolean isFileRepository()
Copyright © 2020 JBoss by Red Hat. All rights reserved.