errorCondition.put("condition", conditions.getErrorCondition().toString()); errorCondition.put("expression", conditions.getErrorConditionExp());
@Override public JpaRolloutGroup build() { final JpaRolloutGroup group = new JpaRolloutGroup(); group.setName(name); group.setDescription(description); group.setTargetFilterQuery(targetFilterQuery); if (targetPercentage == null) { targetPercentage = 100F; } group.setTargetPercentage(targetPercentage); if (conditions != null) { group.setSuccessCondition(conditions.getSuccessCondition()); group.setSuccessConditionExp(conditions.getSuccessConditionExp()); group.setSuccessAction(conditions.getSuccessAction()); group.setSuccessActionExp(conditions.getSuccessActionExp()); group.setErrorCondition(conditions.getErrorCondition()); group.setErrorConditionExp(conditions.getErrorConditionExp()); group.setErrorAction(conditions.getErrorAction()); group.setErrorActionExp(conditions.getErrorActionExp()); } return group; }
@Override public JpaRolloutGroup build() { final JpaRolloutGroup group = new JpaRolloutGroup(); group.setName(name); group.setDescription(description); group.setTargetFilterQuery(targetFilterQuery); if (targetPercentage == null) { targetPercentage = 100F; } group.setTargetPercentage(targetPercentage); if (conditions != null) { group.setSuccessCondition(conditions.getSuccessCondition()); group.setSuccessConditionExp(conditions.getSuccessConditionExp()); group.setSuccessAction(conditions.getSuccessAction()); group.setSuccessActionExp(conditions.getSuccessActionExp()); group.setErrorCondition(conditions.getErrorCondition()); group.setErrorConditionExp(conditions.getErrorConditionExp()); group.setErrorAction(conditions.getErrorAction()); group.setErrorActionExp(conditions.getErrorActionExp()); } return group; }
group.setErrorCondition(conditions.getErrorCondition());
group.setErrorCondition(conditions.getErrorCondition());
group.setSuccessActionExp(conditions.getSuccessActionExp()); group.setErrorCondition(conditions.getErrorCondition()); group.setErrorConditionExp(conditions.getErrorConditionExp());
group.setSuccessActionExp(conditions.getSuccessActionExp()); group.setErrorCondition(conditions.getErrorCondition()); group.setErrorConditionExp(conditions.getErrorConditionExp());