Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for setProperties (1.68 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    file.setMissing(profileFile.getMissing());
    
                    activation.setFile(file);
                }
    
                profile.setActivation(activation);
            }
    
            profile.setProperties(profileXmlProfile.getProperties());
    
            List repos = profileXmlProfile.getRepositories();
            if (repos != null) {
                for (Object repo : repos) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

                };
            } else {
                return Nature.RELEASE;
            }
        }
    
        @Override
        public Map<String, String> getProperties() {
            return Collections.emptyMap();
        }
    
        @Override
        public Metadata setProperties(Map<String, String> properties) {
            return this;
        }
    
        @SuppressWarnings("deprecation")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         *
         * @param annotation the annotation (must not be {@literal null})
         * @return a {@link Map} of annotation element names and values
         */
        public static Map<String, Object> getProperties(final Annotation annotation) {
            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. compat/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);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. 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()));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

        }
      }
    
      public void testNoNullValues() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          // Even though the contract in System.getProperties() specifies that a value will exist for
          // all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs.
          if (property == JAVA_COMPILER) {
            continue;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                    interpolator.addValueSource(new EnvarBasedValueSource());
                } catch (IOException e) {
                    // ignored
                }
                interpolator.addValueSource(new MapBasedValueSource(System.getProperties()));
    
                try {
                    if (fileString != null && !fileString.isEmpty()) {
                        fileString = interpolator.interpolate(fileString, "").replace("\\", "/");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

     * public class CustomModelTransformer implements ModelTransformer {
     *     public Model transformEffectiveModel(Model model) throws ModelTransformerException {
     *         // Add a custom property to all models
     *         model.getProperties().put("custom.timestamp", System.currentTimeMillis());
     *         return model;
     *     }
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java

        private ProfileManager globalProfileManager;
    
        private ArtifactRepository localRepository;
    
        private Properties userProperties;
    
        private Properties executionProperties = System.getProperties();
    
        private Date buildStartTime;
    
        public DefaultProjectBuilderConfiguration() {}
    
        @Override
        public ProjectBuilderConfiguration setGlobalProfileManager(ProfileManager globalProfileManager) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/StandardSystemProperty.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Represents a {@linkplain System#getProperties() standard system property}.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @GwtIncompatible // java.lang.System#getProperty
    public enum StandardSystemProperty {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 06 10:03:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top