
hudson.model.EnvironmentSpecific Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hudson-core Show documentation
Show all versions of hudson-core Show documentation
Contains the core Hudson code and view files to render HTML.
The newest version!
/*******************************************************************************
*
* Copyright (c) 2004-2009 Oracle Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*
* Tom Huybrechts
*
*
*******************************************************************************/
package hudson.model;
import hudson.EnvVars;
import hudson.slaves.NodeSpecific;
/**
* Represents any concept that can be adapted for a certain environment.
*
* Mainly for documentation purposes.
*
* @since 1.286
* @param Concrete type that represents the thing that can be adapted.
* @see NodeSpecific
*/
public interface EnvironmentSpecific> {
/**
* Returns a specialized copy of T for functioning in the given environment.
*/
T forEnvironment(EnvVars environment);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy