public static class ConfigChange.BooleanToString extends java.lang.Object implements ConfigChange
ConfigChange.BooleanToString, ConfigChange.Copied, ConfigChange.Moved, ConfigChange.Removed, ConfigChange.RemovedComment
Constructor and Description |
---|
BooleanToString(java.lang.String oldPath,
java.lang.String newPath,
java.lang.String valueIfTrue,
java.lang.String valueIfFalse) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Config config) |
java.lang.String |
getAppliedMessage() |
boolean |
hasBeenApplied(Config config) |
public BooleanToString(java.lang.String oldPath, java.lang.String newPath, java.lang.String valueIfTrue, java.lang.String valueIfFalse)
public boolean hasBeenApplied(Config config)
hasBeenApplied
in interface ConfigChange
public void apply(Config config)
apply
in interface ConfigChange
public java.lang.String getAppliedMessage()
getAppliedMessage
in interface ConfigChange