Class eclipse.sites.SiteConfiguration
Interface for an in-memory representation of a site configuration resource. Objects of
this interface are used as parameters, and returned by, methods of the eclipse.sites.SiteService
API.
Defined in: </shared/eclipse/e4/orion/I201105191253/plugins/org.eclipse.orion.client.core/static/js/sites/siteService.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Optional: A hint used to derive the domain name when the site is launched as a subdomain.
|
|
Gives information about the status of this site configuration.
|
|
The mappings defined by this site configuration.
|
|
The name of the site configuration.
|
|
The workspace id that this site configuration is associated with.
|
Field Detail
{String}
HostHint
Optional: A hint used to derive the domain name when the site is launched as a subdomain.
{Object}
HostingStatus
Gives information about the status of this site configuration. Has the following properties:
- {String}
Status
Status of this site. Value is either"started"
or"stopped"
. - {String}
URL
Optional, gives the URL where the running site can be accessed. Only present if theStatus
is"started"
.
{Array}
Mappings
The mappings defined by this site configuration. Each element has the properties
Source
and Target
, both of type String.
{String}
Name
The name of the site configuration.
{String}
Workspace
The workspace id that this site configuration is associated with.