Package com.hp.lft.sdk
Class EnvironmentFactory
java.lang.Object
com.hp.lft.sdk.EnvironmentFactory
A class for creating a
DesktopEnvironment
instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DesktopEnvironment
get
(EnvironmentDescription envDescription) Locks and returns a specific environment based on the specified capabilities.
-
Constructor Details
-
EnvironmentFactory
public EnvironmentFactory()
-
-
Method Details
-
get
public static DesktopEnvironment get(EnvironmentDescription envDescription) throws GeneralLeanFtException Locks and returns a specific environment based on the specified capabilities.- Parameters:
envDescription
- - All of the environment capabilities that the test requires.- Returns:
- the requested environment.
- Throws:
GeneralLeanFtException
- if the get operation fails.
-