public interface IFeatureURLElement extends IFeatureObject
| Modifier and Type | Field and Description |
|---|---|
static int |
DISCOVERY
Indicates that this is a discovery URL.
|
static String |
P_SITE_TYPE
This property name will be used to notify
about changes in the 'siteType' field.
|
static String |
P_URL
This property name will be used to notify
about changes in the "URL" field.
|
static int |
UPDATE
Indicates that this is an update URL.
|
static int |
UPDATE_SITE
Indicates that the site is a regular update site.
|
static int |
WEB_SITE
Indicates that the site is a Web site.
|
P_LABEL| Modifier and Type | Method and Description |
|---|---|
int |
getElementType()
Returns the type of this URL element (UPDATE or DISCOVERY)
|
int |
getSiteType()
Returns the type of the site with the specified URL.
|
URL |
getURL()
Returns the URL of this element.
|
void |
setSiteType(int siteType)
Sets the type of the site with the specified URL.
|
void |
setURL(URL url)
Sets the URL of this element.
|
getFeature, getLabel, getModel, getParent, getTranslatableLabel, isInTheModel, setLabelgetAdapterstatic final int UPDATE
static final int DISCOVERY
static final int UPDATE_SITE
static final int WEB_SITE
static final String P_URL
static final String P_SITE_TYPE
int getElementType()
int getSiteType()
void setURL(URL url) throws CoreException
url - the new URLCoreExceptionvoid setSiteType(int siteType) throws CoreException
UPDATE_SITE - or WEB_SITECoreException