Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for setProperties (6.2 sec)

  1. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

            final Method m = ClassUtil.getMethod(getClass(), "testGetProperties");
            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
            assertThat((String) props.get("aaa"), is("123"));
            assertThat((String) props.get("bbb"), is("3"));
            assertThat(props.get("ccc"), is(nullValue()));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/FatArtifactTraverser.java

     * artifacts that have the property {@link MavenArtifactProperties#INCLUDES_DEPENDENCIES} set to
     * {@code true}.
     *
     * @see org.eclipse.aether.artifact.Artifact#getProperties()
     * @see MavenArtifactProperties
     * @since 4.0.0
     */
    public final class FatArtifactTraverser implements DependencyTraverser {
    
        public FatArtifactTraverser() {}
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

        List<String> getInactiveProfileIds();
    
        /**
         * Gets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The execution properties, never {@code null}.
         */
        Map<String, String> getSystemProperties();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    profileProps.putAll(profile.getProperties());
                }
                profileProps.putAll(profileActivationContext.getUserProperties());
                profileActivationContext.setUserProperties(profileProps);
            }
    
            profileActivationContext.setProjectProperties(inputModel.getProperties());
            problems.setSource(inputModel);
            List<Profile> activePomProfiles =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                    // a parameter.
    
                    value = properties.getProperty(expression);
                }
    
                if ((value == null) && ((project != null) && (project.getProperties() != null))) {
                    value = project.getProperties().getProperty(expression);
                }
            }
    
            if (value instanceof String) {
                // TODO without #, this could just be an evaluate call...
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/StandardSystemProperty.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import javax.annotation.CheckForNull;
    
    /**
     * Represents a {@linkplain System#getProperties() standard system property}.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @J2ktIncompatible
    @GwtIncompatible // java.lang.System#getProperty
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY;
                    if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) {
                        attrs &= ~SmbConstants.ATTR_HIDDEN;
                    }
                    f.setAttributes(attrs);
                    assertEquals(attrs, f.getAttributes());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            Model originalModel = pom.getMavenProject().getOriginalModel();
    
            // =============================================
            assertEquals("||${project.basedir}||", originalModel.getProperties().get("prop-outside"));
    
            List<Plugin> outsidePlugins = originalModel.getBuild().getPlugins();
            assertEquals(1, outsidePlugins.size());
    
            checkBuildPluginWithArtifactId(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

        }
    
        protected List<ValueSource> createValueSources(
                Model model, Path projectDir, ModelBuilderRequest request, ModelProblemCollector problems) {
            Map<String, String> modelProperties = model.getProperties();
    
            ValueSource projectPrefixValueSource;
            ValueSource prefixlessObjectBasedValueSource;
            if (request.getValidationLevel() >= ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_4_0) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Activation defaultActivation = new Activation();
    
            defaultActivation.setActiveByDefault(true);
    
            defaultActivated.setActivation(defaultActivation);
    
            Properties props = System.getProperties();
    
            ProfileManager profileManager = new DefaultProfileManager(getContainer(), props);
    
            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top