|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<E>
@ExportedBean public abstract class RepositoryBrowser<E extends ChangeLogSet.Entry>
Connects Hudson to repository browsers like ViewCVS or FishEye, so that Hudson can generate links to them.
RepositoryBrowser
instance is normally created as
a result of job configuration, and stores immutable
configuration information (such as the URL of the FishEye site).
RepositoryBrowser
is persisted with SCM
.
To have Hudson recognize RepositoryBrowser
, put Extension
on your Descriptor
.
RepositoryBrowsers
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
Constructor Summary | |
---|---|
RepositoryBrowser()
|
Method Summary | |
---|---|
static DescriptorExtensionList<RepositoryBrowser<?>,Descriptor<RepositoryBrowser<?>>> |
all()
Returns all the registered RepositoryBrowser descriptors. |
abstract URL |
getChangeSetLink(E changeSet)
Determines the link to the given change set. |
protected static URL |
normalizeToEndWithSlash(URL url)
Normalize the URL so that it ends with '/'. |
protected static String |
trimHeadSlash(String s)
If the given string starts with '/', return a string that removes it. |
Methods inherited from class hudson.model.AbstractDescribableImpl |
---|
getDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryBrowser()
Method Detail |
---|
public abstract URL getChangeSetLink(E changeSet) throws IOException
IOException
protected static String trimHeadSlash(String s)
protected static URL normalizeToEndWithSlash(URL url)
An attention is paid to preserve the query parameters in URL if any.
public static DescriptorExtensionList<RepositoryBrowser<?>,Descriptor<RepositoryBrowser<?>>> all()
RepositoryBrowser
descriptors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |