Class EnvInjectInfo

java.lang.Object
org.jenkinsci.plugins.envinject.EnvInjectInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EnvInjectJobPropertyInfo

public class EnvInjectInfo extends Object implements Serializable
Author:
Gregory Boissinot
See Also:
  • Field Details

    • propertiesFilePath

      @CheckForNull protected String propertiesFilePath
    • propertiesContent

      @CheckForNull protected String propertiesContent
    • populateTriggerCause

      @Deprecated @CheckForNull protected transient boolean populateTriggerCause
      Deprecated.
  • Constructor Details

    • EnvInjectInfo

      @DataBoundConstructor public EnvInjectInfo(String propertiesFilePath, String propertiesContent)
  • Method Details

    • getPropertiesFilePath

      @CheckForNull public String getPropertiesFilePath()
    • getPropertiesContent

      @CheckForNull public String getPropertiesContent()
    • getPropertiesContentMap

      @CheckForNull public Map<String,String> getPropertiesContentMap(@NonNull Map<String,String> currentEnvVars)
    • fixCrLf

      @Nullable protected String fixCrLf(@CheckForNull String s)
      Fix CR/LF and always make it Unix style.
      Returns:
      String with fixed line endings. May return null only for null input