@Deprecated public interface YamlAgitator
Through its static methods, the interface offers access to various concrete agitator implementations, enabling different ways of agitating YAML content.
| Modifier and Type | Method and Description |
|---|---|
static YamlAgitator |
duplicateMessage()
Deprecated.
Provides a YamlAgitator that duplicates messages.
|
static YamlAgitator |
duplicateMessage(int limit)
Deprecated.
Provides a YamlAgitator that duplicates messages up to a given limit.
|
Map<String,String> |
generateInputs(String yaml)
Deprecated.
Generates a map of altered YAML inputs based on the provided YAML string.
|
static YamlAgitator |
messageMissing()
Deprecated.
Provides a YamlAgitator that handles missing messages.
|
static YamlAgitator |
messageMissing(int limit)
Deprecated.
Provides a YamlAgitator that handles missing messages up to a given limit.
|
static YamlAgitator |
missingFields(String... fields)
Deprecated.
Provides a YamlAgitator that flags specified fields as missing.
|
static YamlAgitator |
overrideFields(String... fields)
Deprecated.
Provides a YamlAgitator that overrides the values of specified fields.
|
static YamlAgitator |
replaceAll(String name,
String regex,
String replaceAll)
Deprecated.
Provides a YamlAgitator that applies regex transformations on fields.
|
static YamlAgitator messageMissing()
static YamlAgitator messageMissing(int limit)
limit - The maximum number of missing messages to handle.static YamlAgitator duplicateMessage()
static YamlAgitator duplicateMessage(int limit)
limit - The maximum number of messages to duplicate.static YamlAgitator missingFields(String... fields)
fields - An array of field names to be flagged as missing.static YamlAgitator overrideFields(String... fields)
fields - An array of field names to be overridden.static YamlAgitator replaceAll(String name, String regex, String replaceAll)
name - The name of the field to be transformed.regex - The regex pattern to be applied.replaceAll - The replacement string.Map<String,String> generateInputs(String yaml)
yaml - The original YAML content to be agitated.Copyright © 2024. All rights reserved.