@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class JavaMigrationAnalysisTarget extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The target describes the input data for Java migration analysis. A target contains a managed
instance, application Installation Key, sourceJdkVersion, targetJdkVersion and optional
excludePackagePrefixes.
Note: Objects should always be created or deserialized using the JavaMigrationAnalysisTarget.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 JavaMigrationAnalysisTarget.Builder
, which maintain a
set of all explicitly set fields called JavaMigrationAnalysisTarget.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 |
JavaMigrationAnalysisTarget.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
JavaMigrationAnalysisTarget(String managedInstanceId,
String applicationInstallationKey,
String sourceJdkVersion,
String targetJdkVersion,
List<String> excludePackagePrefixes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JavaMigrationAnalysisTarget.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getApplicationInstallationKey()
The unique key that identifies the application’s installation path that is to be used for the
Java migration analysis.
|
List<String> |
getExcludePackagePrefixes()
Excludes the packages that starts with the prefix from the migration analysis result.
|
String |
getManagedInstanceId()
The OCID of the managed instance that hosts the application for which the Java migration
analysis was performed.
|
String |
getSourceJdkVersion()
The JDK version the application is currently running on.
|
String |
getTargetJdkVersion()
The JDK version against which the migration analysis was performed to identify effort
required to move from source JDK.
|
int |
hashCode() |
JavaMigrationAnalysisTarget.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"managedInstanceId","applicationInstallationKey","sourceJdkVersion","targetJdkVersion","excludePackagePrefixes"}) public JavaMigrationAnalysisTarget(String managedInstanceId, String applicationInstallationKey, String sourceJdkVersion, String targetJdkVersion, List<String> excludePackagePrefixes)
public static JavaMigrationAnalysisTarget.Builder builder()
Create a new builder.
public JavaMigrationAnalysisTarget.Builder toBuilder()
public String getManagedInstanceId()
The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
public String getApplicationInstallationKey()
The unique key that identifies the application’s installation path that is to be used for the Java migration analysis.
public String getSourceJdkVersion()
The JDK version the application is currently running on.
public String getTargetJdkVersion()
The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
public List<String> getExcludePackagePrefixes()
Excludes the packages that starts with the prefix from the migration analysis result.
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.