|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.plugins.collabnet.filerelease.CNFileRelease.DescriptorImpl
@Extension public static final class CNFileRelease.DescriptorImpl
The CNFileRelease Descriptor class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
CNFileRelease.DescriptorImpl()
|
|
| Method Summary | |
|---|---|
boolean |
canInheritAuth()
|
hudson.util.FormValidation |
doCollabNetUrlCheck(java.lang.String value)
Form validation for the CollabNet URL. |
void |
doGetPackages(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Gets a list of packages to choose from and write them as a JSON string into the response data. |
void |
doGetProjects(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Gets a list of projects to choose from and write them as a JSON string into the response data. |
void |
doGetReleases(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Gets a list of releases to choose from and write them as a JSON string into the response data. |
hudson.util.FormValidation |
doPackageCheck(org.kohsuke.stapler.StaplerRequest req)
Form validation for package. |
hudson.util.FormValidation |
doPasswordCheck(org.kohsuke.stapler.StaplerRequest req)
Check that a password is present and allows login. |
hudson.util.FormValidation |
doProjectCheck(org.kohsuke.stapler.StaplerRequest req)
Form validation for the project field. |
hudson.util.FormValidation |
doReleaseCheck(org.kohsuke.stapler.StaplerRequest req)
Form validation for release. |
hudson.util.FormValidation |
doRequiredCheck(java.lang.String value,
java.lang.String name)
Form validation for username. |
hudson.util.FormValidation |
doUnRequiredInterpretedCheck(java.lang.String value,
java.lang.String name)
Form validation for the file patterns. |
java.lang.String |
getDisplayName()
|
java.lang.String |
getHelpFile()
|
static java.lang.String |
getHelpUrl()
|
int |
getUniqueId()
|
boolean |
isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
Allows this plugin to be used as a promotion task. |
CNFileRelease |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Creates a new instance of CNFileRelease from a submitted
form. |
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
|---|
filter |
| Methods inherited from class hudson.model.Descriptor |
|---|
configure, configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, 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 |
|---|
public CNFileRelease.DescriptorImpl()
| Method Detail |
|---|
public int getUniqueId()
public java.lang.String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public static java.lang.String getHelpUrl()
public java.lang.String getHelpFile()
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>public boolean canInheritAuth()
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>jobType - a class to check for applicability.
public CNFileRelease newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
CNFileRelease from a submitted
form.
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>req - config page parameters.formData - data specific to this section, in json form.
FormException
hudson.model.Descriptor.FormException
public hudson.util.FormValidation doCollabNetUrlCheck(@QueryParameter
java.lang.String value)
value - url
public hudson.util.FormValidation doPasswordCheck(org.kohsuke.stapler.StaplerRequest req)
req - contains parameters from the config.jelly.
public hudson.util.FormValidation doProjectCheck(org.kohsuke.stapler.StaplerRequest req)
req - contains parameters from the config.jelly.
public hudson.util.FormValidation doRequiredCheck(@QueryParameter
java.lang.String value,
@QueryParameter
java.lang.String name)
value - name - of field
public hudson.util.FormValidation doPackageCheck(org.kohsuke.stapler.StaplerRequest req)
req - StaplerRequest which contains parameters from the config.jelly.
public hudson.util.FormValidation doReleaseCheck(org.kohsuke.stapler.StaplerRequest req)
req - StaplerRequest which contains parameters from the config.jelly.
public hudson.util.FormValidation doUnRequiredInterpretedCheck(@QueryParameter
java.lang.String value,
@QueryParameter
java.lang.String name)
value - name - of field
public void doGetProjects(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
req - contains parameters from
the config.jelly.rsp - http response data.
java.io.IOException
public void doGetPackages(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
req - contains parameters from
the config.jelly.rsp - http response data.
java.io.IOException
public void doGetReleases(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
req - contains parameters from
the config.jelly.rsp - http response data.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||