/**********************************************************************
- * Copyright (c) 2012 Ericsson
- *
+ * Copyright (c) 2012, 2013 Ericsson
+ *
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
+ *
+ * Contributors:
* Bernd Hufmann - Initial API and implementation
*********************************************************************/
package org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote;
* <p>
* Interface for providing command execution result.
* </p>
- *
+ *
* @author Bernd Hufmann
*/
public interface ICommandResult {
/**
- * The result of the command.
- * @return 0 if successful else >0
+ * The result of the command.
+ *
+ * @return 0 if successful else >0
*/
- public int getResult() ;
+ int getResult();
/**
* Sets the command result value.
+ *
* @param result
+ * The integer result to set
*/
- public void setResult(int result);
+ void setResult(int result);
/**
* @return returns the command output.
*/
- public String[] getOutput();
+ String[] getOutput();
/**
* Sets the command output.
+ *
* @param output
+ * The output (as an array of Strings) to assign
*/
- public void setOutput(String[] output);
+ void setOutput(String[] output);
}
\ No newline at end of file