Class ApplicationDescription.Init<T extends ApplicationDescription.Init<T>>

java.lang.Object
com.hp.lft.sdk.mobile.ApplicationDescription.Init<T>
Direct Known Subclasses:
ApplicationDescription.Builder
Enclosing class:
ApplicationDescription

protected abstract static class ApplicationDescription.Init<T extends ApplicationDescription.Init<T>> extends Object
Helper class for ApplicationDescription.Builder.
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • self

      protected abstract T self()
    • build

      public ApplicationDescription build()
    • identifier

      public T identifier(String identifier)
      Initializes the application identifier.
      Parameters:
      identifier - the application identifier.
      Returns:
      the description instance with the updated state (builder pattern).
    • name

      public T name(String name)
      Initializes the name of the mobile application.
      Parameters:
      name - the name of the mobile application.
      Returns:
      The description instance with the update state (builder pattern).
    • version

      public T version(String version)
      Initializes the application's version.
      Parameters:
      version - the application's version.
      Returns:
      The description instance with the update state (builder pattern).
    • packaged

      public T packaged(Boolean packaged)
      Initializes whether this application is packaged (instrumented) or not.
      Parameters:
      packaged - true if the application is packaged (instrumented).
      Returns:
      the description instance with the updated state (builder pattern).
    • upload

      public T upload(Integer upload)
      Initializes 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.
      Returns:
      the description instance with the updated state (builder pattern).