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

public class DescribableAttribute<Owner,Type> extends Attribute<Owner,Type>
Author:
Nicolas De Loof
  • Constructor Details

  • Method Details

    • possibleValues

      public List<String> possibleValues()
      Description copied from class: Attribute
      If this attribute is constrained to a limited set of value, here they are
      Overrides:
      possibleValues in class Attribute<Owner,Type>
      Returns:
      A list of possible types
    • getPreferredSymbol

      public static String getPreferredSymbol(Descriptor d, Class extensionPoint, Class target)
      Retrieve the preferred symbol for this descriptor
    • getSymbols

      public static List<String> getSymbols(Descriptor d, Class extensionPoint, Class target)
      Retrieve all possible symbols for this descriptor, first one being preferred one. If a Symbol annotation is set, all values are accepted the last one being preferred