com.hp.lft.sdk.mobile

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 java.lang.Object
    Helper class for ApplicationDescription.Builder.
    • Constructor Summary

      ModifierConstructor and Description
      protected Init() 
    • Method Summary

      Modifier and TypeMethod and Description
      ApplicationDescriptionbuild() 
      Tidentifier(java.lang.String identifier)
      Initializes the application identifier.
      Tname(java.lang.String name)
      Initializes the name of the mobile application.
      Tpackaged(java.lang.Boolean packaged)
      Initializes whether this application is packaged (instrumented) or not.
      protected abstract Tself() 
      Tupload(java.lang.Integer upload)
      Initializes the application upload number.
      Tversion(java.lang.String version)
      Initializes the application's version.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • self

        protected abstract T self()
      • identifier

        public T identifier(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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).