01: /*******************************************************************************
02: * Copyright (c) 2005, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM - Initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.build;
11:
12: import java.util.HashMap;
13: import java.util.Map;
14: import org.eclipse.osgi.service.resolver.State;
15:
16: public class PDEUIStateWrapper {
17: private State state;
18: private HashMap classpath;
19: private Map patchData;
20: private long nextId;
21:
22: public void setState(State s) {
23: state = s;
24: }
25:
26: public void setExtraData(HashMap classpath, Map patch) {
27: this .classpath = classpath;
28: this .patchData = patch;
29: }
30:
31: public State getState() {
32: return state;
33: }
34:
35: public HashMap getClasspaths() {
36: return classpath;
37: }
38:
39: public Map getPatchData() {
40: return patchData;
41: }
42:
43: public void setNextId(long nextId) {
44: this .nextId = nextId;
45: }
46:
47: public long getNextId() {
48: return nextId;
49: }
50: }
|