@Extension
public static final class FailedJobDeactivator.DescriptorImpl
extends hudson.model.JobPropertyDescriptor
FailedJobDeactivator.| Constructor and Description |
|---|
FailedJobDeactivator.DescriptorImpl()
Loads the persisted global configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Safes global configuration.
|
hudson.util.FormValidation |
doCheckAdminNotification(String value)
Performs on-the-fly validation of the form field 'adminNotification'.
|
hudson.util.FormValidation |
doCheckCountOfLastUsersToGetNotified(int value)
Performs on-the-fly validation of the form field
'countOfLastUsersToGetNotified'.
|
hudson.util.FormValidation |
doCheckGlobalLastManuallyTriggered(int value)
Performs on-the-fly validation of the form field
'globalLastManuallyTriggered'.
|
hudson.util.FormValidation |
doCheckGlobalLastSuccessfulBuild(int value)
Performs on-the-fly validation of the form field
'globalLastSuccessfulBuild'.
|
hudson.util.FormValidation |
doCheckLastManuallyTriggered(int value)
Performs on-the-fly validation of the form field
'lastManuallyTriggered'.
|
hudson.util.FormValidation |
doCheckLastSuccessfulBuild(int value)
Performs on-the-fly validation of the form field
'lastSuccessfulBuild'.
|
String |
getAdminNotification() |
List<com.sonyericsson.jenkins.plugins.bfa.model.FailureCause> |
getAvailableFailureCauses()
Reads all available failure causes from Build Failure Analyzer
Plugin.
|
int |
getCountOfLastUsersToGetNotified() |
int |
getDefaultGlobalLastManuallyTriggered() |
int |
getDefaultGlobalLastSuccessfulBuild() |
boolean |
getDeleteJobsWithoutFailureCauses() |
boolean |
getDeleteNeverBuiltJobs() |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
int |
getGlobalLastManuallyTriggered() |
int |
getGlobalLastSuccessfulBuild() |
List<String[]> |
getJobHandling() |
boolean |
isApplicable(Class<? extends hudson.model.Job> jobType)
Indicates that this builder can be used with all kinds of project
types.
|
all, getPropertyDescriptors, newInstanceaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic FailedJobDeactivator.DescriptorImpl()
public hudson.util.FormValidation doCheckLastManuallyTriggered(@QueryParameter
int value)
throws IOException,
javax.servlet.ServletException
value - This parameter receives the value that the user has typed.IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckLastSuccessfulBuild(@QueryParameter
int value)
throws IOException,
javax.servlet.ServletException
value - This parameter receives the value that the user has typed.IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckAdminNotification(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckGlobalLastSuccessfulBuild(@QueryParameter
int value)
throws IOException,
javax.servlet.ServletException
value - IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckGlobalLastManuallyTriggered(@QueryParameter
int value)
throws IOException,
javax.servlet.ServletException
value - IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckCountOfLastUsersToGetNotified(@QueryParameter
int value)
throws IOException,
javax.servlet.ServletException
value - IOExceptionjavax.servlet.ServletExceptionpublic boolean isApplicable(Class<? extends hudson.model.Job> jobType)
isApplicable in class hudson.model.JobPropertyDescriptorpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.model.JobProperty<?>>hudson.model.Descriptor.FormExceptionpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.model.JobProperty<?>>public String getAdminNotification()
public boolean getDeleteNeverBuiltJobs()
public boolean getDeleteJobsWithoutFailureCauses()
public List<String[]> getJobHandling()
public int getGlobalLastManuallyTriggered()
public int getGlobalLastSuccessfulBuild()
public int getCountOfLastUsersToGetNotified()
public int getDefaultGlobalLastManuallyTriggered()
public int getDefaultGlobalLastSuccessfulBuild()
public List<com.sonyericsson.jenkins.plugins.bfa.model.FailureCause> getAvailableFailureCauses()
Copyright © 2004-2015. All Rights Reserved.