Class DefaultProfileActivationContext.Record
java.lang.Object
org.apache.maven.internal.impl.model.DefaultProfileActivationContext.Record
- Enclosing class:
DefaultProfileActivationContext
This class keeps track of information that are used during profile activation.
This allows to cache the activated parent and check if the result of the
activation will be the same by verifying that the used keys are the same.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<DefaultProfileActivationContext.ExistRequest, Boolean> private final Map<DefaultProfileActivationContext.ModelInfo, String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate StringgetModelValue(DefaultProfileActivationContext.ModelInfo key, DefaultProfileActivationContext context) inthashCode()(package private) booleanmatches(DefaultProfileActivationContext context) private booleanmatchesExists(Map<DefaultProfileActivationContext.ExistRequest, Boolean> exists, DefaultProfileActivationContext context) private booleanmatchesModelInfos(Map<DefaultProfileActivationContext.ModelInfo, String> infos, DefaultProfileActivationContext context) private booleanprivate boolean
-
Field Details
-
usedActiveProfiles
-
usedInactiveProfiles
-
usedSystemProperties
-
usedUserProperties
-
usedModelProperties
-
usedModelInfos
-
usedExists
-
-
Constructor Details
-
Record
Record()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
matches
-
matchesProfiles
-
matchesProperties
-
matchesModelInfos
private boolean matchesModelInfos(Map<DefaultProfileActivationContext.ModelInfo, String> infos, DefaultProfileActivationContext context) -
getModelValue
private String getModelValue(DefaultProfileActivationContext.ModelInfo key, DefaultProfileActivationContext context) -
matchesExists
private boolean matchesExists(Map<DefaultProfileActivationContext.ExistRequest, Boolean> exists, DefaultProfileActivationContext context)
-