Share this page

com.hp.lft.sdk.mobile

## Class ApplicationDescription

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.mobile.ApplicationDescription

- All Implemented Interfaces:
    CloneableObject, Description, java.lang.Cloneable

      public class ApplicationDescription
      extends PropertiesDescription

  The description of a mobile Application test object.

- - ### Nested Class Summary

    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ApplicationDescription.Builder` This class can be used to construct an instance of the ApplicationDescription class using the builder pattern.
    `protected static class` | `ApplicationDescription.Init<T extends ApplicationDescription.Init<T>>` Helper class for ApplicationDescription.Builder.

  - ### Field Summary

    - ### Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `properties`

  - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `` | `ApplicationDescription()` Initializes a new instance of the ApplicationDescription class.
    `protected` | `ApplicationDescription(ApplicationDescription.Init<?> init)` Initializes a new instance of the ApplicationDescription class using the Builder pattern.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getIdentifier()` Returns the application identifier.
    `java.lang.String` | `getName()` Returns the name of the mobile application.
    `java.lang.Integer` | `getUpload()` Returns the application upload number.
    `java.lang.String` | `getVersion()` Returns the application's version.
    `java.lang.Boolean` | `isPackaged()` Indicates whether the application is packaged (instrumented) or not.
    `void` | `setIdentifier(java.lang.String identifier)` Sets the application identifier.
    `void` | `setName(java.lang.String name)` Sets the name of the mobile application.
    `void` | `setPackaged(java.lang.Boolean isPackaged)` Sets isPackaged to true if the application is packaged (instrumented), and to false if not.
    `void` | `setUpload(java.lang.Integer upload)` Sets the application upload number.
    `void` | `setVersion(java.lang.String version)` Sets the application's version.

    - ### Methods inherited from class com.hp.lft.sdk.PropertiesDescription

      `clone`

    - ### Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `cloneTo, getValueAs, getValueAsStringProperty, insertValue`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ApplicationDescription

          public ApplicationDescription()

      Initializes a new instance of the ApplicationDescription class.

    - #### ApplicationDescription

          protected ApplicationDescription(ApplicationDescription.Init<?> init)

      Initializes a new instance of the ApplicationDescription class using the Builder pattern.
      Parameters:
        `init` - the Builder pattern.

  - ### Method Detail

    - #### setIdentifier

          public void setIdentifier(java.lang.String identifier)

      Sets the application identifier.
      Parameters:
        `identifier` - the application identifier.

    - #### getIdentifier

          public java.lang.String getIdentifier()

      Returns the application identifier.
      Returns:
        the application identifier.

    - #### setName

          public void setName(java.lang.String name)

      Sets the name of the mobile application.
      Parameters:
        `name` - the name of the mobile application.

    - #### getName

          public java.lang.String getName()

      Returns the name of the mobile application.
      Returns:
        the name of the mobile application.

    - #### setVersion

          public void setVersion(java.lang.String version)

      Sets the application's version.
      Parameters:
        `version` - the application's version.

    - #### getVersion

          public java.lang.String getVersion()

      Returns the application's version.
      Returns:
        the application's version.

    - #### setPackaged

          public void setPackaged(java.lang.Boolean isPackaged)

      Sets isPackaged to true if the application is packaged (instrumented), and to false if not.
      Parameters:
        `isPackaged` - true if the application is packaged (instrumented).

    - #### isPackaged

          public java.lang.Boolean isPackaged()

      Indicates whether the application is packaged (instrumented) or not.
      Returns:
        true if this application is packaged (instrumented).

    - #### setUpload

          public void setUpload(java.lang.Integer upload)

      Sets the application upload number. The upload number can be used to identify the application uniquely when the application is uploaded more than once.
      Parameters:
        `upload` - the application upload number.

    - #### getUpload

          public java.lang.Integer getUpload()

      Returns the application upload number.
      Returns:
        the application upload number.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: