Constructor and Description |
---|
Server() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getContextPath()
Deprecated.
in 5.4. Web context path can not be configured. It's always
"" . See https://jira.sonarsource.com/browse/SONAR-7122 |
abstract File |
getDeployDir() |
abstract String |
getId() |
abstract String |
getPermanentServerId() |
abstract String |
getPublicRootUrl()
Return the public root url, for instance : https://nemo.sonarqube.org.
|
abstract File |
getRootDir() |
abstract Date |
getStartedAt() |
abstract String |
getURL() |
abstract String |
getVersion() |
abstract boolean |
isDev()
The dev mode is enabled when the property sonar.web.dev is true.
|
abstract boolean |
isSecured()
Return whether or not the {#getPublicRootUrl} is started with https.
|
public Server()
public abstract String getVersion()
public abstract Date getStartedAt()
public abstract File getRootDir()
@CheckForNull public abstract File getDeployDir()
@Deprecated public abstract String getContextPath()
""
. See https://jira.sonarsource.com/browse/SONAR-7122public abstract String getPublicRootUrl()
CoreProperties.SERVER_BASE_URL_DEFAULT_VALUE
public abstract boolean isDev()
public abstract boolean isSecured()
public abstract String getURL()
public abstract String getPermanentServerId()
Copyright © 2009–2016 SonarSource. All rights reserved.