b8c9bd4c451b7e963d5e38409107e93317965729
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / remote / ICommandResult.java
1 /**********************************************************************
2 * Copyright (c) 2012 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 *********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote;
13
14 /**
15 * <p>
16 * Interface for providing command execution result.
17 * </p>
18 *
19 * @author Bernd Hufmann
20 */
21 public interface ICommandResult {
22 /**
23 * The result of the command.
24 * @return 0 if successful else >0
25 */
26 public int getResult() ;
27
28 /**
29 * Sets the command result value.
30 * @param result
31 */
32 public void setResult(int result);
33
34 /**
35 * @return returns the command output.
36 */
37 public String[] getOutput();
38
39 /**
40 * Sets the command output.
41 * @param output
42 */
43 public void setOutput(String[] output);
44 }
This page took 0.037254 seconds and 4 git commands to generate.