1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.handlers
;
14 import org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TraceEventComponent
;
15 import org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TraceSessionComponent
;
18 * Class containing parameter for a command execution.
20 * @author Bernd Hufmann
22 public class EventCommandParameter
extends CommandParameter
{
24 // ------------------------------------------------------------------------
26 // ------------------------------------------------------------------------
28 private TraceEventComponent fEvent
;
30 // ------------------------------------------------------------------------
32 // ------------------------------------------------------------------------
36 * @param session - a trace session component.
37 * @param event - a trace event component
39 public EventCommandParameter(TraceSessionComponent session
, TraceEventComponent event
) {
44 // ------------------------------------------------------------------------
46 // ------------------------------------------------------------------------
49 * @return the trace event component
51 public TraceEventComponent
getEvent() {
55 // ------------------------------------------------------------------------
57 // ------------------------------------------------------------------------
60 public EventCommandParameter
clone() {
61 EventCommandParameter clone
= (EventCommandParameter
) super.clone();
62 clone
.fEvent
= fEvent
;