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%2FICommandResult.java;h=b64320a7fb800bb3fc5c0e67fb72b3ae0d400315;hb=a6e6f7b4c37dc5adce8b2deeaf1d360b1284ad46;hp=b8c9bd4c451b7e963d5e38409107e93317965729;hpb=dbd4432dd9f427af47e9755cbf67b18e2e47b001;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/ICommandResult.java b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/ICommandResult.java index b8c9bd4c45..b64320a7fb 100644 --- a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/ICommandResult.java +++ b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/ICommandResult.java @@ -1,12 +1,12 @@ /********************************************************************** - * 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 * accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * + * Contributors: * Bernd Hufmann - Initial API and implementation *********************************************************************/ package org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote; @@ -15,30 +15,35 @@ package org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote; *

* Interface for providing command execution result. *

- * + * * @author Bernd Hufmann */ public interface ICommandResult { /** - * The result of the command. - * @return 0 if successful else >0 + * The result of the command. + * + * @return 0 if successful else >0 */ - public int getResult() ; + int getResult(); /** * Sets the command result value. + * * @param result + * The integer result to set */ - public void setResult(int result); + void setResult(int result); /** * @return returns the command output. */ - public String[] getOutput(); + String[] getOutput(); /** * Sets the command output. + * * @param output + * The output (as an array of Strings) to assign */ - public void setOutput(String[] output); + void setOutput(String[] output); } \ No newline at end of file