Package org.jvnet.hudson.plugins
Class SbtPluginBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- org.jvnet.hudson.plugins.SbtPluginBuilder.DescriptorImpl
-
- Enclosing class:
- SbtPluginBuilder
@Extension public static final class SbtPluginBuilder.DescriptorImpl extends BuildStepDescriptor<Builder>
Descriptor forSbtPluginBuilder
. Used as a singleton. The class is marked as public so that it can be accessed from views. SeeSbtPluginBuilder/*.jelly
for the actual HTML fragment for the configuration screen.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
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 String
getDisplayName()
This human readable name is used in the configuration screen.SbtPluginBuilder.SbtInstallation[]
getInstallations()
SbtPluginBuilder.SbtInstallation.DescriptorImpl
getToolDescriptor()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
void
setInstallations(SbtPluginBuilder.SbtInstallation... sbtInstallations)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<Builder>
-
getToolDescriptor
public SbtPluginBuilder.SbtInstallation.DescriptorImpl getToolDescriptor()
-
getInstallations
public SbtPluginBuilder.SbtInstallation[] getInstallations()
-
setInstallations
public void setInstallations(SbtPluginBuilder.SbtInstallation... sbtInstallations)
-
-