Class EnvInjectPluginConfiguration

    • Constructor Detail

      • EnvInjectPluginConfiguration

        @DataBoundConstructor
        public EnvInjectPluginConfiguration()
    • Method Detail

      • isHideInjectedVars

        public boolean isHideInjectedVars()
      • setHideInjectedVars

        @DataBoundSetter
        public void setHideInjectedVars​(boolean hideInjectedVars)
      • isEnablePermissions

        public boolean isEnablePermissions()
      • setEnablePermissions

        @DataBoundSetter
        public void setEnablePermissions​(boolean enabledPermissions)
      • isEnableLoadingFromMaster

        public boolean isEnableLoadingFromMaster()
        Check if the instance supports loading of scripts and property files from the master. It does not prevent local loading of files.
        Returns:
        true if it is enabled
        Since:
        2.0
        See Also:
        EnvInjectJobPropertyInfo.loadFilesFromMaster
      • setEnableLoadingFromMaster

        @DataBoundSetter
        public void setEnableLoadingFromMaster​(boolean enableLoadingFromMaster)
      • getOrFail

        @NonNull
        public static EnvInjectPluginConfiguration getOrFail()
                                                      throws org.jenkinsci.lib.envinject.EnvInjectException
        Retrieves the EnvInject global configuration.
        Returns:
        Settings
        Throws:
        org.jenkinsci.lib.envinject.EnvInjectException - The configuration cannot be retrieved