Class WatcherNodeProperty.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<P>
-
- hudson.tools.PropertyDescriptor<NodeProperty<?>,Node>
-
- hudson.slaves.NodePropertyDescriptor
-
- org.jenkinsci.plugins.mailwatcher.WatcherNodeProperty.DescriptorImpl
-
- Enclosing class:
- WatcherNodeProperty
@Extension public static class WatcherNodeProperty.DescriptorImpl extends NodePropertyDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description static String
OFFLINE_ADDRESSES
static String
ONLINE_ADDRESSES
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckOfflineAddresses(String value)
FormValidation
doCheckOnlineAddresses(String value)
String
getDisplayName()
boolean
isApplicable(Class<? extends Node> nodeType)
NodeProperty<?>
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
-
Methods inherited from class hudson.slaves.NodePropertyDescriptor
isApplicableAsGlobal
-
Methods inherited from class hudson.tools.PropertyDescriptor
for_, for_
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
OFFLINE_ADDRESSES
public static final String OFFLINE_ADDRESSES
- See Also:
- Constant Field Values
-
ONLINE_ADDRESSES
public static final String ONLINE_ADDRESSES
- See Also:
- Constant Field Values
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends Node> nodeType)
- Overrides:
isApplicable
in classPropertyDescriptor<NodeProperty<?>,Node>
-
newInstance
public NodeProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<NodeProperty<?>>
- Throws:
Descriptor.FormException
-
doCheckOnlineAddresses
public FormValidation doCheckOnlineAddresses(@QueryParameter String value)
-
doCheckOfflineAddresses
public FormValidation doCheckOfflineAddresses(@QueryParameter String value)
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<NodeProperty<?>>
-
-