@Extension
public static class HipChatNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckSendAs(boolean v2Enabled,
String sendAs) |
hudson.util.ListBoxModel |
doFillCardProviderItems() |
hudson.util.ListBoxModel |
doFillCredentialIdItems(hudson.model.Item context,
String server) |
hudson.util.FormValidation |
doSendTestNotification(hudson.model.AbstractProject<?,?> context,
String server,
String credentialId,
boolean v2Enabled,
String room,
String sendAs) |
String |
getCardProvider() |
String |
getCompleteJobMessageDefault() |
String |
getConfigVersion() |
String |
getCredentialId() |
List<NotificationConfig> |
getDefaultNotifications() |
String |
getDisplayName() |
String |
getRoom() |
String |
getSendAs() |
String |
getServer() |
String |
getStartJobMessageDefault() |
String |
getToken() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
boolean |
isMatrixProject(Object project) |
boolean |
isV2Enabled() |
void |
setCardProvider(String cardProvider) |
void |
setConfigVersion(String configVersion) |
void |
setCredentialId(String credentialId) |
void |
setDefaultNotifications(List<NotificationConfig> defaultNotifications) |
void |
setRoom(String room) |
void |
setSendAs(String sendAs) |
void |
setServer(String server) |
void |
setToken(String token) |
void |
setV2Enabled(boolean v2Enabled) |
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getServer()
public void setServer(String server)
public String getCredentialId()
public void setCredentialId(String credentialId)
public String getToken()
public void setToken(String token)
public boolean isV2Enabled()
public void setV2Enabled(boolean v2Enabled)
public String getRoom()
public void setRoom(String room)
public String getSendAs()
public void setSendAs(String sendAs)
public String getCardProvider()
public void setCardProvider(String cardProvider)
public List<NotificationConfig> getDefaultNotifications()
public void setDefaultNotifications(List<NotificationConfig> defaultNotifications)
public String getConfigVersion()
public void setConfigVersion(String configVersion)
public String getStartJobMessageDefault()
public String getCompleteJobMessageDefault()
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
public boolean isMatrixProject(Object project)
public boolean configure(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.model.Descriptor.FormException
public hudson.util.FormValidation doCheckSendAs(@QueryParameter boolean v2Enabled, @QueryParameter String sendAs)
public hudson.util.FormValidation doSendTestNotification(@AncestorInPath hudson.model.AbstractProject<?,?> context, @QueryParameter String server, @QueryParameter String credentialId, @QueryParameter boolean v2Enabled, @QueryParameter String room, @QueryParameter String sendAs)
public hudson.util.ListBoxModel doFillCardProviderItems()
public hudson.util.ListBoxModel doFillCredentialIdItems(@AncestorInPath hudson.model.Item context, @QueryParameter String server)
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
Copyright © 2016–2018. All rights reserved.