1 /**********************************************************************
2 * Copyright (c) 2012 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
.ui
.views
.control
.handlers
;
14 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.model
.impl
.TraceDomainComponent
;
15 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.model
.impl
.TraceSessionComponent
;
18 * Class containing parameter for the command execution.
20 * @author Bernd Hufmann
22 public class DomainCommandParameter
extends CommandParameter
{
24 // ------------------------------------------------------------------------
26 // ------------------------------------------------------------------------
28 private TraceDomainComponent fDomain
;
31 // ------------------------------------------------------------------------
33 // ------------------------------------------------------------------------
37 * @param session - a trace session component.
38 * @param domain - a trace domain component
40 public DomainCommandParameter(TraceSessionComponent session
, TraceDomainComponent domain
) {
45 // ------------------------------------------------------------------------
47 // ------------------------------------------------------------------------
50 * @return the trace domain component
52 public TraceDomainComponent
getDomain() {
56 // ------------------------------------------------------------------------
58 // ------------------------------------------------------------------------
62 * @see java.lang.Object#clone()
65 public DomainCommandParameter
clone() {
66 DomainCommandParameter clone
= (DomainCommandParameter
) super.clone();
67 clone
.fDomain
= fDomain
;