Class DescribableAttribute<Owner,Type>
java.lang.Object
io.jenkins.plugins.casc.Attribute<Owner,Type>
io.jenkins.plugins.casc.impl.attributes.DescribableAttribute<Owner,Type>
- Direct Known Subclasses:
DescribableListAttribute
- Author:
- Nicolas De Loof
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.plugins.casc.Attribute
Attribute.Getter<O,
T>, Attribute.Setter<O, T> -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPreferredSymbol
(Descriptor d, Class extensionPoint, Class target) Retrieve the preferred symbol for this descriptorgetSymbols
(Descriptor d, Class extensionPoint, Class target) Retrieve all possible symbols for this descriptor, first one being preferred one.If this attribute is constrained to a limited set of value, here they areMethods inherited from class io.jenkins.plugins.casc.Attribute
alias, calculateIfSecret, deprecated, describe, describeForSchema, equals, equals, get, getAliases, getGetter, getName, getRestrictions, getSetter, getter, getType, getValue, hashCode, isDeprecated, isMultiple, isRestricted, isSecret, multiple, noop, preferredName, restrictions, secret, setJsonSchema, setter, setValue, toString
-
Constructor Details
-
DescribableAttribute
-
-
Method Details
-
possibleValues
Description copied from class:Attribute
If this attribute is constrained to a limited set of value, here they are- Overrides:
possibleValues
in classAttribute<Owner,
Type> - Returns:
- A list of possible types
-
getPreferredSymbol
Retrieve the preferred symbol for this descriptor -
getSymbols
Retrieve all possible symbols for this descriptor, first one being preferred one. If aSymbol
annotation is set, all values are accepted the last one being preferred
-