|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgeb.buildadapter.BuildAdapterFactory
class BuildAdapterFactory extends Object
Loads the BuildAdapter implementation class to be used.
Field Summary | |
---|---|
static String |
ADAPTER_PROPERTY_NAME
The system property used to specify the BuildAdapter implementation (geb.build.adapter). |
Method Summary | |
---|---|
static BuildAdapter
|
getBuildAdapter(ClassLoader classLoader)
The build adapter to use. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
public static final String ADAPTER_PROPERTY_NAME
Method Detail |
---|
static BuildAdapter getBuildAdapter(ClassLoader classLoader)
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 with
Groovy API Documentation for geb-core 0.6.2 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org