All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hudson.model.EnvironmentSpecific Maven / Gradle / Ivy

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