com.hp.lft.sdk.mobile

Class ApplicationDescription.Init<T extends 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

      Modifier Constructor and Description
      protected Init() 
    • Method Summary

      Modifier and Type Method and Description
      ApplicationDescription build() 
      T identifier(java.lang.String identifier)
      Initializes the application identifier.
      T name(java.lang.String name)
      Initializes the name of the mobile application.
      T packaged(java.lang.Boolean packaged)
      Initializes whether this application is packaged (instrumented) or not.
      protected abstract T self() 
      T upload(java.lang.Integer upload)
      Initializes the application upload number.
      T version(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 uloaded more than once.
        Parameters:
        upload - the application upload number.
        Returns:
        the description instance with the updated state (builder pattern).