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

com.openshift.restclient.capability.ICapability 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.
 ******************************************************************************/
package com.openshift.restclient.capability;

/**
 * @author Jeff Cantrill
 */
public interface ICapability {
	
	static final String OPENSHIFT_BINARY_LOCATION = "openshift.restclient.oc.location";
	
	/**
	 * Allow the implementation of the capability to determine
	 * if it is supported on the OpenShift server.  Implementations
	 * should return false if they can not
	 * 
	 * @return true if the capability exists
	 */
	boolean isSupported();
	
	/**
	 * Well known name of the capability
	 * @return
	 */
	String getName();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy