hudson.plugins.collabnet.browser
Class TeamForge

java.lang.Object
  extended by hudson.scm.RepositoryBrowser<hudson.scm.SubversionChangeLogSet.LogEntry>
      extended by hudson.scm.SubversionRepositoryBrowser
          extended by hudson.plugins.collabnet.browser.TeamForge
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable

public class TeamForge
extends hudson.scm.SubversionRepositoryBrowser

See Also:
Serialized Form

Nested Class Summary
static class TeamForge.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static TeamForge.DescriptorImpl DESCRIPTOR
           
 
Constructor Summary
TeamForge(java.lang.String project, java.lang.String repo, boolean overrideAuth)
           
TeamForge(java.lang.String collabneturl, java.lang.String username, java.lang.String password, java.lang.String project, java.lang.String repo, boolean overrideAuth)
          Simple constructors for rebuilding the object from config data.
TeamForge(java.lang.String collabneturl, java.lang.String username, java.lang.String password, java.lang.String project, java.lang.String repo, OverrideAuth override_auth)
          DataBoundConstructor for building the object from form data.
 
Method Summary
 java.net.URL getChangeSetLink(hudson.scm.SubversionChangeLogSet.LogEntry changeSet)
           
 java.lang.String getCollabNetUrl()
           
 TeamForge.DescriptorImpl getDescriptor()
           
 java.net.URL getDiffLink(hudson.scm.SubversionChangeLogSet.Path path)
           
 java.net.URL getFileLink(hudson.scm.SubversionChangeLogSet.Path path)
           
 java.lang.String getPassword()
           
 java.lang.String getProject()
           
 java.lang.String[] getProjects()
           
 java.lang.String getRepo()
           
 java.lang.String[] getRepos()
           
static TeamForgeShare.TeamForgeShareDescriptor getTeamForgeShareDescriptor()
           
 java.lang.String getUsername()
           
 boolean overrideAuth()
           
 
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

DESCRIPTOR

@Extension
public static final TeamForge.DescriptorImpl DESCRIPTOR
Constructor Detail

TeamForge

@DataBoundConstructor
public TeamForge(java.lang.String collabneturl,
                                      java.lang.String username,
                                      java.lang.String password,
                                      java.lang.String project,
                                      java.lang.String repo,
                                      OverrideAuth override_auth)
DataBoundConstructor for building the object from form data.


TeamForge

public TeamForge(java.lang.String collabneturl,
                 java.lang.String username,
                 java.lang.String password,
                 java.lang.String project,
                 java.lang.String repo,
                 boolean overrideAuth)
Simple constructors for rebuilding the object from config data.


TeamForge

public TeamForge(java.lang.String project,
                 java.lang.String repo,
                 boolean overrideAuth)
Method Detail

getDescriptor

public TeamForge.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>
Overrides:
getDescriptor in class hudson.scm.RepositoryBrowser<hudson.scm.SubversionChangeLogSet.LogEntry>

overrideAuth

public boolean overrideAuth()
Returns:
whether or not auth is overriden

getCollabNetUrl

public java.lang.String getCollabNetUrl()
Returns:
the collabneturl for the CollabNet server.

getUsername

public java.lang.String getUsername()
Returns:
the username used for logging in.

getPassword

public java.lang.String getPassword()
Returns:
the password used for logging in.

getProject

public java.lang.String getProject()

getRepo

public java.lang.String getRepo()

getTeamForgeShareDescriptor

public static TeamForgeShare.TeamForgeShareDescriptor getTeamForgeShareDescriptor()
Returns:
the TeamForge share descriptor.

getProjects

public java.lang.String[] getProjects()
Returns:
the list of all possible projects, given the login data.

getRepos

public java.lang.String[] getRepos()
Returns:
the list of all possible repos, given the login and project.

getFileLink

public java.net.URL getFileLink(hudson.scm.SubversionChangeLogSet.Path path)
                         throws java.io.IOException
Specified by:
getFileLink in class hudson.scm.SubversionRepositoryBrowser
Throws:
java.io.IOException

getDiffLink

public java.net.URL getDiffLink(hudson.scm.SubversionChangeLogSet.Path path)
                         throws java.io.IOException
Specified by:
getDiffLink in class hudson.scm.SubversionRepositoryBrowser
Throws:
java.io.IOException

getChangeSetLink

public java.net.URL getChangeSetLink(hudson.scm.SubversionChangeLogSet.LogEntry changeSet)
                              throws java.io.IOException
Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<hudson.scm.SubversionChangeLogSet.LogEntry>
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.