Class RobotPassTokenMacro

java.lang.Object
org.jenkinsci.plugins.tokenmacro.TokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
hudson.plugins.robot.tokens.RobotPassTokenMacro
All Implemented Interfaces:
ExtensionPoint

@Extension(optional=true) public class RobotPassTokenMacro extends org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro

    org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.Parameter

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
     

    Fields inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro

    escapeHtml
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    evaluate(AbstractBuild<?,?> context, TaskListener listener, String macroName)
     
    evaluate(Run<?,?> context, FilePath workspace, TaskListener listener, String macroName)
     

    Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro

    evaluate, evaluate, handlesHtmlEscapeInternally, hasNestedContent

    Methods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro

    all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAcceptedMacroNames, getAutoCompleteList, getPreviousRun, getWorkspace

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • onlyCritical

      public boolean onlyCritical
  • Constructor Details

    • RobotPassTokenMacro

      public RobotPassTokenMacro()
  • Method Details

    • evaluate

      public String evaluate(AbstractBuild<?,?> context, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException
      Specified by:
      evaluate in class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      Throws:
      org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
      IOException
      InterruptedException
    • evaluate

      public String evaluate(Run<?,?> context, FilePath workspace, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
      Overrides:
      evaluate in class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      Throws:
      org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
    • acceptsMacroName

      public boolean acceptsMacroName(String macroName)
      Specified by:
      acceptsMacroName in class org.jenkinsci.plugins.tokenmacro.TokenMacro