blob: 272528aeaa59a60faa910f7584abc7746f5e226f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2019 Xored Software Inc and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.ctx.parameters.impl;
import java.util.HashMap;
public class ParametersRuntime {
public static String PLUGIN_ID = "org.eclipse.rcptt.ctx.parameters";
private static HashMap<String, String> params = new HashMap<String, String>();
public static void resetParams() {
params.clear();
}
public static String getParam(String name) {
return params.get(name);
}
public static void setParam(String name, String value) {
params.put(name, value);
}
}