Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for getProperties (0.26 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            Properties properties = getMavenProject(project).getProperties();
            if (value == null) {
                properties.remove(key);
            } else {
                properties.setProperty(key, value);
            }
        }
    
        @Override
        public Map<String, String> getProperties(Project project) {
            return Collections.unmodifiableMap(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/AllTests.java

            Map<String, Map<String, String>> configs = new HashMap<>();
    
            if ( System.getProperties().containsKey(TestProperties.TEST_SERVER) ) {
                configs.put("properties", toMap(System.getProperties()));
            }
    
            if ( System.getProperties().containsKey(TestProperties.TEST_CONFIG_DIR) ) {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            return systemProperties;
        }
    
        /**
         * Sets 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.
         *
         * @param systemProperties The system properties, may be {@code null}.
         * @return This context, never {@code null}.
         */
        @SuppressWarnings("unchecked")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

         * environment like {@link System#getProperties()} and environment variables.
         *
         * @return The system properties, never {@code null}.
         */
        Properties getSystemProperties();
    
        /**
         * Sets the system properties to use for interpolation. The system properties are collected from the runtime
         * environment like {@link System#getProperties()} and environment variables.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         * アノテーションの要素を名前と値の{@link Map}として返します。
         *
         * @param annotation
         *            アノテーション。{@literal null}であってはいけません
         * @return アノテーションの要素の名前と値からなる{@link Map}
         */
        public static Map<String, Object> getProperties(final Annotation annotation) {
            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ReadWriteTest.java

        }
    
    
        private String getFifoPipeUrl () {
            String testFifoPipe = getProperties().get(TestProperties.TEST_FIFO_PIPE);
            Assume.assumeNotNull(testFifoPipe);
            return "smb://" + getTestServer() + "/IPC$/" + testFifoPipe;
        }
    
    
        private String getTransactPipeUrl () {
            String testTransactPipe = getProperties().get(TestProperties.TEST_TRANSACT_PIPE);
            Assume.assumeNotNull(testTransactPipe);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                            main.getArtifactId(),
                            BUILD_POM_CLASSIFIER,
                            main.getExtension(),
                            main.getVersion(),
                            main.getProperties(),
                            main.getFile()));
                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
                    result.add(new DefaultArtifact(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/Config.java

         * using the <tt>-Djcifs.properties=</tt> commandline parameter.
         */
    
        public static void setProperties( Properties prp ) {
            Config.prp = new Properties( prp );
            try {
                Config.prp.putAll( System.getProperties() );
            } catch( SecurityException se ) {
                if( log.level > 1 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Model out = interpolator.interpolateModel(model, new File("."), createModelBuildingRequest(context), collector);
            assertProblemFree(collector);
    
            assertEquals("/path/to/home", out.getProperties().get("outputDirectory"));
        }
    
        @Test
        public void envarExpressionThatEvaluatesToNullReturnsTheLiteralString() throws Exception {
    
            Map<String, String> modelProperties = new HashMap<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top