Skip to main content
summaryrefslogtreecommitdiffstats
blob: 149f644dc1128f11f85f9cb4797802892b53ca7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*******************************************************************************
 * Copyright (c) 2007 Innoopract Informationssysteme GmbH
 * 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:
 *    Innoopract - initial API and implementation
 *******************************************************************************/
package org.eclipse.epp.packaging.core.configuration;

import java.net.MalformedURLException;

/**
 * A packager configuration that allows to modify its settings.
 */
public interface IModifiablePackagerConfiguration
  extends IPackagerConfiguration
{

  /**Adds an update site to the configuration.
   * 
   * @param string A string containing the URL of the site.
   * @throws MalformedURLException if the URL is invalid.
   */
  public void addUpdateSite( final String string ) throws MalformedURLException;

  /**Adds the feature [id] with the given version to the list of required features.*/
  public void addRequiredFeature( final String id, final String version );

  /**Sets the designated folder containing the PDE packager config files.*/
  public void setPackagerConfigurationFolder( final String folder );

  /**Sets the extension site's name in the target folder.*/
  public void setExtensionSiteRelative( final String relativeFolder );

  /**Adds a new target platform.*/
  public Platform addTargetPlatform( final String os,
                                     final String ws,
                                     final String arch,
                                     final String eclipseIniFileContent,
                                     final String eclipseIniFilePath );

  /**Sets the RCP version to use.*/
  public void setRcpVersion( final String version );

  /**Sets the folder containing the RCP root files.*/
  public void setRootFileFolder( final String folderName );

  /**Sets the product name to use for the final result.*/
  public void setProductName( final String name );
}

Back to the top