hudson.plugins.clearcase
Class ClearCaseSCM.ClearCaseScmDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<hudson.scm.SCM>
      extended by hudson.scm.SCMDescriptor<ClearCaseSCM>
          extended by hudson.plugins.clearcase.ClearCaseSCM.ClearCaseScmDescriptor
All Implemented Interfaces:
hudson.model.ModelObject
Enclosing class:
ClearCaseSCM

public static final class ClearCaseSCM.ClearCaseScmDescriptor
extends hudson.scm.SCMDescriptor<ClearCaseSCM>
implements hudson.model.ModelObject

Clear case SCM descriptor

Author:
Erik Ramfelt

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException
 
Field Summary
 
Fields inherited from class hudson.scm.SCMDescriptor
generation, repositoryBrowser
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Constructor Summary
protected ClearCaseSCM.ClearCaseScmDescriptor()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req)
           
 void doCleartoolExeCheck(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Checks if clear tool executable exists.
 void doConfigSpecCheck(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 void doVersion(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Displays "cleartool -version" for trouble shooting.
 void doViewNameCheck(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.lang.String getCleartoolExe()
           
 java.lang.String getDisplayName()
           
 hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req)
           
 
Methods inherited from class hudson.scm.SCMDescriptor
getBrowserDescriptors, isBrowserReusable
 
Methods inherited from class hudson.model.Descriptor
configure, convert, find, getConfigPage, getGlobalConfigPage, getHelpFile, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearCaseSCM.ClearCaseScmDescriptor

protected ClearCaseSCM.ClearCaseScmDescriptor()
Method Detail

getCleartoolExe

public java.lang.String getCleartoolExe()

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.ModelObject
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req)
Overrides:
configure in class hudson.model.Descriptor<hudson.scm.SCM>

newInstance

public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req)
                           throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.scm.SCM>
Throws:
hudson.model.Descriptor.FormException

doCleartoolExeCheck

public void doCleartoolExeCheck(org.kohsuke.stapler.StaplerRequest req,
                                org.kohsuke.stapler.StaplerResponse rsp)
                         throws java.io.IOException,
                                javax.servlet.ServletException
Checks if clear tool executable exists.

Throws:
java.io.IOException
javax.servlet.ServletException

doViewNameCheck

public void doViewNameCheck(org.kohsuke.stapler.StaplerRequest req,
                            org.kohsuke.stapler.StaplerResponse rsp)
                     throws java.io.IOException,
                            javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doConfigSpecCheck

public void doConfigSpecCheck(org.kohsuke.stapler.StaplerRequest req,
                              org.kohsuke.stapler.StaplerResponse rsp)
                       throws java.io.IOException,
                              javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doVersion

public void doVersion(org.kohsuke.stapler.StaplerRequest req,
                      org.kohsuke.stapler.StaplerResponse rsp)
               throws java.io.IOException,
                      javax.servlet.ServletException,
                      java.lang.InterruptedException
Displays "cleartool -version" for trouble shooting.

Throws:
java.io.IOException
javax.servlet.ServletException
java.lang.InterruptedException


Copyright © 2007. All Rights Reserved.