Package fr.gouv.vitam.worker.core.utils

# Class HoldRuleUtils

java.lang.Object
fr.gouv.vitam.worker.core.utils.HoldRuleUtils

public final class HoldRuleUtils extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Set<InheritedRuleResponseModel>`
  `listActiveHoldRules(String unitId, List<InheritedRuleResponseModel> holdRules, LocalDate expirationDate)`
  `static InheritedRuleCategoryResponseModel`
  `parseHoldRuleCategory(com.fasterxml.jackson.databind.JsonNode unit)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### parseHoldRuleCategory

    public static InheritedRuleCategoryResponseModel parseHoldRuleCategory(com.fasterxml.jackson.databind.JsonNode unit) throws ProcessingStatusException
    Throws:
      `ProcessingStatusException`

  - ### listActiveHoldRules

    public static Set<InheritedRuleResponseModel> listActiveHoldRules(String unitId, List<InheritedRuleResponseModel> holdRules, LocalDate expirationDate)