Class JavaRelease
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.JavaRelease
-
@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 theJavaRelease.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 theJavaRelease.Builder
, which maintain a set of all explicitly set fields calledJavaRelease.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavaRelease.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
JavaRelease
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static JavaRelease.Builder builder()
Create a new builder.
-
toBuilder
public JavaRelease.Builder toBuilder()
-
getArtifacts
public List<JavaArtifact> getArtifacts()
List of Java artifacts.- Returns:
- the value
-
getReleaseVersion
public String getReleaseVersion()
Java release version identifier.- Returns:
- the value
-
getFamilyVersion
public String getFamilyVersion()
Java release family identifier.- Returns:
- the value
-
getParentReleaseVersion
public String getParentReleaseVersion()
Parent Java release version identifier.This is applicable for BPR releases.
- Returns:
- the value
-
getSecurityStatus
public JreSecurityStatus getSecurityStatus()
The security status of the Java version.- Returns:
- the value
-
getReleaseType
public ReleaseType getReleaseType()
Release category of the Java version.- Returns:
- the value
-
getLicenseType
public LicenseType getLicenseType()
License type for the Java version.- Returns:
- the value
-
getFamilyDetails
public JavaFamily getFamilyDetails()
-
getLicenseDetails
public JavaLicense getLicenseDetails()
-
getReleaseDate
public Date getReleaseDate()
The release date of the Java version (formatted according to RFC3339).- Returns:
- the value
-
getReleaseNotesUrl
public String getReleaseNotesUrl()
Release notes associated with the Java version.- Returns:
- the value
-
getArtifactContentTypes
public List<ArtifactContentType> getArtifactContentTypes()
Artifact content types for the Java version.- Returns:
- the value
-
getMosPatches
public List<PatchDetail> getMosPatches()
List of My Oracle Support(MoS) patches available for this release.This information is only available for BPR release type.
- Returns:
- the value
-
getDaysUnderSecurityBaseline
public Integer getDaysUnderSecurityBaseline()
The number of days since this release has been under the security baseline.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-