|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.exam.container.def.options.RepositoryOptionImpl
public class RepositoryOptionImpl
RepositoryOption
implementations.
This is the implementation that bridges nice api with actual string representation in pax runner.
Constructor Summary | |
---|---|
RepositoryOptionImpl(java.lang.String repositoryUrl)
Constructor. |
Method Summary | |
---|---|
RepositoryOptionImpl |
allowSnapshots()
Mark repository as allowing snapshots. |
RepositoryOptionImpl |
disableReleases()
Mark repository as not allowing releases. |
java.lang.String |
getRepository()
Returns the full repository url. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepositoryOptionImpl(java.lang.String repositoryUrl)
repositoryUrl
- repository url (cannot be null or empty)
java.lang.IllegalArgumentException
- - If repository url is null or emptyMethod Detail |
---|
public RepositoryOptionImpl allowSnapshots()
allowSnapshots
in interface RepositoryOption
public RepositoryOptionImpl disableReleases()
disableReleases
in interface RepositoryOption
public java.lang.String getRepository()
java.lang.IllegalStateException
- - if both snapshots and releases are not allowedpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |