public static class ConfigUpgradeChangeDefinition.Insert extends ConfigUpgradeChangeDefinition.Masked
value
already exists, then it is not inserted again.Modifier and Type | Field and Description |
---|---|
ConfigUpgradeChangeDefinition.InsertType |
insertType
The value to insert.
|
String |
key
The key name
|
boolean |
newlineAfter
true to insert a new line after inserting the value . |
boolean |
newlineBefore
true to insert a new line before inserting the value . |
String |
value
The value to insert.
|
mask
ifKey, ifKeyState, ifType, ifValue, ifValueMatchType, ifValueNotMatched
Constructor and Description |
---|
Insert() |
public String key
public String value
public ConfigUpgradeChangeDefinition.InsertType insertType
public boolean newlineBefore
true
to insert a new line before inserting the value
.public boolean newlineAfter
true
to insert a new line after inserting the value
.Copyright © 2022 Apache Software Foundation. All rights reserved.