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:
  • Method Summary

    Modifier and Type
    Method
    Description
    forEnvironment(EnvVars environment)
    Returns a specialized copy of T for functioning in the given environment.
  • Method Details

    • forEnvironment

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