blob: 1fc566bebe03ed3b02fa2702b16a90c87966a241 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 Code 9 and others. 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:
* Code 9 - initial API and implementation
******************************************************************************/
package org.eclipse.equinox.p2.publisher.eclipse;
import java.io.File;
import java.util.Map;
import java.util.Properties;
import org.eclipse.equinox.p2.publisher.IPublisherAdvice;
public interface IBundleAdvice extends IPublisherAdvice {
/**
* Returns the set of extra properties to be associated with the IU for the bundle
* at the given location
* @param location the location of the feature to advise
* @return extra properties for the given feature
*/
public Properties getIUProperties(File location);
/**
* Returns the set of extra properties to be associated with the artifact descriptor
* being published for the bundle at the given location
* @param location the location of the feature to advise
* @return extra properties for the given feature
*/
public Properties getArtifactProperties(File location);
/**
* Returns a list of additional touchpoint instructions to add to the IU published
* for the bundle at the given location.
* @param location
* @return additonal touchpoint instructions
*/
public Map getInstructions(File location);
}