SecurityPatchState.VersionedSecurityPatchLevel


class SecurityPatchState.VersionedSecurityPatchLevel : SecurityPatchState.SecurityPatchLevel


Implementation of SecurityPatchLevel for a versioned patch level.

Summary

Public constructors

VersionedSecurityPatchLevel(
    majorVersion: Int,
    minorVersion: Int,
    buildVersion: Int,
    patchVersion: Int
)

Public functions

open operator Int
Int

Build version of the security patch level.

Int

Major version of the security patch level.

Int

Minor version of the security patch level.

Int

Patch version of the security patch level.

open String

Public companion functions

Public constructors

VersionedSecurityPatchLevel

Added in 1.0.0-alpha04
VersionedSecurityPatchLevel(
    majorVersion: Int,
    minorVersion: Int,
    buildVersion: Int = 0,
    patchVersion: Int = 0
)

Public functions

compareTo

Added in 1.0.0-alpha04
open operator fun compareTo(other: SecurityPatchState.SecurityPatchLevel): Int

getBuildVersion

Added in 1.0.0-alpha04
fun getBuildVersion(): Int

Build version of the security patch level.

getMajorVersion

Added in 1.0.0-alpha04
fun getMajorVersion(): Int

Major version of the security patch level.

getMinorVersion

Added in 1.0.0-alpha04
fun getMinorVersion(): Int

Minor version of the security patch level.

getPatchVersion

Added in 1.0.0-alpha04
fun getPatchVersion(): Int

Patch version of the security patch level.

toString

open fun toString(): String