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 per Util.tokenize(String) and ProcessBuilder. Typically the launch is on the master so arbitrary content could be dangerous.
  • Constructor Details

    • SystemCommandLanguage

      public SystemCommandLanguage()
  • 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