Class ScmUrlImportDescription


  • public class ScmUrlImportDescription
    extends Object
    Describes how a bundle import will be executed. A bundle importer delegate creates bundle import descriptions when it validates bundle manifests for importing. The result, a set of bundle import descriptions is then passed to TeamUI, which basing on the info from the descriptions instantiate and initialize IScmUrlImportWizardPage pages. The pages can be used to alter the default import configuration e.g. for bundles stored in a CVS repository the user may want to check out HEAD rather than a specific version.

    EXPERIMENTAL. This class has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the Team team.

    Since:
    3.6
    • Constructor Detail

      • ScmUrlImportDescription

        public ScmUrlImportDescription​(String url,
                                       String project)
    • Method Detail

      • getProject

        public String getProject()
        Returns:
        project name
      • getUrl

        public String getUrl()
        SCM URL
        Returns:
        a string representation of the SCM URL
      • getUri

        public URI getUri()
      • setUrl

        public void setUrl​(String url)
      • setProperty

        public void setProperty​(String key,
                                Object value)
        Sets or removes a client property.
        Parameters:
        key - property key
        value - property value or null to remove the property
      • getProperty

        public Object getProperty​(String key)
        Returns the specified client property, or null if none.
        Parameters:
        key - property key
        Returns:
        property value or null