com.greenpepper.util.cmdline.StreamGobbler Maven / Gradle / Ivy
package com.greenpepper.util.cmdline;
import java.util.List;
/**
* StreamGobbler interface.
*
* @author oaouattara
* @version $Id: $Id
*/
public interface StreamGobbler extends Runnable
{
/**
* getOutput.
*
* @return a {@link java.lang.String} object.
*/
public String getOutput();
/**
* getError.
*
* @return a {@link java.lang.String} object.
*/
public String getError();
/**
* getExceptions.
*
* @return a {@link java.util.List} object.
*/
public List getExceptions();
/**
* hasErrors.
*
* @return a boolean.
*/
public boolean hasErrors();
/**
* hasExceptions.
*
* @return a boolean.
*/
public boolean hasExceptions();
/**
* exceptionCaught.
*
* @param e a {@link java.lang.Exception} object.
*/
public void exceptionCaught(Exception e);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy