Class InstanceSetup
- java.lang.Object
-
- org.apache.sling.testing.clients.instance.InstanceSetup
-
public final class InstanceSetup extends Object
Utility class for getting the current instance setup
-
-
Field Summary
Fields Modifier and Type Field Description static String
INSTANCE_CONFIG_ADMINPASSWORD
static String
INSTANCE_CONFIG_ADMINUSER
static String
INSTANCE_CONFIG_INSTANCES
static String
INSTANCE_CONFIG_RUNMODE
static String
INSTANCE_CONFIG_URL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceSetup
get()
List<InstanceConfiguration>
getConfigurations()
List<InstanceConfiguration>
getConfigurations(String runmode)
Get the list of all InstanceConfiguration with a specificrunmode
-
-
-
Field Detail
-
INSTANCE_CONFIG_INSTANCES
public static final String INSTANCE_CONFIG_INSTANCES
- See Also:
- Constant Field Values
-
INSTANCE_CONFIG_URL
public static final String INSTANCE_CONFIG_URL
- See Also:
- Constant Field Values
-
INSTANCE_CONFIG_RUNMODE
public static final String INSTANCE_CONFIG_RUNMODE
- See Also:
- Constant Field Values
-
INSTANCE_CONFIG_ADMINUSER
public static final String INSTANCE_CONFIG_ADMINUSER
- See Also:
- Constant Field Values
-
INSTANCE_CONFIG_ADMINPASSWORD
public static final String INSTANCE_CONFIG_ADMINPASSWORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public static InstanceSetup get()
- Returns:
- the current setup object.
-
getConfigurations
public List<InstanceConfiguration> getConfigurations()
- Returns:
- all instance configurations.
-
getConfigurations
public List<InstanceConfiguration> getConfigurations(String runmode)
Get the list of all InstanceConfiguration with a specificrunmode
- Parameters:
runmode
- the desired runmode- Returns:
- all instance configurations filtered by runmode.
-
-