Class JavaFamily


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210610")
    public final class JavaFamily
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Metadata associated with a specific Java release family.

    A Java release family is typically a major version in the Java version identifier.
    Note: Objects should always be created or deserialized using the JavaFamily.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 JavaFamily.Builder, which maintain a set of all explicitly set fields called JavaFamily.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).

    • Method Detail

      • getLatestReleaseArtifacts

        public List<JavaArtifact> getLatestReleaseArtifacts()
        List of artifacts for the latest Java release version in this family.

        The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version.

        Returns:
        the value
      • getFamilyVersion

        public String getFamilyVersion()
        The Java release family identifier.
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        The display name of the release family.
        Returns:
        the value
      • getSupportType

        public SupportType getSupportType()
        This indicates the support category for the Java release family.
        Returns:
        the value
      • getEndOfSupportLifeDate

        public Date getEndOfSupportLifeDate()
        The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).
        Returns:
        the value
      • getDocUrl

        public String getDocUrl()
        Link to access the documentation for the release.
        Returns:
        the value
      • getLatestReleaseVersion

        public String getLatestReleaseVersion()
        Latest Java release version in the family.
        Returns:
        the value
      • getIsSupportedVersion

        public Boolean getIsSupportedVersion()
        Whether or not this Java release family is under active support.

        Refer Java Support Roadmap for more details.

        Returns:
        the value
      • getReleaseDate

        public Date getReleaseDate()
        The date on which the Java release family was first made available (formatted according to RFC3339).
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel