/*******************************************************************************
 * Copyright (c) 2007, 2008 IBM 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.cosmos.internal.dr.drs.service.handler.common;

import java.util.Map;

import org.eclipse.cosmos.provisional.dr.drs.service.handler.common.IParameters;

public class MapParameterImpl implements IParameters {

	protected Map<String, String> parameters;
	public MapParameterImpl(Map<String, String> parameters){
		this.parameters = parameters;
	}	
	public String getParameter(String name) {
		return parameters.get(name);
	}

	public Map getParameterMap(){
		return parameters;
	}	
}
