Class UninstantiatedDescribableWithInterpolation

  • All Implemented Interfaces:
    Serializable

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class UninstantiatedDescribableWithInterpolation
    extends org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable
    Some steps have complex argument types (e.g. `checkout` takes SCM). When user use symbol-based syntax with those arguments, an instance of this class is created as the result of DSL.invokeDescribable(String, Object).

    The difference between this class and its parent, UninstantiatedDescribable, is that this class stores the Groovy interpolated strings that were encountered in DSL.flattenGString(Object, Set) via DSL.NamedArgsAndClosure

    See Also:
    Serialized Form
    • Constructor Detail

      • UninstantiatedDescribableWithInterpolation

        public UninstantiatedDescribableWithInterpolation​(String symbol,
                                                          String klass,
                                                          Map<String,​?> arguments,
                                                          Set<String> interpolatedStrings)
    • Method Detail

      • getInterpolatedStrings

        public Set<String> getInterpolatedStrings()
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable