public static class JavaRelease.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JavaRelease.Builder |
artifactContentTypes(List<ArtifactContentType> artifactContentTypes)
Artifact content types for the Java version.
|
JavaRelease.Builder |
artifacts(List<JavaArtifact> artifacts)
List of Java artifacts.
|
JavaRelease |
build() |
JavaRelease.Builder |
copy(JavaRelease model) |
JavaRelease.Builder |
daysUnderSecurityBaseline(Integer daysUnderSecurityBaseline)
The number of days since this release has been under the security baseline.
|
JavaRelease.Builder |
familyDetails(JavaFamily familyDetails) |
JavaRelease.Builder |
familyVersion(String familyVersion)
Java release family identifier.
|
JavaRelease.Builder |
licenseDetails(JavaLicense licenseDetails) |
JavaRelease.Builder |
licenseType(LicenseType licenseType)
License type for the Java version.
|
JavaRelease.Builder |
mosPatches(List<PatchDetail> mosPatches)
List of My Oracle Support(MoS) patches available for this release.
|
JavaRelease.Builder |
parentReleaseVersion(String parentReleaseVersion)
Parent Java release version identifier.
|
JavaRelease.Builder |
releaseDate(Date releaseDate)
The release date of the Java version (formatted according to
RFC3339).
|
JavaRelease.Builder |
releaseNotesUrl(String releaseNotesUrl)
Release notes associated with the Java version.
|
JavaRelease.Builder |
releaseType(ReleaseType releaseType)
Release category of the Java version.
|
JavaRelease.Builder |
releaseVersion(String releaseVersion)
Java release version identifier.
|
JavaRelease.Builder |
securityStatus(JreSecurityStatus securityStatus)
The security status of the Java version.
|
public JavaRelease.Builder artifacts(List<JavaArtifact> artifacts)
List of Java artifacts.
artifacts
- the value to setpublic JavaRelease.Builder releaseVersion(String releaseVersion)
Java release version identifier.
releaseVersion
- the value to setpublic JavaRelease.Builder familyVersion(String familyVersion)
Java release family identifier.
familyVersion
- the value to setpublic JavaRelease.Builder parentReleaseVersion(String parentReleaseVersion)
Parent Java release version identifier. This is applicable for BPR releases.
parentReleaseVersion
- the value to setpublic JavaRelease.Builder securityStatus(JreSecurityStatus securityStatus)
The security status of the Java version.
securityStatus
- the value to setpublic JavaRelease.Builder releaseType(ReleaseType releaseType)
Release category of the Java version.
releaseType
- the value to setpublic JavaRelease.Builder licenseType(LicenseType licenseType)
License type for the Java version.
licenseType
- the value to setpublic JavaRelease.Builder familyDetails(JavaFamily familyDetails)
public JavaRelease.Builder licenseDetails(JavaLicense licenseDetails)
public JavaRelease.Builder releaseDate(Date releaseDate)
The release date of the Java version (formatted according to RFC3339).
releaseDate
- the value to setpublic JavaRelease.Builder releaseNotesUrl(String releaseNotesUrl)
Release notes associated with the Java version.
releaseNotesUrl
- the value to setpublic JavaRelease.Builder artifactContentTypes(List<ArtifactContentType> artifactContentTypes)
Artifact content types for the Java version.
artifactContentTypes
- the value to setpublic JavaRelease.Builder mosPatches(List<PatchDetail> mosPatches)
List of My Oracle Support(MoS) patches available for this release. This information is
only available for BPR
release type.
mosPatches
- the value to setpublic JavaRelease.Builder daysUnderSecurityBaseline(Integer daysUnderSecurityBaseline)
The number of days since this release has been under the security baseline.
daysUnderSecurityBaseline
- the value to setpublic JavaRelease build()
public JavaRelease.Builder copy(JavaRelease model)
Copyright © 2016–2024. All rights reserved.