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.ExplicitlySetBmcModelMetadata 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 classJavaFamily.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, List<LicenseType> licenseTypes)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JavaFamily.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDisplayName()The display name of the release family.StringgetDocUrl()Link to access the documentation for the release.DategetEndOfSupportLifeDate()The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).StringgetFamilyVersion()The Java release family identifier.BooleangetIsSupportedVersion()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.StringgetLatestReleaseVersion()Latest Java release version in the family.List<LicenseType>getLicenseTypes()The license type(s) associated with the Java family.DategetReleaseDate()The date on which the Java release family was first made available (formatted according to RFC3339).SupportTypegetSupportType()This indicates the support category for the Java release family.inthashCode()JavaFamily.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
JavaFamily
@Deprecated @ConstructorProperties({"latestReleaseArtifacts","familyVersion","displayName","supportType","endOfSupportLifeDate","docUrl","latestReleaseVersion","isSupportedVersion","releaseDate","licenseTypes"}) public JavaFamily(List<JavaArtifact> latestReleaseArtifacts, String familyVersion, String displayName, SupportType supportType, Date endOfSupportLifeDate, String docUrl, String latestReleaseVersion, Boolean isSupportedVersion, Date releaseDate, List<LicenseType> licenseTypes)
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
-
getLicenseTypes
public List<LicenseType> getLicenseTypes()
The license type(s) associated with the Java family.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-