1 /**********************************************************************
2 * Copyright (c) 2012, 2015 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
.tracecompass
.tmf
.remote
.core
.shell
;
14 import java
.util
.List
;
18 * Interface for providing command execution result.
20 * @author Bernd Hufmann
22 public interface ICommandResult
{
24 * The result of the command.
26 * @return 0 if successful else >0
31 * Return the command output.
33 * It should not be null, but could be empty.
34 * It should return an immutable list.
36 * @return the command output.
38 List
<String
> getOutput();
41 * Return the command error output.
43 * It should not be null, but could be empty.
44 * It should return an immutable list.
46 * @return the command error output.
48 List
<String
> getErrorOutput();
This page took 0.073007 seconds and 5 git commands to generate.