class BuildAdapterFactory extends Object
Loads the BuildAdapter implementation class to be used.
Modifiers | Name | Description |
---|---|---|
static String |
ADAPTER_PROPERTY_NAME |
The system property used to specify the BuildAdapter implementation (geb.build.adapter ). |
Constructor and description |
---|
BuildAdapterFactory
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static BuildAdapter |
getBuildAdapter(ClassLoader classLoader) The build adapter to use. |
The system property used to specify the BuildAdapter implementation (geb.build.adapter
).
The build adapter to use.
If the system property geb.build.adapter
is set, the class by that name is loaded, instatied with no args, and returned.
Otherwise, an instance of SystemPropertiesBuildAdapter will be returned.
classLoader
- The class loader to attempt to load the class withGroovy API Documentation for Geb 6.0 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org