org.sonar.api.platform
Class Server
java.lang.Object
org.sonar.api.platform.Server
- All Implemented Interfaces:
- BatchComponent, ServerComponent
public abstract class Server
- extends Object
- implements BatchComponent, ServerComponent
- Since:
- 2.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Server
public Server()
getId
public abstract String getId()
getVersion
public abstract String getVersion()
getStartedAt
public abstract Date getStartedAt()
getRootDir
public abstract File getRootDir()
getDeployDir
public abstract File getDeployDir()
getContextPath
public abstract String getContextPath()
getURL
public abstract String getURL()
- Returns:
- the server URL when executed from batch, else null.
- Since:
- 2.4
getPermanentServerId
public abstract String getPermanentServerId()
- Since:
- 2.10
Copyright © 2009–2015 SonarSource. All rights reserved.