org.sonar.batch
Class ServerMetadata

java.lang.Object
  extended by org.sonar.api.platform.Server
      extended by org.sonar.batch.ServerMetadata
All Implemented Interfaces:
BatchComponent, ServerComponent

public class ServerMetadata
extends Server


Constructor Summary
ServerMetadata(Settings settings)
           
 
Method Summary
 String getId()
           
 String getPermanentServerId()
           
 Date getStartedAt()
           
 String getURL()
           
 String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerMetadata

public ServerMetadata(Settings settings)
Method Detail

getId

public String getId()
Specified by:
getId in class Server

getVersion

public String getVersion()
Specified by:
getVersion in class Server

getStartedAt

public Date getStartedAt()
Specified by:
getStartedAt in class Server

getURL

public String getURL()
Specified by:
getURL in class Server
Returns:
the server URL when executed from batch, else null.

getPermanentServerId

public String getPermanentServerId()
Specified by:
getPermanentServerId in class Server


Copyright © 2009-2012 SonarSource. All Rights Reserved.