Class OperatingSystemProfileActivator
java.lang.Object
org.apache.maven.impl.model.profile.OperatingSystemProfileActivator
- All Implemented Interfaces:
ProfileActivator
@Named("os")
@Singleton
public class OperatingSystemProfileActivator
extends Object
implements ProfileActivator
Determines profile activation based on the operating system of the current runtime platform.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) booleanpresentInConfig(Profile profile, ProfileActivationContext context, ModelProblemCollector problems)
-
Constructor Details
-
OperatingSystemProfileActivator
public OperatingSystemProfileActivator()
-
-
Method Details
-
isActive
public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) - Specified by:
isActivein interfaceProfileActivator
-
presentInConfig
public boolean presentInConfig(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) - Specified by:
presentInConfigin interfaceProfileActivator
-