X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.lttng2.ui%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Finternal%2Flttng2%2Fui%2Fviews%2Fcontrol%2Fremote%2FICommandShell.java;h=2919cea517c845dabe4ce8362ec6e630252c335c;hb=a6e6f7b4c37dc5adce8b2deeaf1d360b1284ad46;hp=da89d3280b098845944e123b523c67d2f6f3889f;hpb=22307af393885de761f4a2e2ee51a00123c75a84;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/ICommandShell.java b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/ICommandShell.java index da89d3280b..2919cea517 100644 --- a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/ICommandShell.java +++ b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/ICommandShell.java @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2012 Ericsson + * Copyright (c) 2012, 2013 Ericsson * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which @@ -29,12 +29,12 @@ public interface ICommandShell { * @throws ExecutionException * If the command fails */ - public void connect() throws ExecutionException; + void connect() throws ExecutionException; /** * Method to disconnect the command shell. */ - public void disconnect(); + void disconnect(); /** * Method to execute a command on the command shell. @@ -47,7 +47,7 @@ public interface ICommandShell { * @throws ExecutionException * If the command fails */ - public ICommandResult executeCommand(String command, + ICommandResult executeCommand(String command, IProgressMonitor monitor) throws ExecutionException; /** @@ -64,7 +64,7 @@ public interface ICommandShell { * @throws ExecutionException * If the command fails */ - public ICommandResult executeCommand(final String command, + ICommandResult executeCommand(final String command, final IProgressMonitor monitor, final boolean checkReturnValue) throws ExecutionException;