1 /**********************************************************************
2 * Copyright (c) 2012 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
.ui
.views
.control
.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
27 public int getResult();
30 * Sets the command result value.
33 * The integer result to set
35 public void setResult(int result
);
38 * @return returns the command output.
40 public String
[] getOutput();
43 * Sets the command output.
46 * The output (as an array of Strings) to assign
48 public void setOutput(String
[] output
);
This page took 0.055218 seconds and 5 git commands to generate.