@Extension
public final class PhabricatorNotifierDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
PhabricatorNotifier
. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/hudson/plugins/hello_world/PhabricatorNotifier/*.jelly for the actual HTML fragment for the configuration screen.
Constructor and Description |
---|
PhabricatorNotifierDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.ListBoxModel |
doFillCredentialsIDItems(jenkins.model.Jenkins context,
java.lang.String remoteBase) |
ConduitCredentials |
getCredentials(hudson.model.Job owner) |
java.lang.String |
getCredentialsID() |
java.lang.String |
getDisplayName()
This human readable name is used in the configuration screen.
|
boolean |
getIsBlueOceanEnabled() |
java.lang.String |
getUberallsURL() |
boolean |
isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> aClass) |
void |
setCredentialsID(java.lang.String credentialsID) |
void |
setIsBlueOceanEnabled(boolean value) |
void |
setUberallsURL(java.lang.String value) |
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 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
public java.lang.String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public boolean configure(org.kohsuke.stapler.StaplerRequest req, 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.ListBoxModel doFillCredentialsIDItems(@AncestorInPath jenkins.model.Jenkins context, @QueryParameter java.lang.String remoteBase)
public ConduitCredentials getCredentials(hudson.model.Job owner)
public java.lang.String getCredentialsID()
public void setCredentialsID(java.lang.String credentialsID)
public java.lang.String getUberallsURL()
public void setUberallsURL(java.lang.String value)
public boolean getIsBlueOceanEnabled()
public void setIsBlueOceanEnabled(boolean value)