Class SystemCommandLanguage
- java.lang.Object
-
- org.jenkinsci.plugins.scriptsecurity.scripts.Language
-
- org.jenkinsci.plugins.scriptsecurity.scripts.languages.SystemCommandLanguage
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class SystemCommandLanguage extends Language
Language for launched processes, as perUtil.tokenize(String)
andProcessBuilder
. Typically the launch is on the master so arbitrary content could be dangerous.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SystemCommandLanguage()
-
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
-
-