Open topic with navigation

com.hp.lft.sdk

## Class EnvironmentFactory

- java.lang.Object
- - com.hp.lft.sdk.EnvironmentFactory

-     public class EnvironmentFactory
      extends Object

  A class for creating a `DesktopEnvironment` instance.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EnvironmentFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DesktopEnvironment` | `get(EnvironmentDescription envDescription)` Locks and returns a specific environment based on the specified capabilities.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EnvironmentFactory

          public EnvironmentFactory()

  - ### Method Detail

    - #### 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.