|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robotframework.javalib.library.KeywordFactoryBasedLibrary<Keyword>
org.robotframework.javalib.library.SpringLibrary
public class SpringLibrary
A Robot keyword library that uses Spring configuration files for defining keywords.
Before using this library, you must set the configuration file pattern
with setConfigFilePattern(String) so that it will find your
configuration files.
The library finds all the configuration files matching the pattern.
All the defined beans that implement the Keyword interface are
available as keywords.
| Constructor Summary | |
|---|---|
SpringLibrary()
|
|
SpringLibrary(java.lang.String configFilePattern)
|
|
| Method Summary | |
|---|---|
protected KeywordFactory<Keyword> |
createKeywordFactory()
Creates a keyword factory. |
void |
setConfigFilePattern(java.lang.String pattern)
Sets the pattern. |
| Methods inherited from class org.robotframework.javalib.library.KeywordFactoryBasedLibrary |
|---|
getClassLoader, getKeywordNames, runKeyword, setClassLoader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringLibrary(java.lang.String configFilePattern)
public SpringLibrary()
| Method Detail |
|---|
protected KeywordFactory<Keyword> createKeywordFactory()
KeywordFactoryBasedLibraryKeywordFactoryBasedLibrary.getKeywordNames() or KeywordFactoryBasedLibrary.runKeyword(String, Object[])
is called for the first time.
createKeywordFactory in class KeywordFactoryBasedLibrary<Keyword>KeywordFactoryBasedLibrary.createKeywordFactory()public void setConfigFilePattern(java.lang.String pattern)
RobotJavaLibrary.runKeyword(String, Object[]) or
RobotJavaLibrary.getKeywordNames().
pattern - pattern
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||