Class Options

    • Constructor Detail

      • Options

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

      • 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()
      • setOptions

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

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

        public static void invalidateCaches()
      • getEligibleWrapperStepClasses

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

        public static Map<String,​String> getEligibleDeclarativeOptionTypeClasses()
      • getAllowedOptionTypes

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

        public static String typeForKey​(@NonNull
                                        String key)