SecurityPatchState.VersionedSecurityPatchLevel


public final class SecurityPatchState.VersionedSecurityPatchLevel extends SecurityPatchState.SecurityPatchLevel


Implementation of SecurityPatchLevel for a versioned patch level.

Summary

Public constructors

VersionedSecurityPatchLevel(
    int majorVersion,
    int minorVersion,
    int buildVersion,
    int patchVersion
)

Public methods

int
static final @NonNull SecurityPatchState.VersionedSecurityPatchLevel
final int

Build version of the security patch level.

final int

Major version of the security patch level.

final int

Minor version of the security patch level.

final int

Patch version of the security patch level.

@NonNull String

Public constructors

VersionedSecurityPatchLevel

Added in 1.0.0-alpha04
public VersionedSecurityPatchLevel(
    int majorVersion,
    int minorVersion,
    int buildVersion,
    int patchVersion
)

Public methods

compareTo

Added in 1.0.0-alpha04
public int compareTo(@NonNull SecurityPatchState.SecurityPatchLevel other)

fromString

Added in 1.0.0-alpha04
public static final @NonNull SecurityPatchState.VersionedSecurityPatchLevel fromString(@NonNull String value)

getBuildVersion

Added in 1.0.0-alpha04
public final int getBuildVersion()

Build version of the security patch level.

getMajorVersion

Added in 1.0.0-alpha04
public final int getMajorVersion()

Major version of the security patch level.

getMinorVersion

Added in 1.0.0-alpha04
public final int getMinorVersion()

Minor version of the security patch level.

getPatchVersion

Added in 1.0.0-alpha04
public final int getPatchVersion()

Patch version of the security patch level.

toString

public @NonNull String toString()