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

hudson.remoting.ChannelProperty Maven / Gradle / Ivy

Go to download

Contains the bootstrap code to bridge separate JVMs into a single semi-shared space. Reusable outside Hudson.

The newest version!
/*******************************************************************************
 *
 * Copyright (c) 2010, InfraDNA, Inc.
 *
 * 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: 
 *
 *
 *******************************************************************************/ 

package hudson.remoting;

/**
 * A convenient key type for {@link Channel#getProperty(Object)} and {@link Channel#setProperty(Object, Object)}
 *
 * @author Kohsuke Kawaguchi
 */
public class ChannelProperty {
    public final Class type;
    public final String displayName;

    public ChannelProperty(Class type, String displayName) {
        this.type = type;
        this.displayName = displayName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy