public class RulesApplier extends Object
| Constructor and Description |
|---|
RulesApplier(XMLConfigParser parser) |
RulesApplier(XMLConfigParser parser,
long seed) |
| Modifier and Type | Method and Description |
|---|---|
String |
checkDatePattern(String date) |
String |
generateRandomDate(int min,
int max) |
String |
generateRandomDate(String min,
String max) |
String |
getCurrentDate() |
DataValue |
getDataForRule(Scenario scenario,
Column phxMetaColumn)
Get a data value based on rules.
|
DataValue |
getDataValue(Column column)
Get data value based on the supplied rule
|
List<Map> |
getModelList() |
Column |
getRule(Column phxMetaColumn) |
Column |
getRule(String columnName) |
Column |
getRule(String columnName,
Scenario scenario) |
public RulesApplier(XMLConfigParser parser)
public RulesApplier(XMLConfigParser parser, long seed)
public DataValue getDataForRule(Scenario scenario, Column phxMetaColumn) throws Exception
public DataValue getDataValue(Column column) throws Exception
public String generateRandomDate(int min, int max) throws Exception
Exceptionpublic String generateRandomDate(String min, String max) throws Exception
Exceptionpublic String getCurrentDate()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.