Package com.hp.lft.sdk.mobile
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
The description of a mobile Application test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the ApplicationDescription class using the builder pattern.protected static class
Helper class for ApplicationDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the ApplicationDescription class.protected
Initializes a new instance of the ApplicationDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the application identifier.getName()
Returns the name of the mobile application.Returns the application upload number.Returns the application's version.Indicates whether the application is packaged (instrumented) or not.void
setIdentifier
(String identifier) Sets the application identifier.void
Sets the name of the mobile application.void
setPackaged
(Boolean isPackaged) Sets isPackaged to true if the application is packaged (instrumented), and to false if not.void
Sets the application upload number.void
setVersion
(String version) Sets the application's version.Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
cloneTo, getValueAs, getValueAsStringProperty, insertValue
-
Constructor Details
-
ApplicationDescription
public ApplicationDescription()Initializes a new instance of the ApplicationDescription class. -
ApplicationDescription
Initializes a new instance of the ApplicationDescription class using the Builder pattern.- Parameters:
init
- the Builder pattern.
-
-
Method Details
-
setIdentifier
Sets the application identifier.- Parameters:
identifier
- the application identifier.
-
getIdentifier
Returns the application identifier.- Returns:
- the application identifier.
-
setName
Sets the name of the mobile application.- Parameters:
name
- the name of the mobile application.
-
getName
Returns the name of the mobile application.- Returns:
- the name of the mobile application.
-
setVersion
Sets the application's version.- Parameters:
version
- the application's version.
-
getVersion
Returns the application's version.- Returns:
- the application's version.
-
setPackaged
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
Indicates whether the application is packaged (instrumented) or not.- Returns:
- true if this application is packaged (instrumented).
-
setUpload
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
Returns the application upload number.- Returns:
- the application upload number.
-