Interface ExecutionParser
-
- All Known Implementing Classes:
DefaultExecutionParser
public interface ExecutionParser
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionParserHandler
BUILD_HANDLER
Sets mvn command of Executionstatic ExecutionParserHandler
BUILD_PROFILES_HANDLER
static ExecutionParserHandler
BUILD_RESULT_HANDLER
Sets expected result of Execution (i.e.static ExecutionParserHandler
POST_HANDLER
Used after all other handlers were runstatic ExecutionParserHandler
SKIP_HANDLER
static ExecutionParserHandler
SYSTEM_PROPERTIES_HANDLER
Sets java parameters to Execution
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Properties
loadProps(String filePath)
Loads *.properties file.Collection<Execution>
parse(String workingDir)
Parse invoker properties from workingDir into a collection of executions.static Map<String,String>
propsToMap(Properties props)
-
-
-
Field Detail
-
SKIP_HANDLER
static final ExecutionParserHandler SKIP_HANDLER
-
BUILD_HANDLER
static final ExecutionParserHandler BUILD_HANDLER
Sets mvn command of Execution
-
BUILD_PROFILES_HANDLER
static final ExecutionParserHandler BUILD_PROFILES_HANDLER
-
BUILD_RESULT_HANDLER
static final ExecutionParserHandler BUILD_RESULT_HANDLER
Sets expected result of Execution (i.e. success true/false)
-
SYSTEM_PROPERTIES_HANDLER
static final ExecutionParserHandler SYSTEM_PROPERTIES_HANDLER
Sets java parameters to Execution
-
POST_HANDLER
static final ExecutionParserHandler POST_HANDLER
Used after all other handlers were run
-
-
Method Detail
-
loadProps
static Properties loadProps(String filePath)
Loads *.properties file.- Parameters:
filePath
- - File path of the *.properties file- Returns:
- Loaded properties
-
propsToMap
static Map<String,String> propsToMap(Properties props)
-
parse
Collection<Execution> parse(String workingDir)
Parse invoker properties from workingDir into a collection of executions.- Parameters:
workingDir
- - Working directory where invoker.properties are present- Returns:
- Collection of executions
-
-