Class ExpressionConditional.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescriptor<S>
org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditionalDescriptor<ExpressionConditional>
org.jenkinsci.plugins.pipeline.modeldefinition.when.impl.ExpressionConditional.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
ExpressionConditional

@Extension @Symbol("expression") public static class ExpressionConditional.DescriptorImpl extends org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditionalDescriptor<ExpressionConditional>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<ExpressionConditional>
    • inDirectiveGenerator

      public boolean inDirectiveGenerator()
      ExpressionConditional has no form equivalent without jumping through some hoops, so...
      Overrides:
      inDirectiveGenerator in class org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditionalDescriptor<ExpressionConditional>
    • transformToRuntimeAST

      public org.codehaus.groovy.ast.expr.Expression transformToRuntimeAST(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhenContent original)
      Specified by:
      transformToRuntimeAST in class org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditionalDescriptor<ExpressionConditional>
    • instanceFromClosure

      public static ExpressionConditional instanceFromClosure(groovy.lang.Closure c)