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.ExplicitlySetBmcModelMetadata 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 SummaryNested Classes Modifier and Type Class Description static classJavaRelease.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JavaRelease.Builderbuilder()Create a new builder.booleanequals(Object o)List<ArtifactContentType>getArtifactContentTypes()Artifact content types for the Java version.List<JavaArtifact>getArtifacts()List of Java artifacts.IntegergetDaysUnderSecurityBaseline()The number of days since this release has been under the security baseline.JavaFamilygetFamilyDetails()StringgetFamilyVersion()Java release family identifier.JavaLicensegetLicenseDetails()LicenseTypegetLicenseType()License type for the Java version.List<PatchDetail>getMosPatches()List of My Oracle Support(MoS) patches available for this release.StringgetParentReleaseVersion()Parent Java release version identifier.DategetReleaseDate()The release date of the Java version (formatted according to RFC3339).StringgetReleaseNotesUrl()Release notes associated with the Java version.ReleaseTypegetReleaseType()Release category of the Java version.StringgetReleaseVersion()Java release version identifier.JreSecurityStatusgetSecurityStatus()The security status of the Java version.inthashCode()JavaRelease.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static JavaRelease.Builder builder() Create a new builder.
 - 
toBuilderpublic JavaRelease.Builder toBuilder() 
 - 
getArtifactspublic List<JavaArtifact> getArtifacts() List of Java artifacts.- Returns:
- the value
 
 - 
getReleaseVersionpublic String getReleaseVersion() Java release version identifier.- Returns:
- the value
 
 - 
getFamilyVersionpublic String getFamilyVersion() Java release family identifier.- Returns:
- the value
 
 - 
getParentReleaseVersionpublic String getParentReleaseVersion() Parent Java release version identifier.This is applicable for BPR releases. - Returns:
- the value
 
 - 
getSecurityStatuspublic JreSecurityStatus getSecurityStatus() The security status of the Java version.- Returns:
- the value
 
 - 
getReleaseTypepublic ReleaseType getReleaseType() Release category of the Java version.- Returns:
- the value
 
 - 
getLicenseTypepublic LicenseType getLicenseType() License type for the Java version.- Returns:
- the value
 
 - 
getFamilyDetailspublic JavaFamily getFamilyDetails() 
 - 
getLicenseDetailspublic JavaLicense getLicenseDetails() 
 - 
getReleaseDatepublic Date getReleaseDate() The release date of the Java version (formatted according to RFC3339).- Returns:
- the value
 
 - 
getReleaseNotesUrlpublic String getReleaseNotesUrl() Release notes associated with the Java version.- Returns:
- the value
 
 - 
getArtifactContentTypespublic List<ArtifactContentType> getArtifactContentTypes() Artifact content types for the Java version.- Returns:
- the value
 
 - 
getMosPatchespublic 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
 
 - 
getDaysUnderSecurityBaselinepublic Integer getDaysUnderSecurityBaseline() The number of days since this release has been under the security baseline.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-