tmf: Bug 460842: Introduce tmf remote plug-ins and feature
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.remote.core / src / org / eclipse / tracecompass / tmf / remote / core / shell / ICommandResult.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2015 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.tracecompass.tmf.remote.core.shell;
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 *
25 * @return 0 if successful else >0
26 */
27 int getResult();
28
29 /**
30 * @return returns the command output.
31 */
32 String[] getOutput();
33
34 /**
35 * The error output of the command.
36 *
37 * @return returns the command error output.
38 */
39 String[] getErrorOutput();
40 }
This page took 0.032618 seconds and 6 git commands to generate.