@Deprecated public class OverrideFieldAgitator extends Object implements YamlAgitator
A primary use-case for this agitator is in testing scenarios to verify that the overridden values are correctly recognized and processed by YAML consumers.
| Constructor and Description |
|---|
OverrideFieldAgitator(String... fields)
Deprecated.
Constructs a new OverrideFieldAgitator with the specified fields and their values
to be overridden.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
generateInputs(String yaml)
Deprecated.
Generates a map of altered YAML inputs based on the provided YAML string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitduplicateMessage, duplicateMessage, messageMissing, messageMissing, missingFields, overrideFields, replaceAllpublic OverrideFieldAgitator(String... fields)
fields - Varargs of field names along with their new values in the "field: value" format.public Map<String,String> generateInputs(String yaml)
YamlAgitatorgenerateInputs in interface YamlAgitatoryaml - The original YAML content to be agitated.Copyright © 2024. All rights reserved.