Class UninstantiatedDescribableWithInterpolation

java.lang.Object
org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable
org.jenkinsci.plugins.workflow.cps.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:
  • Field Summary

    Fields inherited from class org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable

    ANONYMOUS_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    UninstantiatedDescribableWithInterpolation(String symbol, String klass, Map<String,?> arguments, Set<String> interpolatedStrings)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    int
     

    Methods inherited from class org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable

    from, getArguments, getKlass, getModel, getSymbol, hasSoleRequiredArgument, instantiate, instantiate, instantiate, instantiate, setKlass, setModel, setSymbol, toMap, toShallowMap, toString, withArguments

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UninstantiatedDescribableWithInterpolation

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

    • 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