|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.lang.Script
org.kohsuke.stapler.jelly.groovy.GroovyClosureScript
org.kohsuke.stapler.jelly.groovy.StaplerClosureScript
public abstract class StaplerClosureScript
Field Summary | |
---|---|
protected URL |
scriptURL
Where was this script loaded from? |
Constructor Summary | |
---|---|
StaplerClosureScript()
|
Method Summary | |
---|---|
String |
_(String text)
Looks up the resource bundle with the given key, and returns that string, or otherwise return 'text' as-is. |
String |
_(String key,
Object... args)
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, setProperty |
Methods inherited from class groovy.lang.Script |
---|
evaluate, evaluate, getBinding, print, printf, printf, println, println, run, run, setBinding |
Methods inherited from class groovy.lang.GroovyObjectSupport |
---|
getMetaClass, setMetaClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected URL scriptURL
Constructor Detail |
---|
public StaplerClosureScript()
Method Detail |
---|
public String _(String text)
public String _(String key, Object... args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |