JavaMigrationAnalysisTarget¶
- class oci.jms.models.JavaMigrationAnalysisTarget(**kwargs)¶
Bases:
objectThe target describes the input data for Java migration analysis. A target contains a managed instance, application Installation Key, sourceJdkVersion, targetJdkVersion, optional excludePackagePrefixes and optional includePackagePrefixes.
Methods:
__init__(**kwargs)Initializes a new JavaMigrationAnalysisTarget object with values from keyword arguments.
Attributes:
[Required] Gets the application_installation_key of this JavaMigrationAnalysisTarget.
Gets the exclude_package_prefixes of this JavaMigrationAnalysisTarget.
Gets the include_package_prefixes of this JavaMigrationAnalysisTarget.
[Required] Gets the managed_instance_id of this JavaMigrationAnalysisTarget.
[Required] Gets the source_jdk_version of this JavaMigrationAnalysisTarget.
[Required] Gets the target_jdk_version of this JavaMigrationAnalysisTarget.
- __init__(**kwargs)¶
Initializes a new JavaMigrationAnalysisTarget object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
managed_instance_id (str) – The value to assign to the managed_instance_id property of this JavaMigrationAnalysisTarget.
application_installation_key (str) – The value to assign to the application_installation_key property of this JavaMigrationAnalysisTarget.
source_jdk_version (str) – The value to assign to the source_jdk_version property of this JavaMigrationAnalysisTarget.
target_jdk_version (str) – The value to assign to the target_jdk_version property of this JavaMigrationAnalysisTarget.
exclude_package_prefixes (list[str]) – The value to assign to the exclude_package_prefixes property of this JavaMigrationAnalysisTarget.
include_package_prefixes (list[str]) – The value to assign to the include_package_prefixes property of this JavaMigrationAnalysisTarget.
- property application_installation_key¶
[Required] Gets the application_installation_key of this JavaMigrationAnalysisTarget. The unique key that identifies the application’s installation path that is to be used for the Java migration analysis.
- Returns
The application_installation_key of this JavaMigrationAnalysisTarget.
- Return type
str
- property exclude_package_prefixes¶
Gets the exclude_package_prefixes of this JavaMigrationAnalysisTarget. Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
- Returns
The exclude_package_prefixes of this JavaMigrationAnalysisTarget.
- Return type
list[str]
- property include_package_prefixes¶
Gets the include_package_prefixes of this JavaMigrationAnalysisTarget. includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
- Returns
The include_package_prefixes of this JavaMigrationAnalysisTarget.
- Return type
list[str]
- property managed_instance_id¶
[Required] Gets the managed_instance_id of this JavaMigrationAnalysisTarget. The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
- Returns
The managed_instance_id of this JavaMigrationAnalysisTarget.
- Return type
str
- property source_jdk_version¶
[Required] Gets the source_jdk_version of this JavaMigrationAnalysisTarget. The JDK version the application is currently running on.
- Returns
The source_jdk_version of this JavaMigrationAnalysisTarget.
- Return type
str
- property target_jdk_version¶
[Required] Gets the target_jdk_version of this JavaMigrationAnalysisTarget. The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
- Returns
The target_jdk_version of this JavaMigrationAnalysisTarget.
- Return type
str