Interface P2Config


@ProviderType public interface P2Config
Configuration for P2 repositories.
  • Method Summary

    Modifier and Type
    Method
    Description
    The location to store the index file.
    location(String string)
    The location to store the index file with a default passed.
    name(String defaultName)
    Name of the repository
     
    boolean
    Deprecated. 
    url()
    The URL to either the P2 repository (a directory) or an Eclipse target platform
  • Method Details

    • name

      String name(String defaultName)
      Name of the repository
      Parameters:
      defaultName - will be used if no name set
    • url

      URI url()
      The URL to either the P2 repository (a directory) or an Eclipse target platform
    • location

      String location()
      The location to store the index file.
    • location

      String location(String string)
      The location to store the index file with a default passed.
    • tags

      String tags()
      Returns:
      a comma separated list of tags.
    • targetPlatform

      @Deprecated boolean targetPlatform()
      Deprecated.
      If not set or false, this assumes a P2 repository, i.e. the url points to a P2 repository directory. If set to true, the url is assumed to point to an Eclipse Target platform.