org.sonar.batch.bootstrapper
Class EnvironmentInformation

java.lang.Object
  extended by org.sonar.batch.bootstrapper.EnvironmentInformation
All Implemented Interfaces:
BatchComponent

public class EnvironmentInformation
extends Object
implements BatchComponent

Describes execution environment.

Since:
2.6

Constructor Summary
EnvironmentInformation(String key, String version)
           
 
Method Summary
 String getKey()
           
 String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvironmentInformation

public EnvironmentInformation(String key,
                              String version)
Method Detail

getKey

public String getKey()
Returns:
unique key of environment, for example - "maven", "ant"

getVersion

public String getVersion()
Returns:
version of environment, for example Maven can have "2.2.1" or "3.0.2", but there is no guarantees about format - it's just a string.


Copyright © 2009-2012 SonarSource. All Rights Reserved.