org.sonar.batch.bootstrapper
Class EnvironmentInformation
java.lang.Object
org.sonar.batch.bootstrapper.EnvironmentInformation
- All Implemented Interfaces:
- BatchComponent
public class EnvironmentInformation
- extends Object
- implements BatchComponent
Describes execution environment.
- Since:
- 2.6
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvironmentInformation
public EnvironmentInformation(String key,
String version)
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.