blob: 92007580ab70987668bc3ba5dc0470242355f97a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 NumberFour AG
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* NumberFour AG - initial API and Implementation (Alex Panchenko)
*******************************************************************************/
package org.eclipse.dltk.core.builder;
/**
* This interface can be optionally implemented by {@link IBuildParticipant} to
* be notified about dependencies - other {@link IBuildParticipant}s depending
* on this one. Notification happens before the build, but after
* {@link IBuildParticipantExtension#beginBuild(int)}.
*/
public interface IBuildParticipantExtension4 extends IBuildParticipant {
/**
* Notifies this participant about dependents.
*
* @param dependents
* not null, not empty
*/
void notifyDependents(IBuildParticipant[] dependents);
/**
* Is called after all participants were called for the module.
*
* @param context
*/
void afterBuild(IBuildContext context);
}