Package io.cnaik
Class GoogleChatNotification.Descriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- io.cnaik.GoogleChatNotification.Descriptor
-
- Enclosing class:
- GoogleChatNotification
@Symbol("googlechatnotification") @Extension public static class GoogleChatNotification.Descriptor extends BuildStepDescriptor<Publisher>
-
-
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 MessageFormat
defaultMessageFormat
static String
PLUGIN_DISPLAY_NAME
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description Descriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
FormValidation
doCheckMessage(String value, MessageFormat messageFormat)
FormValidation
doCheckUrl(String value)
ListBoxModel
doFillMessageFormatItems()
String
getDisplayName()
String
getMessage()
MessageFormat
getMessageFormat()
String
getThreadKey()
String
getUrl()
boolean
isApplicable(Class<? extends AbstractProject> jobType)
boolean
isNotifyAborted()
boolean
isNotifyBackToNormal()
boolean
isNotifyFailure()
boolean
isNotifyNotBuilt()
boolean
isNotifySuccess()
boolean
isNotifyUnstable()
boolean
isSameThreadNotification()
boolean
isSuppressInfoLoggers()
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
PLUGIN_DISPLAY_NAME
public static final String PLUGIN_DISPLAY_NAME
- See Also:
- Constant Field Values
-
defaultMessageFormat
public static final MessageFormat defaultMessageFormat
-
-
Method Detail
-
doCheckUrl
public FormValidation doCheckUrl(@QueryParameter String value)
-
doCheckMessage
public FormValidation doCheckMessage(@QueryParameter String value, @QueryParameter MessageFormat messageFormat)
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
doFillMessageFormatItems
public ListBoxModel doFillMessageFormatItems()
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
getUrl
public String getUrl()
-
getMessage
public String getMessage()
-
getMessageFormat
public MessageFormat getMessageFormat()
-
isSameThreadNotification
public boolean isSameThreadNotification()
-
getThreadKey
public String getThreadKey()
-
isNotifyAborted
public boolean isNotifyAborted()
-
isNotifyFailure
public boolean isNotifyFailure()
-
isNotifyNotBuilt
public boolean isNotifyNotBuilt()
-
isNotifySuccess
public boolean isNotifySuccess()
-
isNotifyUnstable
public boolean isNotifyUnstable()
-
isNotifyBackToNormal
public boolean isNotifyBackToNormal()
-
isSuppressInfoLoggers
public boolean isSuppressInfoLoggers()
-
-