public interface FlagUpdate
Modifier and Type | Method and Description |
---|---|
java.lang.String |
flagToUpdate()
Get the key of the flag that this FlagUpdate is intended to update.
|
Flag |
updateFlag(Flag before)
Given an existing Flag retrieved by the flagKey returned by flagToUpdate(), updateFlag should
return null if the flag is to be deleted, a new Flag if the flag should be replaced by the
new Flag, or the before Flag if the flag should be left the same.
|
Flag updateFlag(Flag before)
before
- An existing Flag associated with flagKey from flagToUpdate()java.lang.String flagToUpdate()