Package hudson.model

Interface EnvironmentSpecific<T extends EnvironmentSpecific<T>>

  • Type Parameters:
    T - Concrete type that represents the thing that can be adapted.
    All Known Implementing Classes:
    JDK, Maven.MavenInstallation

    public interface EnvironmentSpecific<T extends EnvironmentSpecific<T>>
    Represents any concept that can be adapted for a certain environment. Mainly for documentation purposes.
    Since:
    1.286
    See Also:
    NodeSpecific
    • Method Detail

      • forEnvironment

        T forEnvironment​(EnvVars environment)
        Returns a specialized copy of T for functioning in the given environment.