private boolean isSatisfied ( ) { if ( pipelineData . getZonesRequired ( ) != null ) { return ( ( pipelineData . getSuccesses ( ) >= required ) && ( pipelineData . getZoneResponses ( ) . size ( ) >= ( pipelineData . getZonesRequired ( ) + 1 ) ) ) ; } else { return pipelineData . getSuccesses ( ) >= required ; } }
Checks whether every property except preferred is satisfied