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 TypeMethodDescriptionboolean
private String
getModelValue
(DefaultProfileActivationContext.ModelInfo key, DefaultProfileActivationContext context) int
hashCode()
(package private) boolean
matches
(DefaultProfileActivationContext context) private boolean
matchesExists
(Map<DefaultProfileActivationContext.ExistRequest, Boolean> exists, DefaultProfileActivationContext context) private boolean
matchesModelInfos
(Map<DefaultProfileActivationContext.ModelInfo, String> infos, DefaultProfileActivationContext context) private boolean
private 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)
-