public class ManifestInspector extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUNDLE_BUILD_NUMBER |
static String |
BUNDLE_NAME |
static String |
BUNDLE_TIMESTAMP |
static String |
BUNDLE_VERSION |
static String |
MANIFEST_LOCATION
Location of the MANIFEST.MF file
|
static String |
NO_BUILD_INFORMATION_AVAILABLE |
Constructor and Description |
---|
ManifestInspector() |
Modifier and Type | Method and Description |
---|---|
protected BuildInformation |
getBuildInformation(Manifest manifest)
Examine the manifest provided for build information.
|
String |
getBuildInformationString(ServletContext context)
Obtain version information from MANIFEST.MF
|
protected Manifest |
getManifest(ServletContext servletContext)
Return a Manifest object
|
protected boolean |
isNullOrEmpty(BuildInformation bi)
Return true if BuildInformation is null or does not contain any meaningful information.
|
String |
toString(BuildInformation bi)
Convert the build information POJO to a display String
|
public static final String MANIFEST_LOCATION
public static final String BUNDLE_NAME
public static final String BUNDLE_VERSION
public static final String BUNDLE_TIMESTAMP
public static final String BUNDLE_BUILD_NUMBER
public static final String NO_BUILD_INFORMATION_AVAILABLE
public ManifestInspector()
protected Manifest getManifest(ServletContext servletContext) throws IOException
IOException
protected BuildInformation getBuildInformation(Manifest manifest)
public String getBuildInformationString(ServletContext context) throws IOException
IOException
protected boolean isNullOrEmpty(BuildInformation bi)
public String toString(BuildInformation bi)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.