Class GroovyLanguage
java.lang.Object
org.jenkinsci.plugins.scriptsecurity.scripts.Language
org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyLanguage
- All Implemented Interfaces:
ExtensionPoint
Language for Groovy scripts.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GroovyLanguage
public GroovyLanguage()
-
-
Method Details
-
get
-
getName
Description copied from class:Language
Unique, permanent, internal identifier of this language. -
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
-
getCodeMirrorMode
Description copied from class:Language
A CodeMirror mode string, for purposes of displaying scripts in HTML.- Overrides:
getCodeMirrorMode
in classLanguage
- Returns:
- a mode such as
clike
, or null
-