java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.model.Options
All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable

@ToString @EqualsAndHashCode public class Options extends Object implements Serializable, groovy.lang.GroovyObject
See Also:
  • Constructor Details

    • Options

      public Options(@NonNull List<JobProperty> properties, @NonNull Map<String,org.jenkinsci.plugins.pipeline.modeldefinition.options.DeclarativeOption> options, @NonNull Map<String,Object> wrappers)
  • Method Details

    • getMetaClass

      public groovy.lang.MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface groovy.lang.GroovyObject
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
    • getBLOCKED_PROPERTIES

      public static List<String> getBLOCKED_PROPERTIES()
    • setProperties

      public void setProperties(List<JobProperty> value)
    • setOptions

      public void setOptions(Map<String,org.jenkinsci.plugins.pipeline.modeldefinition.options.DeclarativeOption> value)
    • setWrappers

      public void setWrappers(Map<String,Object> value)
    • getProperties

      public List<JobProperty> getProperties()
    • getOptions

      public Map<String,org.jenkinsci.plugins.pipeline.modeldefinition.options.DeclarativeOption> getOptions()
    • getWrappers

      public Map<String,Object> getWrappers()
    • invalidateCaches

      public static void invalidateCaches()
    • getEligibleWrapperStepClasses

      public static Map<String,String> getEligibleWrapperStepClasses()
    • getEligibleDeclarativeOptionTypeClasses

      public static Map<String,String> getEligibleDeclarativeOptionTypeClasses()
    • readResolve

      protected Object readResolve() throws IOException
      Throws:
      IOException
    • getAllowedOptionTypes

      public static Map<String,String> getAllowedOptionTypes()
    • typeForKey

      public static String typeForKey(@NonNull String key)