|
||||||||||
| 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 java.net.URL |
scriptURL
Where was this script loaded from? |
| Constructor Summary | |
|---|---|
StaplerClosureScript()
|
|
| Method Summary | |
|---|---|
java.lang.String |
_(java.lang.String text)
Looks up the resource bundle with the given key, and returns that string, or otherwise return 'text' as-is. |
java.lang.String |
_(java.lang.String key,
java.lang.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 java.net.URL scriptURL
| Constructor Detail |
|---|
public StaplerClosureScript()
| Method Detail |
|---|
public java.lang.String _(java.lang.String text)
public java.lang.String _(java.lang.String key,
java.lang.Object... args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||