Class GroovyShellLanguage

java.lang.Object
org.jenkinsci.plugins.scriptsecurity.scripts.Language
org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyShellLanguage
All Implemented Interfaces:
ExtensionPoint

@Extension public final class GroovyShellLanguage extends Language
Language for Groovy Template scripts generating Bourne Shell script.

The protection here is about the Groovy scripting, similar to GroovyLanguage or GroovyXmlLanguage. Not to be confused with unprocessed strings controlled by SystemCommandLanguage.

  • Constructor Details

    • GroovyShellLanguage

      public GroovyShellLanguage()
  • Method Details

    • get

      public static Language get()
    • getName

      @NonNull public String getName()
      Description copied from class: Language
      Unique, permanent, internal identifier of this language.
      Specified by:
      getName in class Language
      Returns:
      a short unlocalized identifier, such as might be used for a filename extension
    • getDisplayName

      @NonNull public String getDisplayName()
      Description copied from class: Language
      Display name of the language for use in the UI.
      Specified by:
      getDisplayName in class Language
      Returns:
      a localized name