| /** |
| * Copyright (c) 2020 RBEI and others. |
| * |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v. 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: |
| * Adhith Gopal - Initial API and Implementation |
| * |
| */ |
| package org.eclipse.blockchain.core.events; |
| |
| import java.util.List; |
| |
| import org.eclipse.core.resources.IProject; |
| |
| public interface IBlockchainBuildEvent { |
| /** |
| * This will contain all the compilation errors that occured during the current |
| * build |
| * |
| * @return - Compilation errors of all resources that were built |
| */ |
| List<String> getErrors(); |
| |
| /** |
| * @return - The project for which build was triggered |
| */ |
| IProject getProject(); |
| } |