Document StatusValue better and add per-resource restrictions

This generalizes the "LINKED can't be anywhere" idea into more
targeted restrictions.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=146158204
This commit is contained in:
cgoldfeder
2017-02-02 16:46:02 -05:00
committed by Ben McIlwain
parent 7f3941a843
commit 50c5f856a2
8 changed files with 88 additions and 26 deletions
@@ -204,9 +204,7 @@ public class GenerateEscrowDepositCommandTest
.setLastTransferTime(DateTime.parse("1910-01-01T00:00:00Z"))
.setLastEppUpdateClientId("CeilingCat")
.setLastEppUpdateTime(clock.nowUtc())
.setStatusValues(ImmutableSet.of(
StatusValue.OK,
StatusValue.PENDING_UPDATE))
.setStatusValues(ImmutableSet.of(StatusValue.OK))
.build();
}