Package com.levelaccess.continuum
Class Configuration
java.lang.Object
com.levelaccess.continuum.Configuration
This class encapsulates all Continuum configuration defined in the user-editable src/main/resources/continuum.json file and related functionality.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Configuration properties relating to accessibility concernsstatic enum
Determines the format of the test results begin generated where explicit calls to SDK methods don't return a specific type.static class
Configuration properties relating to connecting to the Level Access Platformstatic class
This class encapsulates all mobile-specific configuration in Continuum represented by the 'mobile' object defined in the user-editable src/main/resources/continuum.json file.static class
This class encapsulates all proxy-specific configuration in Continuum represented by the 'proxy' object defined in the user-editable src/main/resources/continuum.json file.static class
This class encapsulates all Sauce Labs-specific configuration in Continuum represented by the 'sauceLabs' object defined in the user-editable src/main/resources/continuum.json file. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Gets the value for the 'accessEngineType' attribute defined in continuum.json.static String
Gets the value for the 'ampApiToken' attribute defined in continuum.json.static String
Gets the value for the 'ampInstanceUrl' attribute defined in continuum.json.Gets the set of IDs implied from the value of the 'defaultStandardIds' attribute defined in continuum.json as a comma-delimited array of IDs of the accessibility standards to test for by default (invokeContinuum.getSupportedStandards()
for a list of these).static Configuration.Mobile
Gets the mobile-specific configuration in Continuum represented by the 'mobile' object defined in continuum.json.static Configuration.Proxy
Gets the proxy-specific configuration in Continuum represented by the 'proxy' object defined in continuum.json.static Configuration.SauceLabs
Gets the Sauce Labs-specific configuration in Continuum represented by the 'sauceLabs' object defined in continuum.json.static boolean
Gets whether this is the licensed Professional edition of Continuum, as opposed to the free Community edition.
-
Method Details
-
isProEdition
public static boolean isProEdition()Gets whether this is the licensed Professional edition of Continuum, as opposed to the free Community edition.- Returns:
- true if this is the licensed Professional edition of Continuum, otherwise false
-
getAccessEngineType
Gets the value for the 'accessEngineType' attribute defined in continuum.json. Used to determine which version of Access Engine is included with this installation of Continuum and should be used.- Returns:
- the value for the 'accessEngineType' attribute defined in continuum.json
-
getAmpInstanceUrl
Gets the value for the 'ampInstanceUrl' attribute defined in continuum.json. The URL to the desired AMP instance from which to pull best practice data from.- Returns:
- the value for the 'ampInstanceUrl' attribute defined in continuum.json
-
getDefaultStandardIds
Gets the set of IDs implied from the value of the 'defaultStandardIds' attribute defined in continuum.json as a comma-delimited array of IDs of the accessibility standards to test for by default (invokeContinuum.getSupportedStandards()
for a list of these). Set the value of the 'defaultStandardIds' attribute in continuum.json to null to not filter by any accessibility standards by default.- Returns:
- the set of IDs implied from the value of the 'defaultStandardIds' attribute defined in continuum.json
-
getAmpApiToken
Gets the value for the 'ampApiToken' attribute defined in continuum.json. The AMP API token of the user to use to authenticate any requests to AMP that require authentication, e.g. creating/editing reports in AMP from Continuum as part of submitting test results from Continuum to AMP. Set to null if you don't want to take advantage of this functionality.- Returns:
- the value for the 'ampApiToken' attribute defined in continuum.json
-
getProxyConfiguration
Gets the proxy-specific configuration in Continuum represented by the 'proxy' object defined in continuum.json.- Returns:
- the proxy-specific configuration in Continuum represented by the 'proxy' object defined in continuum.json
-
getSauceLabsConfiguration
Gets the Sauce Labs-specific configuration in Continuum represented by the 'sauceLabs' object defined in continuum.json.- Returns:
- the Sauce Labs-specific configuration in Continuum represented by the 'sauceLabs' object defined in continuum.json
-
getMobileConfiguration
Gets the mobile-specific configuration in Continuum represented by the 'mobile' object defined in continuum.json.- Returns:
- the mobile-specific configuration in Continuum represented by the 'mobile' object defined in continuum.json
-
getAccessibilityConcernsConfiguration
public static Configuration.AccessibilityConcernsConfiguration getAccessibilityConcernsConfiguration() -
getLevelAccessPlatformConfiguration
-