Class 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 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).

    • 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

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel