Remove not used WeightValidationHelper (#2916)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2026-02-10 12:50:31 +02:00
committed by GitHub
parent f7a05ab73a
commit 87c4cd8cd1
35 changed files with 134 additions and 236 deletions

View File

@@ -10,6 +10,8 @@
package org.eclipse.hawkbit.repository.model;
import jakarta.validation.Valid;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import lombok.Data;
import lombok.Setter;
@@ -77,6 +79,8 @@ public class DeploymentRequest {
@Setter
private long forceTime = RepositoryModelConstants.NO_FORCE_TIME;
@Setter
@Min(Action.WEIGHT_MIN)
@Max(Action.WEIGHT_MAX)
private ActionType actionType = ActionType.FORCED;
private String maintenanceSchedule;
private String maintenanceWindowDuration;
@@ -85,8 +89,7 @@ public class DeploymentRequest {
private boolean confirmationRequired;
/**
* Create a builder for a target distribution set assignment with the
* mandatory fields
* Create a builder for a target distribution set assignment with the mandatory fields
*
* @param controllerId ID of the target
* @param distributionSetId ID of the distribution set