Package patterntesting.runtime.jmx
Class Info
- java.lang.Object
-
- patterntesting.runtime.jmx.Info
-
- All Implemented Interfaces:
InfoMBean
public class Info extends java.lang.Object implements InfoMBean
This Info bean is registered as MBean and provides some information about PatternTesting. Since 1.6 it can be now subclassed and provides information from the Manifest file.- Since:
- 1.4 (06.04.2014)
- Author:
- oliver (boehm@javatux.de)
-
-
Field Summary
Fields Modifier and Type Field Description static Info
PATTERNTESTING
Info about PatternTesting itself.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getBuildTime()
Gets the builds the time of PatternTesting.java.util.SortedMap<java.lang.String,java.lang.String>
getInfos()
Gets the properties, but sorted and as map.java.util.jar.Manifest
getManifest()
Gets the manifest.java.net.URI
getManifestURI()
Gets the manifest uri.java.util.Properties
getProperties()
Gets the properties.java.lang.String
getVersion()
Gets the version.
-
-
-
Field Detail
-
PATTERNTESTING
public static final Info PATTERNTESTING
Info about PatternTesting itself.
-
-
Method Detail
-
getManifest
public java.util.jar.Manifest getManifest()
Gets the manifest.- Returns:
- the manifest
- Since:
- 1.6
-
getManifestURI
public java.net.URI getManifestURI()
Gets the manifest uri.- Specified by:
getManifestURI
in interfaceInfoMBean
- Returns:
- the manifest uri
- Since:
- 1.6
-
getProperties
public java.util.Properties getProperties()
Gets the properties.- Returns:
- the properties
- Since:
- 1.6
-
getInfos
public java.util.SortedMap<java.lang.String,java.lang.String> getInfos()
Gets the properties, but sorted and as map.- Returns:
- the infos
- See Also:
getProperties()
-
getVersion
public java.lang.String getVersion()
Gets the version.- Specified by:
getVersion
in interfaceInfoMBean
- Returns:
- the version
- See Also:
InfoMBean.getVersion()
-
getBuildTime
public java.util.Date getBuildTime()
Gets the builds the time of PatternTesting.- Specified by:
getBuildTime
in interfaceInfoMBean
- Returns:
- the builds the time
-
-