Record Class SystemStatusInfo
java.lang.Object
java.lang.Record
com.atlassian.bamboo.admin.system.SystemStatusInfo
public record SystemStatusInfo(String systemDate, String systemTime, String uptime, long uptimeMs, String userName, String userTimezone, String userLocale, String systemEncoding, String operatingSystem, String operatingSystemArchitecture, int availableProcessors, String appServerContainer, String javaVersion, String javaVendor, String javaVmSpecificationVersion, String javaVmSpecificationVendor, String javaVmVersion, String javaVmVendor, String javaVmName, String javaRuntimeVersion, String javaRuntimeName, String hostName, String ipAddress, long maxMemory, long totalMemory, long freeMemory, long usedMemory, String bambooVersion, String bambooBuildNumber, String bambooBuildDate)
extends Record
Represents system status information.
- Since:
- 12.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSystemStatusInfo(String systemDate, String systemTime, String uptime, long uptimeMs, String userName, String userTimezone, String userLocale, String systemEncoding, String operatingSystem, String operatingSystemArchitecture, int availableProcessors, String appServerContainer, String javaVersion, String javaVendor, String javaVmSpecificationVersion, String javaVmSpecificationVendor, String javaVmVersion, String javaVmVendor, String javaVmName, String javaRuntimeVersion, String javaRuntimeName, String hostName, String ipAddress, long maxMemory, long totalMemory, long freeMemory, long usedMemory, String bambooVersion, String bambooBuildNumber, String bambooBuildDate) Creates an instance of aSystemStatusInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappServerContainerrecord component.intReturns the value of theavailableProcessorsrecord component.Returns the value of thebambooBuildDaterecord component.Returns the value of thebambooBuildNumberrecord component.Returns the value of thebambooVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefreeMemoryrecord component.final inthashCode()Returns a hash code value for this object.hostName()Returns the value of thehostNamerecord component.Returns the value of theipAddressrecord component.Returns the value of thejavaRuntimeNamerecord component.Returns the value of thejavaRuntimeVersionrecord component.Returns the value of thejavaVendorrecord component.Returns the value of thejavaVersionrecord component.Returns the value of thejavaVmNamerecord component.Returns the value of thejavaVmSpecificationVendorrecord component.Returns the value of thejavaVmSpecificationVersionrecord component.Returns the value of thejavaVmVendorrecord component.Returns the value of thejavaVmVersionrecord component.longReturns the value of themaxMemoryrecord component.Returns the value of theoperatingSystemrecord component.Returns the value of theoperatingSystemArchitecturerecord component.Returns the value of thesystemDaterecord component.Returns the value of thesystemEncodingrecord component.Returns the value of thesystemTimerecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalMemoryrecord component.uptime()Returns the value of theuptimerecord component.longuptimeMs()Returns the value of theuptimeMsrecord component.longReturns the value of theusedMemoryrecord component.Returns the value of theuserLocalerecord component.userName()Returns the value of theuserNamerecord component.Returns the value of theuserTimezonerecord component.
-
Constructor Details
-
SystemStatusInfo
public SystemStatusInfo(String systemDate, String systemTime, String uptime, long uptimeMs, String userName, String userTimezone, String userLocale, String systemEncoding, String operatingSystem, String operatingSystemArchitecture, int availableProcessors, String appServerContainer, String javaVersion, String javaVendor, String javaVmSpecificationVersion, String javaVmSpecificationVendor, String javaVmVersion, String javaVmVendor, String javaVmName, String javaRuntimeVersion, String javaRuntimeName, String hostName, String ipAddress, long maxMemory, long totalMemory, long freeMemory, long usedMemory, String bambooVersion, String bambooBuildNumber, String bambooBuildDate) Creates an instance of aSystemStatusInforecord class.- Parameters:
systemDate- the value for thesystemDaterecord componentsystemTime- the value for thesystemTimerecord componentuptime- the value for theuptimerecord componentuptimeMs- the value for theuptimeMsrecord componentuserName- the value for theuserNamerecord componentuserTimezone- the value for theuserTimezonerecord componentuserLocale- the value for theuserLocalerecord componentsystemEncoding- the value for thesystemEncodingrecord componentoperatingSystem- the value for theoperatingSystemrecord componentoperatingSystemArchitecture- the value for theoperatingSystemArchitecturerecord componentavailableProcessors- the value for theavailableProcessorsrecord componentappServerContainer- the value for theappServerContainerrecord componentjavaVersion- the value for thejavaVersionrecord componentjavaVendor- the value for thejavaVendorrecord componentjavaVmSpecificationVersion- the value for thejavaVmSpecificationVersionrecord componentjavaVmSpecificationVendor- the value for thejavaVmSpecificationVendorrecord componentjavaVmVersion- the value for thejavaVmVersionrecord componentjavaVmVendor- the value for thejavaVmVendorrecord componentjavaVmName- the value for thejavaVmNamerecord componentjavaRuntimeVersion- the value for thejavaRuntimeVersionrecord componentjavaRuntimeName- the value for thejavaRuntimeNamerecord componenthostName- the value for thehostNamerecord componentipAddress- the value for theipAddressrecord componentmaxMemory- the value for themaxMemoryrecord componenttotalMemory- the value for thetotalMemoryrecord componentfreeMemory- the value for thefreeMemoryrecord componentusedMemory- the value for theusedMemoryrecord componentbambooVersion- the value for thebambooVersionrecord componentbambooBuildNumber- the value for thebambooBuildNumberrecord componentbambooBuildDate- the value for thebambooBuildDaterecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
systemDate
Returns the value of thesystemDaterecord component.- Returns:
- the value of the
systemDaterecord component
-
systemTime
Returns the value of thesystemTimerecord component.- Returns:
- the value of the
systemTimerecord component
-
uptime
Returns the value of theuptimerecord component.- Returns:
- the value of the
uptimerecord component
-
uptimeMs
public long uptimeMs()Returns the value of theuptimeMsrecord component.- Returns:
- the value of the
uptimeMsrecord component
-
userName
Returns the value of theuserNamerecord component.- Returns:
- the value of the
userNamerecord component
-
userTimezone
Returns the value of theuserTimezonerecord component.- Returns:
- the value of the
userTimezonerecord component
-
userLocale
Returns the value of theuserLocalerecord component.- Returns:
- the value of the
userLocalerecord component
-
systemEncoding
Returns the value of thesystemEncodingrecord component.- Returns:
- the value of the
systemEncodingrecord component
-
operatingSystem
Returns the value of theoperatingSystemrecord component.- Returns:
- the value of the
operatingSystemrecord component
-
operatingSystemArchitecture
Returns the value of theoperatingSystemArchitecturerecord component.- Returns:
- the value of the
operatingSystemArchitecturerecord component
-
availableProcessors
public int availableProcessors()Returns the value of theavailableProcessorsrecord component.- Returns:
- the value of the
availableProcessorsrecord component
-
appServerContainer
Returns the value of theappServerContainerrecord component.- Returns:
- the value of the
appServerContainerrecord component
-
javaVersion
Returns the value of thejavaVersionrecord component.- Returns:
- the value of the
javaVersionrecord component
-
javaVendor
Returns the value of thejavaVendorrecord component.- Returns:
- the value of the
javaVendorrecord component
-
javaVmSpecificationVersion
Returns the value of thejavaVmSpecificationVersionrecord component.- Returns:
- the value of the
javaVmSpecificationVersionrecord component
-
javaVmSpecificationVendor
Returns the value of thejavaVmSpecificationVendorrecord component.- Returns:
- the value of the
javaVmSpecificationVendorrecord component
-
javaVmVersion
Returns the value of thejavaVmVersionrecord component.- Returns:
- the value of the
javaVmVersionrecord component
-
javaVmVendor
Returns the value of thejavaVmVendorrecord component.- Returns:
- the value of the
javaVmVendorrecord component
-
javaVmName
Returns the value of thejavaVmNamerecord component.- Returns:
- the value of the
javaVmNamerecord component
-
javaRuntimeVersion
Returns the value of thejavaRuntimeVersionrecord component.- Returns:
- the value of the
javaRuntimeVersionrecord component
-
javaRuntimeName
Returns the value of thejavaRuntimeNamerecord component.- Returns:
- the value of the
javaRuntimeNamerecord component
-
hostName
Returns the value of thehostNamerecord component.- Returns:
- the value of the
hostNamerecord component
-
ipAddress
Returns the value of theipAddressrecord component.- Returns:
- the value of the
ipAddressrecord component
-
maxMemory
public long maxMemory()Returns the value of themaxMemoryrecord component.- Returns:
- the value of the
maxMemoryrecord component
-
totalMemory
public long totalMemory()Returns the value of thetotalMemoryrecord component.- Returns:
- the value of the
totalMemoryrecord component
-
freeMemory
public long freeMemory()Returns the value of thefreeMemoryrecord component.- Returns:
- the value of the
freeMemoryrecord component
-
usedMemory
public long usedMemory()Returns the value of theusedMemoryrecord component.- Returns:
- the value of the
usedMemoryrecord component
-
bambooVersion
Returns the value of thebambooVersionrecord component.- Returns:
- the value of the
bambooVersionrecord component
-
bambooBuildNumber
Returns the value of thebambooBuildNumberrecord component.- Returns:
- the value of the
bambooBuildNumberrecord component
-
bambooBuildDate
Returns the value of thebambooBuildDaterecord component.- Returns:
- the value of the
bambooBuildDaterecord component
-