hudson.scm.browsers
Class IntegrityWebUI

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
      extended by hudson.scm.RepositoryBrowser<IntegrityChangeLogSet.IntegrityChangeLog>
          extended by hudson.scm.IntegrityRepositoryBrowser
              extended by hudson.scm.browsers.IntegrityWebUI
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable

public class IntegrityWebUI
extends IntegrityRepositoryBrowser

See Also:
Serialized Form

Nested Class Summary
static class IntegrityWebUI.IntegrityWebUIDescriptorImpl
          The relationship of Descriptor and Browser (the describable) is akin to class and object.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 String url
          The URL of the Integrity Configuration Management Server For example: http://hostname:7001 NOTE: This is optional and is used as an override to the URL found within the IntegrityChangeLogSet.getIntegrityURL()
static IntegrityWebUI.IntegrityWebUIDescriptorImpl WEBUI_DESCRIPTOR
           
 
Constructor Summary
IntegrityWebUI(String url)
          Provides a mechanism to override the URL for the Change Log Set
 
Method Summary
 URL getChangeSetLink(IntegrityChangeLogSet.IntegrityChangeLog logEntry)
          At this point we don't have a separate link for the Change Set itself Each entry essentially is a change set within itself Returns an Integrity annotation view link for a specific file
 hudson.model.Descriptor<hudson.scm.RepositoryBrowser<?>> getDescriptor()
          Returns the Descriptor> for the IntegrityWebUI object.
 URL getDiffLink(IntegrityChangeLogSet.IntegrityChangeLog logEntry)
          Returns an Integrity differences link for a specific file
 
Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

public final String url
The URL of the Integrity Configuration Management Server For example: http://hostname:7001 NOTE: This is optional and is used as an override to the URL found within the IntegrityChangeLogSet.getIntegrityURL()


WEBUI_DESCRIPTOR

@Extension
public static final IntegrityWebUI.IntegrityWebUIDescriptorImpl WEBUI_DESCRIPTOR
Constructor Detail

IntegrityWebUI

@DataBoundConstructor
public IntegrityWebUI(String url)
Provides a mechanism to override the URL for the Change Log Set

Parameters:
url -
Method Detail

getDescriptor

public hudson.model.Descriptor<hudson.scm.RepositoryBrowser<?>> getDescriptor()
Returns the Descriptor> for the IntegrityWebUI object. The IntegrityWebUIDescriptorImpl is used to create new instances of the IntegrityWebUI.

Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>

getDiffLink

public URL getDiffLink(IntegrityChangeLogSet.IntegrityChangeLog logEntry)
                throws IOException
Returns an Integrity differences link for a specific file

Specified by:
getDiffLink in class IntegrityRepositoryBrowser
Returns:
URL containing the link to difference two revisions
Throws:
IOException

getChangeSetLink

public URL getChangeSetLink(IntegrityChangeLogSet.IntegrityChangeLog logEntry)
                     throws IOException
At this point we don't have a separate link for the Change Set itself Each entry essentially is a change set within itself Returns an Integrity annotation view link for a specific file

Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<IntegrityChangeLogSet.IntegrityChangeLog>
Throws:
IOException


Copyright © 2004-2012 Hudson. All Rights Reserved.