hudson.plugins.clearcase
Class ClearCaseSCM.ClearCaseScmDescriptor
java.lang.Object
hudson.model.Descriptor<hudson.scm.SCM>
hudson.scm.SCMDescriptor<ClearCaseSCM>
hudson.plugins.clearcase.ClearCaseSCM.ClearCaseScmDescriptor
- All Implemented Interfaces:
- hudson.model.ModelObject, hudson.model.Saveable
- Enclosing class:
- ClearCaseSCM
public static class ClearCaseSCM.ClearCaseScmDescriptor
- extends hudson.scm.SCMDescriptor<ClearCaseSCM>
- implements hudson.model.ModelObject
ClearCase SCM descriptor
- Author:
- Erik Ramfelt
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Fields inherited from class hudson.scm.SCMDescriptor |
generation, repositoryBrowser |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.scm.SCMDescriptor |
getBrowserDescriptors, isApplicable, isBrowserReusable, load |
| Methods inherited from class hudson.model.Descriptor |
calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearCaseSCM.ClearCaseScmDescriptor
public ClearCaseSCM.ClearCaseScmDescriptor()
getLogMergeTimeWindow
public int getLogMergeTimeWindow()
getCleartoolExe
public java.lang.String getCleartoolExe()
getCleartoolExe
public java.lang.String getCleartoolExe(hudson.model.Node node,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
getDefaultViewName
public java.lang.String getDefaultViewName()
getDefaultViewPath
public java.lang.String getDefaultViewPath()
getDefaultWinDynStorageDir
public java.lang.String getDefaultWinDynStorageDir()
getDefaultUnixDynStorageDir
public java.lang.String getDefaultUnixDynStorageDir()
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,
net.sf.json.JSONObject json)
- Overrides:
configure in class hudson.model.Descriptor<hudson.scm.SCM>
newInstance
public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.scm.SCM>
- Throws:
hudson.model.Descriptor.FormException
doCleartoolExeCheck
public hudson.util.FormValidation doCleartoolExeCheck(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Checks if cleartool executable exists.
- Throws:
java.io.IOException
javax.servlet.ServletException
doExcludedRegionsCheck
public hudson.util.FormValidation doExcludedRegionsCheck(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Validates the excludedRegions Regex
- Throws:
java.io.IOException
javax.servlet.ServletException
doConfigSpecCheck
public hudson.util.FormValidation doConfigSpecCheck(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
doMandatoryCheck
public hudson.util.FormValidation doMandatoryCheck(@QueryParameter
java.lang.String value,
@QueryParameter
java.lang.String errorText)
throws java.io.IOException,
javax.servlet.ServletException
- Raises an error if the parameter value isnt set.
- 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
doListViews
public void doListViews(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException,
java.lang.InterruptedException
- Throws:
java.io.IOException
javax.servlet.ServletException
java.lang.InterruptedException
getInstallations
public ClearCaseInstallation[] getInstallations()
setInstallations
public void setInstallations(ClearCaseInstallation[] installations)
Copyright © 2011. All Rights Reserved.