Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isActive (0.15 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

     */
    @Named("os")
    @Singleton
    public class OperatingSystemProfileActivator implements ProfileActivator {
    
        private static final String REGEX_PREFIX = "regex:";
    
        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        public boolean canDetermineActivation(Profile profile) {
            Activation activation = profile.getActivation();
            return activation != null && activation.getOs() != null;
        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
            ActivationOS os = activation.getOs();
    
            boolean result = ensureAtLeastOneNonNull(os);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top