@Deprecated public class MissingFieldAgitator extends Object implements YamlAgitator
A primary use-case for this agitator would be in testing parsers or consumers of the YAML content to ensure they handle and react correctly to missing fields.
| Constructor and Description |
|---|
MissingFieldAgitator(String... fields)
Deprecated.
Constructs a new MissingFieldAgitator with the specified field names to be marked as missing.
|
| 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 MissingFieldAgitator(String... fields)
fields - Varargs of field names to be made missing.public Map<String,String> generateInputs(String yaml)
YamlAgitatorgenerateInputs in interface YamlAgitatoryaml - The original YAML content to be agitated.Copyright © 2024. All rights reserved.