All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rabbitmq.jms.parse.Compiler Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
/* Copyright (c) 2013 Pivotal Software, Inc. All rights reserved. */
package com.rabbitmq.jms.parse;

/**
 * A {@link Compiler} produces compiled code. Compiled code is produced as a {@link String}.
 * 

* Compiling never throws an exception, but instead returns prematurely. * The {@link #compileOk()} method indicates success or failure, and {@link #getErrorMessage()} * describes the error if {@link #compileOk()} returns false. *

*/ public interface Compiler { /** * Return the compiled code. This call is idempotent. * @return the compiled code */ String compile(); /** * Returns true if the compiled code is complete and compilation successful, false otherwise. * This call is idempotent. * @return true if the compiled code is complete and successful, false otherwise. */ boolean compileOk(); /** * This call is idempotent. * @return a message indicating the error during the compilation if there was one. */ String getErrorMessage(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy