Class ScriptWrapper

  • All Implemented Interfaces:
    ExtensionPoint

    @Extension
    public class ScriptWrapper
    extends org.jenkinsci.plugins.workflow.cps.GlobalVariable
    • Constructor Detail

      • ScriptWrapper

        public ScriptWrapper()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in class org.jenkinsci.plugins.workflow.cps.GlobalVariable
      • getValue

        public Object getValue​(org.jenkinsci.plugins.workflow.cps.CpsScript script)
                        throws Exception
        Specified by:
        getValue in class org.jenkinsci.plugins.workflow.cps.GlobalVariable
        Throws:
        Exception
      • setTime

        public void setTime​(String key,
                            String value)