Class Language
java.lang.Object
org.jenkinsci.plugins.scriptsecurity.scripts.Language
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
GroovyLanguage
,GroovyShellLanguage
,GroovyXmlLanguage
,JellyLanguage
,JexlLanguage
,SystemCommandLanguage
A language for which we can request
ScriptApproval
.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Language
public Language()
-
-
Method Details
-
getName
Unique, permanent, internal identifier of this language.- Returns:
- a short unlocalized identifier, such as might be used for a filename extension
-
getDisplayName
Display name of the language for use in the UI.- Returns:
- a localized name
-
getCodeMirrorMode
A CodeMirror mode string, for purposes of displaying scripts in HTML.- Returns:
- a mode such as
clike
, or null
-