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

com.openshift.restclient.model.IPort Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2015 Red Hat, Inc.
 * Distributed under license by Red Hat, Inc. All rights reserved.
 * This program is 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:
 *     Red Hat, Inc. - initial API and implementation
 ******************************************************************************/
package com.openshift.restclient.model;

/**
 * Port details.
 * @author jeff.cantrill
 *
 */
public interface IPort {
	
	/**
	 * The name of the port
	 * 
	 * @return the name or null if undefined.
	 */
	String getName();
	
	int getContainerPort();
	
	String getProtocol();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy