be1d2abe33539913d93750436ba207aa501ff795
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 *********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.remote
;
16 * Interface for providing command execution result.
19 * @author Bernd Hufmann
21 public interface ICommandResult
{
23 * The result of the command.
25 * @return 0 if successful else >0
30 * Sets the command result value.
33 * The integer result to set
35 void setResult(int result
);
38 * @return returns the command output.
43 * Sets the command output.
46 * The output (as an array of Strings) to assign
48 void setOutput(String
[] output
);
51 * The error output of the command.
53 * @return returns the command error output.
55 String
[] getErrorOutput();
58 * Sets the command output.
61 * The output (as an array of Strings) to assign
63 void setErrorOutput(String
[] output
);
This page took 0.049002 seconds and 4 git commands to generate.