Package org.ametys.runtime.plugin
Class CorrectedDependencies
- java.lang.Object
-
- org.ametys.runtime.plugin.CorrectedDependencies
-
class CorrectedDependencies extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String,Feature>
_allFeatures
private Map<Feature,Collection<String>>
_correctedDependencies
private Map<String,Collection<IncomingDeactivation>>
_incomingDeactivations
private org.slf4j.Logger
_logger
-
Constructor Summary
Constructors Constructor Description CorrectedDependencies(Map<String,Feature> allFeatures, Map<String,Collection<IncomingDeactivation>> incomingDeactivations, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_computeCorrectedDependencies()
private Collection<String>
_computeCorrectedDependencies(Feature feature)
private String
_getOverride(Collection<IncomingDeactivation> deactivators)
private boolean
_hasDeactivatorsAndNoOverride(Collection<IncomingDeactivation> deactivators)
private Collection<String>
_maybeReplaceDependencyByDeactivators(String dependency, Feature originalFeature)
private Stream<IncomingDeactivation>
_onlyOverriden(Collection<IncomingDeactivation> deactivators)
(package private) Collection<String>
getCorrectedDependencies(Feature feature)
String
toString()
-
-
-
Field Detail
-
_allFeatures
private Map<String,Feature> _allFeatures
-
_correctedDependencies
private Map<Feature,Collection<String>> _correctedDependencies
-
_incomingDeactivations
private Map<String,Collection<IncomingDeactivation>> _incomingDeactivations
-
_logger
private org.slf4j.Logger _logger
-
-
Constructor Detail
-
CorrectedDependencies
CorrectedDependencies(Map<String,Feature> allFeatures, Map<String,Collection<IncomingDeactivation>> incomingDeactivations, org.slf4j.Logger logger)
-
-
Method Detail
-
_computeCorrectedDependencies
private void _computeCorrectedDependencies()
-
getCorrectedDependencies
Collection<String> getCorrectedDependencies(Feature feature)
-
_computeCorrectedDependencies
private Collection<String> _computeCorrectedDependencies(Feature feature)
-
_maybeReplaceDependencyByDeactivators
private Collection<String> _maybeReplaceDependencyByDeactivators(String dependency, Feature originalFeature)
-
_getOverride
private String _getOverride(Collection<IncomingDeactivation> deactivators)
-
_onlyOverriden
private Stream<IncomingDeactivation> _onlyOverriden(Collection<IncomingDeactivation> deactivators)
-
_hasDeactivatorsAndNoOverride
private boolean _hasDeactivatorsAndNoOverride(Collection<IncomingDeactivation> deactivators)
-
-