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

io.cloudevents.sql.Result Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
package io.cloudevents.sql;

import java.util.Collection;

/**
 * Result of an expression evaluation.
 */
public interface Result {

    /**
     * @return the result of the expression evaluation, which could be a {@link String}, a {@link Integer} or a {@link Boolean}.
     */
    Object value();

    /**
     * @return true if the causes collection is not empty.
     */
    boolean isFailed();

    /**
     * @return the list of evaluation exceptions happened while evaluating the expression.
     */
    Collection causes();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy