JavaMigrationWorkItemDetails

class oci.jms_utils.models.JavaMigrationWorkItemDetails(**kwargs)

Bases: WorkItemDetails

The java migration work item details.

Attributes:

KIND_BASIC

A constant which can be used with the kind property of a WorkItemDetails.

KIND_JAVA_MIGRATION

A constant which can be used with the kind property of a WorkItemDetails.

KIND_PERFORMANCE_TUNING

A constant which can be used with the kind property of a WorkItemDetails.

WORK_ITEM_TYPE_JAVA_MIGRATION

A constant which can be used with the work_item_type property of a WorkItemDetails.

WORK_ITEM_TYPE_PERFORMANCE_TUNING

A constant which can be used with the work_item_type property of a WorkItemDetails.

analysis_project_name

[Required] Gets the analysis_project_name of this JavaMigrationWorkItemDetails.

input_applications_object_storage_paths

[Required] Gets the input_applications_object_storage_paths of this JavaMigrationWorkItemDetails.

kind

[Required] Gets the kind of this WorkItemDetails.

target_jdk_version

[Required] Gets the target_jdk_version of this JavaMigrationWorkItemDetails.

work_item_type

Gets the work_item_type of this WorkItemDetails.

Methods:

__init__(**kwargs)

Initializes a new JavaMigrationWorkItemDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

KIND_BASIC = 'BASIC'

A constant which can be used with the kind property of a WorkItemDetails. This constant has a value of “BASIC”

KIND_JAVA_MIGRATION = 'JAVA_MIGRATION'

A constant which can be used with the kind property of a WorkItemDetails. This constant has a value of “JAVA_MIGRATION”

KIND_PERFORMANCE_TUNING = 'PERFORMANCE_TUNING'

A constant which can be used with the kind property of a WorkItemDetails. This constant has a value of “PERFORMANCE_TUNING”

WORK_ITEM_TYPE_JAVA_MIGRATION = 'JAVA_MIGRATION'

A constant which can be used with the work_item_type property of a WorkItemDetails. This constant has a value of “JAVA_MIGRATION”

WORK_ITEM_TYPE_PERFORMANCE_TUNING = 'PERFORMANCE_TUNING'

A constant which can be used with the work_item_type property of a WorkItemDetails. This constant has a value of “PERFORMANCE_TUNING”

__init__(**kwargs)

Initializes a new JavaMigrationWorkItemDetails object with values from keyword arguments. The default value of the kind attribute of this class is JAVA_MIGRATION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • kind (str) – The value to assign to the kind property of this JavaMigrationWorkItemDetails. Allowed values for this property are: “BASIC”, “JAVA_MIGRATION”, “PERFORMANCE_TUNING”

  • work_item_type (str) – The value to assign to the work_item_type property of this JavaMigrationWorkItemDetails. Allowed values for this property are: “PERFORMANCE_TUNING”, “JAVA_MIGRATION”

  • target_jdk_version (str) – The value to assign to the target_jdk_version property of this JavaMigrationWorkItemDetails.

  • input_applications_object_storage_paths (str) – The value to assign to the input_applications_object_storage_paths property of this JavaMigrationWorkItemDetails.

  • analysis_project_name (str) – The value to assign to the analysis_project_name property of this JavaMigrationWorkItemDetails.

property analysis_project_name

[Required] Gets the analysis_project_name of this JavaMigrationWorkItemDetails. Name of the analysis project.

Returns

The analysis_project_name of this JavaMigrationWorkItemDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property input_applications_object_storage_paths

[Required] Gets the input_applications_object_storage_paths of this JavaMigrationWorkItemDetails. Object storage path to the input artifact/s in the form of a serialized array. Example: “[“/JMS/Utils/myartifacts1.jar”,”/JMS/Utils/myartifacts2.war”]”

Returns

The input_applications_object_storage_paths of this JavaMigrationWorkItemDetails.

Return type

str

property kind

[Required] Gets the kind of this WorkItemDetails. The kind of work item details.

Allowed values for this property are: “BASIC”, “JAVA_MIGRATION”, “PERFORMANCE_TUNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The kind of this WorkItemDetails.

Return type

str

property target_jdk_version

[Required] Gets the target_jdk_version of this JavaMigrationWorkItemDetails. 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 JavaMigrationWorkItemDetails.

Return type

str

property work_item_type

Gets the work_item_type of this WorkItemDetails. The work item type.

Allowed values for this property are: “PERFORMANCE_TUNING”, “JAVA_MIGRATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The work_item_type of this WorkItemDetails.

Return type

str