Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: c35a2e7de486df90aaae3aaeba331ec3c96d780f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                
                                                        


                                                                        
                                                            


                                          
  
                 
                                            
                                                                                 



                                        



                                    
          




                                                                                         
 
           

                                                                                           

                               
 
/*******************************************************************************
 *  Copyright (c) 2004, 2012 IBM Corporation and others.
 *
 *  This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License 2.0
 *  which accompanies this distribution, and is available at
 *  https://www.eclipse.org/legal/epl-2.0/
 *
 *  SPDX-License-Identifier: EPL-2.0
 *
 *  Contributors:
 *      IBM - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.core;

/**
 * A basic interface for console parsers
 */
public interface IConsoleParser {
	/**
	 * Parse one line of output.
	 *
	 * @param line
	 * @return true if line was successfully processed; skip other console parsers<p>
	 * 		   false - try other console parsers
	 */
	public boolean processLine(String line);

	/**
	 * Called to let the parser know that the end of the error stream has been reached.
	 * Can be used by the parser to flush its internal buffers.
	 */
	public void shutdown();
}

Back to the top