Package 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 Object
Helper class for ApplicationDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
identifier
(String identifier) Initializes the application identifier.Initializes the name of the mobile application.Initializes whether this application is packaged (instrumented) or not.protected abstract T
self()
Initializes the application upload number.Initializes the application's version.
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
self
-
build
-
identifier
Initializes the application identifier.- Parameters:
identifier
- the application identifier.- Returns:
- the description instance with the updated state (builder pattern).
-
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
Initializes the application's version.- Parameters:
version
- the application's version.- Returns:
- The description instance with the update state (builder pattern).
-
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
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).
-