hudson.plugins.cmake
Class CmakeBuilder.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
hudson.plugins.cmake.CmakeBuilder.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- CmakeBuilder
@Extension
public static final class CmakeBuilder.DescriptorImpl
- extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
Descriptor for CmakeBuilder. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See views/hudson/plugins/hello_world/CmakeBuilder/*.jelly
for the actual HTML fragment for the configuration screen.
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
|
Method Summary |
java.lang.String |
cmakePath()
|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject o)
|
hudson.util.FormValidation |
doCheckBuildDir(java.lang.String value)
Performs on-the-fly validation of the form field 'name'. |
hudson.util.FormValidation |
doCheckBuildType(java.lang.String value)
Performs on-the-fly validation of the form field 'buildType'. |
hudson.util.FormValidation |
doCheckMakeCommand(java.lang.String value)
Performs on-the-fly validation of the form field 'makeCommand'. |
hudson.util.FormValidation |
doCheckSourceDir(hudson.model.AbstractProject project,
java.lang.String value)
|
java.lang.String |
getDisplayName()
This human readable name is used in the configuration screen. |
boolean |
isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
|
hudson.tasks.Builder |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
filter |
| Methods inherited from class hudson.model.Descriptor |
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, 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 |
CmakeBuilder.DescriptorImpl
public CmakeBuilder.DescriptorImpl()
doCheckSourceDir
public hudson.util.FormValidation doCheckSourceDir(@AncestorInPath
hudson.model.AbstractProject project,
@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
doCheckBuildDir
public hudson.util.FormValidation doCheckBuildDir(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Performs on-the-fly validation of the form field 'name'.
- Parameters:
value -
- Throws:
java.io.IOException
javax.servlet.ServletException
doCheckBuildType
public hudson.util.FormValidation doCheckBuildType(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Performs on-the-fly validation of the form field 'buildType'.
- Parameters:
value -
- Throws:
java.io.IOException
javax.servlet.ServletException
doCheckMakeCommand
public hudson.util.FormValidation doCheckMakeCommand(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Performs on-the-fly validation of the form field 'makeCommand'.
- Parameters:
value -
- Throws:
java.io.IOException
javax.servlet.ServletException
getDisplayName
public java.lang.String getDisplayName()
- This human readable name is used in the configuration screen.
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject o)
throws hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Builder>
- Throws:
hudson.model.Descriptor.FormException
cmakePath
public java.lang.String cmakePath()
newInstance
public hudson.tasks.Builder newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Builder>
- Throws:
hudson.model.Descriptor.FormException
isApplicable
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
- Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
Copyright © 2009. All Rights Reserved.