public class UserDefinedGlobalVariable
extends org.jenkinsci.plugins.workflow.cps.GlobalVariable
UserDefinedGlobalVariableList
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
UserDefinedGlobalVariable(String name,
File help) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getHelpHtml()
Loads help from user-defined file, if available.
|
String |
getName() |
Object |
getValue(org.jenkinsci.plugins.workflow.cps.CpsScript script) |
int |
hashCode() |
@NonNull public String getName()
getName
in class org.jenkinsci.plugins.workflow.cps.GlobalVariable
@NonNull public Object getValue(@NonNull org.jenkinsci.plugins.workflow.cps.CpsScript script) throws Exception
getValue
in class org.jenkinsci.plugins.workflow.cps.GlobalVariable
Exception
@CheckForNull public String getHelpHtml() throws IOException
IOException
Copyright © 2016–2022. All rights reserved.