@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
).
Modifier and Type | Class and Description |
---|---|
static class |
JavaFamily.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
JavaFamily(List<JavaArtifact> latestReleaseArtifacts,
String familyVersion,
String displayName,
SupportType supportType,
Date endOfSupportLifeDate,
String docUrl,
String latestReleaseVersion,
Boolean isSupportedVersion,
Date releaseDate)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static JavaFamily.Builder builder()
Create a new builder.
public JavaFamily.Builder toBuilder()
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.
public String getFamilyVersion()
The Java release family identifier.
public String getDisplayName()
The display name of the release family.
public SupportType getSupportType()
This indicates the support category for the Java release family.
public Date getEndOfSupportLifeDate()
The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).
public String getDocUrl()
Link to access the documentation for the release.
public String getLatestReleaseVersion()
Latest Java release version in the family.
public Boolean getIsSupportedVersion()
Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
public Date getReleaseDate()
The date on which the Java release family was first made available (formatted according to RFC3339).
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.