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, Cloneable

public class ApplicationDescription extends PropertiesDescription
The description of a mobile Application test object.
  • Constructor Details

    • 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 Details

    • setIdentifier

      public void setIdentifier(String identifier)
      Sets the application identifier.
      Parameters:
      identifier - the application identifier.
    • getIdentifier

      public String getIdentifier()
      Returns the application identifier.
      Returns:
      the application identifier.
    • setName

      public void setName(String name)
      Sets the name of the mobile application.
      Parameters:
      name - the name of the mobile application.
    • getName

      public String getName()
      Returns the name of the mobile application.
      Returns:
      the name of the mobile application.
    • setVersion

      public void setVersion(String version)
      Sets the application's version.
      Parameters:
      version - the application's version.
    • getVersion

      public String getVersion()
      Returns the application's version.
      Returns:
      the application's version.
    • setPackaged

      public void setPackaged(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 Boolean isPackaged()
      Indicates whether the application is packaged (instrumented) or not.
      Returns:
      true if this application is packaged (instrumented).
    • setUpload

      public void setUpload(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 Integer getUpload()
      Returns the application upload number.
      Returns:
      the application upload number.