Improve package tangle index for LTTng 2.0 control design
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / remote / ICommandResult.java
CommitLineData
eb1bab5b
BH
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 *********************************************************************/
9315aeee 12package org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote;
eb1bab5b
BH
13
14/**
15 * <b><u>IommandResult</u></b>
16 * <p>
17 * Interface for providing command execution result.
18 * </p>
19 */
20public interface ICommandResult {
21 /**
22 * The result of the command.
23 * @return 0 if successful else >0
24 */
25 public int getResult() ;
26
27 /**
28 * Sets the command result value.
29 * @param result
30 */
31 public void setResult(int result);
32
33 /**
34 * @return returns the command output.
35 */
36 public String[] getOutput();
37
38 /**
39 * Sets the command output.
40 * @param output
41 */
42 public void setOutput(String[] output);
43}
This page took 0.033685 seconds and 5 git commands to generate.