@Extension @Symbol(value="toolLocation") public static class ToolLocationNodeProperty.DescriptorImpl extends NodePropertyDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
String |
getKey(ToolInstallation installation) |
DescriptorExtensionList<ToolInstallation,ToolDescriptor<?>> |
getToolDescriptors() |
boolean |
isApplicable(Class<? extends Node> nodeType)
Returns true if this property type is applicable to the
given target type.
|
isApplicableAsGlobal
for_, for_
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
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<NodeProperty<?>>
public DescriptorExtensionList<ToolInstallation,ToolDescriptor<?>> getToolDescriptors()
public String getKey(ToolInstallation installation)
public boolean isApplicable(Class<? extends Node> nodeType)
PropertyDescriptor
The default implementation of this method checks if the given node type is assignable according to the parameterization, but subtypes can extend this to change this behavior.
isApplicable
in class PropertyDescriptor<NodeProperty<?>,Node>
Copyright © 2004–2022. All rights reserved.