Class StaplerClosureScript

    • Field Detail

      • scriptURL

        protected URL scriptURL
        Where was this script loaded from?
    • Constructor Detail

      • StaplerClosureScript

        public StaplerClosureScript()
    • Method Detail

      • gettext

        public String gettext​(String text)
        Looks up the resource bundle with the given key, and returns that string, or otherwise return 'text' as-is.
      • gettext

        public String gettext​(String key,
                              Object... args)
        Looks up the resource bundle with the given key, formats with arguments, then return that formatted string.