public class ProjectInfo extends Object
Modifier and Type | Method and Description |
---|---|
String |
buildTime()
Object the artifact build time from the manifest.
|
static ProjectInfo |
getProjectInfo()
Return a ProjectInfo singleton instance.
|
String |
minimumRecommendedSparkVersion()
Obtain the minimum recommended Spark version from the manifest.
|
SortedMap<String,String> |
properties()
Obtain all the properties from the manifest as a sorted map.
|
String |
property(String key)
Obtain a manifest property value based on the key.
|
String |
toString() |
String |
version()
Obtain the project version from the manifest.
|
public static ProjectInfo getProjectInfo()
public String property(String key)
key
- the property keypublic String version()
public String buildTime()
public String minimumRecommendedSparkVersion()
Copyright © 2017 The Apache Software Foundation. All rights reserved.