Package org.kohsuke.stapler.jelly.groovy
Class StaplerClosureScript
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
org.kohsuke.stapler.jelly.groovy.GroovyClosureScript
org.kohsuke.stapler.jelly.groovy.StaplerClosureScript
- All Implemented Interfaces:
groovy.lang.GroovyObject
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLooks up the resource bundle with the given key, and returns that string, or otherwise return 'text' as-is.Looks up the resource bundle with the given key, formats with arguments, then return that formatted string.Methods inherited from class org.kohsuke.stapler.jelly.groovy.GroovyClosureScript
getDelegate, getProperty, invokeMethod, setDelegate, setPropertyMethods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, print, printf, printf, println, println, run, run, setBindingMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
-
Field Details
-
scriptURL
Where was this script loaded from?
-
-
Constructor Details
-
StaplerClosureScript
public StaplerClosureScript()
-
-
Method Details
-
gettext
Looks up the resource bundle with the given key, and returns that string, or otherwise return 'text' as-is. -
gettext
Looks up the resource bundle with the given key, formats with arguments, then return that formatted string.
-