Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 118 for getResource (0.15 seconds)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals("", problem.getSource());
    
            problem = new DefaultProblem(null, null, "", -1, -1, null);
            assertEquals("", problem.getSource());
    
            problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null);
            assertEquals("SOURCE", problem.getSource());
        }
    
        @Test
        void testGetLocation() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  2. cmd/namespace-lock.go

    	opsID   string
    }
    
    // Lock - block until write lock is taken or timeout has occurred.
    func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) {
    	lockSource := getSource(2)
    	start := UTCNow()
    
    	newCtx, cancel := context.WithCancel(ctx)
    	if !di.rwMutex.GetLock(newCtx, cancel, di.opsID, lockSource, dsync.Options{
    		Timeout:       timeout.Timeout(),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            /**
             * The repositories specified in the request have precedence over the repositories declared in the POM.
             */
            REQUEST_DOMINANT,
        }
    
        @Nonnull
        ModelSource getSource();
    
        @Nonnull
        RequestType getRequestType();
    
        boolean isLocationTracking();
    
        boolean isRecursive();
    
        /**
         * Defines external profiles that may be activated for the given model.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
                if (!problem.getSource().isEmpty()) {
                    if (!buffer.isEmpty()) {
                        buffer.append(", ");
                    }
                    buffer.append(problem.getSource());
                }
            }
    
            if (problem.getLineNumber() > 0) {
                if (!buffer.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

            assertThrows(
                ConflictingRequirementsException.class, () -> buildTesterRequirements(Tester.class));
        assertThat(e.getConflicts()).containsExactly(FOO);
        assertThat(e.getSource()).isEqualTo(Tester.class.getAnnotation(Require.class));
      }
    
      public void testBuildTesterRequirements_classClassConflict_inherited() {
        @Require(FOO)
        abstract class BaseTester {}
        @Require(absent = FOO)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            Profile existing = profilesById.get(profileId);
            if (existing != null) {
                logger.warn("Overriding profile: '" + profileId + "' (source: " + existing.getSource()
                        + ") with new instance from source: " + profile.getSource());
            }
    
            profilesById.put(profile.getId(), profile);
    
            Activation activation = profile.getActivation();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            if (inputLocation != null && inputLocation.getSource() != null) {
                StringBuilder stringBuilder = new StringBuilder();
                stringBuilder.append(inputLocation.getSource().getModelId());
                String location = inputLocation.getSource().getLocation();
                if (location != null) {
                    if (location.contains("://")) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java

         */
        public abstract RegularFileProperty getHighlightStylesheet();
    
        /**
         * Resources to include with the generated documentation.
         */
        public abstract ConfigurableFileCollection getResources();
    
        /**
         * Location to stage the intermediate documentation. This is like a working directory.
         */
        public abstract DirectoryProperty getStagingRoot();
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.9K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

         */
        public AbstractMojoExecutionException(Throwable cause) {
            super(cause);
        }
    
        public String getLongMessage() {
            return longMessage;
        }
    
        public Object getSource() {
            return source;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

        super(message);
        this.conflicts = conflicts;
        this.source = source;
      }
    
      public Set<Feature<?>> getConflicts() {
        return conflicts;
      }
    
      public Object getSource() {
        return source;
      }
    
      @Override
      public String getMessage() {
        return super.getMessage() + " (source: " + source + ")";
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top