@BatchSide @ServerSide @ComputeEngineSide public abstract class Server extends Object
Constructor and Description |
---|
Server() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getContextPath() |
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()
public abstract String getContextPath()
public 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.