@Extension @Symbol(value="jnlp") public static class JNLPLauncher.DescriptorImpl extends Descriptor<ComputerLauncher>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckWebSocket(boolean webSocket,
String tunnel) |
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
boolean |
isWorkDirSupported()
Checks if Work Dir settings should be displayed.
|
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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
Descriptor
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 Descriptor<ComputerLauncher>
public boolean isWorkDirSupported()
config.jelly
before displaying the
JNLPLauncher.workDirSettings
property.
By default the configuration is displayed only for JNLPLauncher
,
but the implementation can be overridden.true
if work directories are supported by the launcher type.public FormValidation doCheckWebSocket(@QueryParameter boolean webSocket, @QueryParameter String tunnel)
Copyright © 2004–2021. All rights reserved.