Class StorageStrategyUtils
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.utils.StorageStrategyUtils
-
public class StorageStrategyUtils extends java.lang.Object
Storage strategy utils.
-
-
Constructor Summary
Constructors Constructor Description StorageStrategyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkReferentOfferUsageInStrategiesValid(java.util.List<StorageStrategy> storageStrategies)
static void
checkStrategy(java.lang.String storageStrategy, java.util.List<StorageStrategy> referentialStrategies, java.lang.String variableName, boolean referentOffersMandatory)
static java.util.List<java.lang.String>
loadOfferIds(java.lang.String storageStrategyId, java.util.List<StorageStrategy> storageStrategies)
-
-
-
Method Detail
-
checkStrategy
public static void checkStrategy(java.lang.String storageStrategy, java.util.List<StorageStrategy> referentialStrategies, java.lang.String variableName, boolean referentOffersMandatory) throws StorageStrategyNotFoundException, StorageStrategyReferentOfferException
-
loadOfferIds
public static java.util.List<java.lang.String> loadOfferIds(java.lang.String storageStrategyId, java.util.List<StorageStrategy> storageStrategies) throws StorageStrategyNotFoundException
- Throws:
StorageStrategyNotFoundException
-
checkReferentOfferUsageInStrategiesValid
public static boolean checkReferentOfferUsageInStrategiesValid(java.util.List<StorageStrategy> storageStrategies)
-
-