@Symbol(value="chatterPost")
@Extension
public static final class ChatterPostStep.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckCredentialsId(String value) |
hudson.util.FormValidation |
doCheckRecordId(String value) |
hudson.util.FormValidation |
doCheckServer(String value) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems(hudson.model.Item item) |
hudson.util.FormValidation |
doTestConnection(String username,
String password,
String recordId,
String server,
String credentialsId,
hudson.model.Item item) |
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
Returns true if this task is applicable to the given project.
|
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath hudson.model.Item item)
public hudson.util.FormValidation doCheckCredentialsId(@QueryParameter String value)
public hudson.util.FormValidation doCheckRecordId(@QueryParameter String value)
public hudson.util.FormValidation doCheckServer(@QueryParameter String value)
public hudson.util.FormValidation doTestConnection(@QueryParameter(value="username") String username, @QueryParameter(value="password") String password, @QueryParameter(value="recordId") String recordId, @QueryParameter(value="server") String server, @QueryParameter(value="credentialsId") String credentialsId, @AncestorInPath hudson.model.Item item)
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
jobType
- check this job type to see if this step is applicableAbstractProject.AbstractProjectDescriptor#isApplicable(Descriptor)
@Nonnull public String getDisplayName()
Class.getSimpleName()
on Descriptor.clazz
, so for example MyThing
from some.pkg.MyThing.DescriptorImpl
.
Historically some implementations returned null as a way of hiding the descriptor from the UI,
but this is generally managed by an explicit method such as isEnabled
or isApplicable
.getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Builder>
Copyright © 2016–2019. All rights reserved.