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