final class HeterogeneousCostRulesTestHelper extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static String |
DEFAULT_RULES_FILE_NAME |
private static org.slf4j.Logger |
LOG |
Modifier | Constructor and Description |
---|---|
private |
HeterogeneousCostRulesTestHelper() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
cleanup(String file) |
(package private) static String |
createRulesFile(String file)
Create rule file with empty rules.
|
(package private) static String |
createRulesFile(String file,
List<String> rules)
Create rule file with the given rules.
|
private static final org.slf4j.Logger LOG
static final String DEFAULT_RULES_FILE_NAME
private HeterogeneousCostRulesTestHelper()
static String createRulesFile(String file, List<String> rules) throws IOException
file
- Name of file to write rules into.dir
+ DEFAULT_RULES_FILE_NAME.IOException
static String createRulesFile(String file) throws IOException
file
- Name of file to write rules into.dir
+ DEFAULT_RULES_FILE_NAME.IOException
static void cleanup(String file) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.