Eclipse Platform
Release 3.7

org.eclipse.team.core
Class ScmUrlImportDescription

java.lang.Object
  extended by org.eclipse.team.core.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 Summary
ScmUrlImportDescription(String url, String project)
           
 
Method Summary
 String getProject()
           
 Object getProperty(String key)
          Returns the specified client property, or null if none.
 URI getUri()
           
 String getUrl()
          SCM URL
 void setProperty(String key, Object value)
          Sets or removes a client property.
 void setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Eclipse Platform
Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.