Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogblamecommitdiffstats
blob: 3666ede76ceb468d2228db059d969d4e2b404e6b (plain) (tree)


















































                                                                                 
/*******************************************************************************
 * Copyright (c) 2002, 2005 IBM Corporation and others.
 * 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

package org.eclipse.wst.ws.internal.explorer;

/**
 * @author cbrealey@ca.ibm.com
 * 
 * This simple class is used to hold a single Web Services
 * Explorer launch option property and its value. Allowed
 * launch option properties are defined by
 * <code>{@link LaunchOptions}</code>.
 */
public class LaunchOption {
	private String key_;

	private String option_;

	/*
	 * Constructs a new launch option with the given
	 * property name and value. 
	 */
	public LaunchOption(String key, String option) {
		key_ = key;
		option_ = option;
	}

	/**
	 * Returns the property name of this launch option.
	 * @return The property name.
	 */
	public String getKey() {
		return key_;
	}

	/**
	 * Returns the property value of this launch option.
	 * @return The property value.
	 */
	public String getOption() {
		return option_;
	}
}

Back to the top