Class JavaFamily
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.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 theJavaFamily.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 theJavaFamily.Builder
, which maintain a set of all explicitly set fields calledJavaFamily.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
JavaFamily.Builder
-
Constructor Summary
Constructors Constructor Description JavaFamily(List<JavaArtifact> latestReleaseArtifacts, String familyVersion, String displayName, SupportType supportType, Date endOfSupportLifeDate, String docUrl, String latestReleaseVersion, Boolean isSupportedVersion, Date releaseDate)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JavaFamily.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getDisplayName()
The display name of the release family.String
getDocUrl()
Link to access the documentation for the release.Date
getEndOfSupportLifeDate()
The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).String
getFamilyVersion()
The Java release family identifier.Boolean
getIsSupportedVersion()
Whether or not this Java release family is under active support.List<JavaArtifact>
getLatestReleaseArtifacts()
List of artifacts for the latest Java release version in this family.String
getLatestReleaseVersion()
Latest Java release version in the family.Date
getReleaseDate()
The date on which the Java release family was first made available (formatted according to RFC3339).SupportType
getSupportType()
This indicates the support category for the Java release family.int
hashCode()
JavaFamily.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
JavaFamily
@Deprecated @ConstructorProperties({"latestReleaseArtifacts","familyVersion","displayName","supportType","endOfSupportLifeDate","docUrl","latestReleaseVersion","isSupportedVersion","releaseDate"}) public JavaFamily(List<JavaArtifact> latestReleaseArtifacts, String familyVersion, String displayName, SupportType supportType, Date endOfSupportLifeDate, String docUrl, String latestReleaseVersion, Boolean isSupportedVersion, Date releaseDate)
Deprecated.
-
-
Method Detail
-
builder
public static JavaFamily.Builder builder()
Create a new builder.
-
toBuilder
public JavaFamily.Builder toBuilder()
-
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 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
-
-