Class OperatingSystemProfileActivator
- java.lang.Object
-
- org.apache.maven.profiles.activation.OperatingSystemProfileActivator
-
- All Implemented Interfaces:
ProfileActivator
public class OperatingSystemProfileActivator extends java.lang.Object implements ProfileActivator
-
-
Field Summary
-
Fields inherited from interface org.apache.maven.profiles.activation.ProfileActivator
ROLE
-
-
Constructor Summary
Constructors Constructor Description OperatingSystemProfileActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanDetermineActivation(Profile profile)private booleandetermineArchMatch(java.lang.String arch)private booleandetermineFamilyMatch(java.lang.String family)private booleandetermineNameMatch(java.lang.String name)private booleandetermineVersionMatch(java.lang.String version)private booleanensureAtLeastOneNonNull(ActivationOS os)booleanisActive(Profile profile)
-
-
-
Method Detail
-
canDetermineActivation
public boolean canDetermineActivation(Profile profile)
- Specified by:
canDetermineActivationin interfaceProfileActivator
-
isActive
public boolean isActive(Profile profile)
- Specified by:
isActivein interfaceProfileActivator
-
ensureAtLeastOneNonNull
private boolean ensureAtLeastOneNonNull(ActivationOS os)
-
determineVersionMatch
private boolean determineVersionMatch(java.lang.String version)
-
determineArchMatch
private boolean determineArchMatch(java.lang.String arch)
-
determineNameMatch
private boolean determineNameMatch(java.lang.String name)
-
determineFamilyMatch
private boolean determineFamilyMatch(java.lang.String family)
-
-