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
orGroovyXmlLanguage
. Not to be confused with unprocessed strings controlled bySystemCommandLanguage
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GroovyShellLanguage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Language
get()
String
getDisplayName()
Display name of the language for use in the UI.String
getName()
Unique, permanent, internal identifier of this language.-
Methods inherited from class org.jenkinsci.plugins.scriptsecurity.scripts.Language
getCodeMirrorMode
-
-
-
-
Method Detail
-
get
public static Language get()
-
getName
@NonNull public String getName()
Description copied from class:Language
Unique, permanent, internal identifier of this language.
-
getDisplayName
@NonNull public String getDisplayName()
Description copied from class:Language
Display name of the language for use in the UI.- Specified by:
getDisplayName
in classLanguage
- Returns:
- a localized name
-
-