Debian Codegraph @

bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/TransactionEvent.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2007, 2010 IBM Corporation and others.
3 *
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
8 *
9 * SPDX-License-Identifier: EPL-2.0
10 *
11 * Contributors:
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.equinox.internal.p2.engine;
15
16 import org.eclipse.equinox.p2.engine.IEngine;
17 import org.eclipse.equinox.p2.engine.IProfile;
18
19 import java.util.EventObject;
20
21 /**
22 * @since 2.0
23 */
24 public abstract class TransactionEvent extends EventObject {
25 private static final long serialVersionUID = 6278706971855493984L;
26 protected IProfile profile;
27 protected PhaseSet phaseSet;
28 protected Operand[] operands;
29
30 public TransactionEvent(IProfile profile, PhaseSet phaseSet, Operand[] operands, IEngine engine) {
31 super(engine);
32 this.profile = profile;
33 this.phaseSet = phaseSet;
34 this.operands = operands;
35 }
36
37 public IProfile getProfile() {
38 return profile;
39 }
40 }