@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class JavaRelease extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Metadata associated with a specific release of Java. Includes the artifact details.
Note: Objects should always be created or deserialized using the JavaRelease.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the JavaRelease.Builder
, which maintain a
set of all explicitly set fields called JavaRelease.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
JavaRelease.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
JavaRelease(List<JavaArtifact> artifacts,
String releaseVersion,
String familyVersion,
String parentReleaseVersion,
JreSecurityStatus securityStatus,
ReleaseType releaseType,
LicenseType licenseType,
JavaFamily familyDetails,
JavaLicense licenseDetails,
Date releaseDate,
String releaseNotesUrl,
List<ArtifactContentType> artifactContentTypes,
List<PatchDetail> mosPatches,
Integer daysUnderSecurityBaseline)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JavaRelease.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<ArtifactContentType> |
getArtifactContentTypes()
Artifact content types for the Java version.
|
List<JavaArtifact> |
getArtifacts()
List of Java artifacts.
|
Integer |
getDaysUnderSecurityBaseline()
The number of days since this release has been under the security baseline.
|
JavaFamily |
getFamilyDetails() |
String |
getFamilyVersion()
Java release family identifier.
|
JavaLicense |
getLicenseDetails() |
LicenseType |
getLicenseType()
License type for the Java version.
|
List<PatchDetail> |
getMosPatches()
List of My Oracle Support(MoS) patches available for this release.
|
String |
getParentReleaseVersion()
Parent Java release version identifier.
|
Date |
getReleaseDate()
The release date of the Java version (formatted according to
RFC3339).
|
String |
getReleaseNotesUrl()
Release notes associated with the Java version.
|
ReleaseType |
getReleaseType()
Release category of the Java version.
|
String |
getReleaseVersion()
Java release version identifier.
|
JreSecurityStatus |
getSecurityStatus()
The security status of the Java version.
|
int |
hashCode() |
JavaRelease.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"artifacts","releaseVersion","familyVersion","parentReleaseVersion","securityStatus","releaseType","licenseType","familyDetails","licenseDetails","releaseDate","releaseNotesUrl","artifactContentTypes","mosPatches","daysUnderSecurityBaseline"}) public JavaRelease(List<JavaArtifact> artifacts, String releaseVersion, String familyVersion, String parentReleaseVersion, JreSecurityStatus securityStatus, ReleaseType releaseType, LicenseType licenseType, JavaFamily familyDetails, JavaLicense licenseDetails, Date releaseDate, String releaseNotesUrl, List<ArtifactContentType> artifactContentTypes, List<PatchDetail> mosPatches, Integer daysUnderSecurityBaseline)
public static JavaRelease.Builder builder()
Create a new builder.
public JavaRelease.Builder toBuilder()
public List<JavaArtifact> getArtifacts()
List of Java artifacts.
public String getReleaseVersion()
Java release version identifier.
public String getFamilyVersion()
Java release family identifier.
public String getParentReleaseVersion()
Parent Java release version identifier. This is applicable for BPR releases.
public JreSecurityStatus getSecurityStatus()
The security status of the Java version.
public ReleaseType getReleaseType()
Release category of the Java version.
public LicenseType getLicenseType()
License type for the Java version.
public JavaFamily getFamilyDetails()
public JavaLicense getLicenseDetails()
public Date getReleaseDate()
The release date of the Java version (formatted according to RFC3339).
public String getReleaseNotesUrl()
Release notes associated with the Java version.
public List<ArtifactContentType> getArtifactContentTypes()
Artifact content types for the Java version.
public List<PatchDetail> getMosPatches()
List of My Oracle Support(MoS) patches available for this release. This information is only
available for BPR
release type.
public Integer getDaysUnderSecurityBaseline()
The number of days since this release has been under the security baseline.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.