Class JavaMigrationAnalysisTarget
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.JavaMigrationAnalysisTarget
-
@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 theJavaMigrationAnalysisTarget.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 theJavaMigrationAnalysisTarget.Builder
, which maintain a set of all explicitly set fields calledJavaMigrationAnalysisTarget.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
JavaMigrationAnalysisTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
JavaMigrationAnalysisTarget
@Deprecated @ConstructorProperties({"managedInstanceId","applicationInstallationKey","sourceJdkVersion","targetJdkVersion","excludePackagePrefixes"}) public JavaMigrationAnalysisTarget(String managedInstanceId, String applicationInstallationKey, String sourceJdkVersion, String targetJdkVersion, List<String> excludePackagePrefixes)
Deprecated.
-
-
Method Detail
-
builder
public static JavaMigrationAnalysisTarget.Builder builder()
Create a new builder.
-
toBuilder
public JavaMigrationAnalysisTarget.Builder toBuilder()
-
getManagedInstanceId
public String getManagedInstanceId()
The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.- Returns:
- the value
-
getApplicationInstallationKey
public String getApplicationInstallationKey()
The unique key that identifies the application’s installation path that is to be used for the Java migration analysis.- Returns:
- the value
-
getSourceJdkVersion
public String getSourceJdkVersion()
The JDK version the application is currently running on.- Returns:
- the value
-
getTargetJdkVersion
public String getTargetJdkVersion()
The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.- Returns:
- the value
-
getExcludePackagePrefixes
public List<String> getExcludePackagePrefixes()
Excludes the packages that starts with the prefix from the migration analysis result.- 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
-
-