public static void verifyRolloutInStatus ( final Rollout rollout , final Rollout . RolloutStatus status ) { if ( ! rollout . getStatus ( ) . equals ( status ) ) { throw new RolloutIllegalStateException ( "Rollout is not in status " + status . toString ( ) ) ; } }
Verifies that the Rollout is in the required status .