Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DescriptiveChange (0.18 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DescriptiveChange.java

    package org.gradle.internal.execution.history.changes;
    
    import com.google.errorprone.annotations.FormatMethod;
    
    import java.util.Objects;
    
    public class DescriptiveChange implements Change {
        private final String message;
    
        @FormatMethod
        public DescriptiveChange(String message, Object... params) {
            this.message = String.format(message, params);
        }
    
        @Override
        public String getMessage() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/PropertyChanges.java

                return true;
            }
            Stream<DescriptiveChange> removedProperties = Sets.difference(previous, current).stream()
                .map(removedProperty -> new DescriptiveChange("%s property '%s' has been removed for %s",
                    title, removedProperty, executable.getDisplayName()));
            Stream<DescriptiveChange> addedProperties = Sets.difference(current, previous).stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/ImplementationChanges.java

                return visitor.visitChange(new DescriptiveChange("Class path of %s has changed from %s to %s.",
                    executable.getDisplayName(), previousImplementation.getClassLoaderHash(), currentImplementation.getClassLoaderHash()));
            }
    
            if (!currentAdditionalImplementations.equals(previousAdditionalImplementations)) {
                return visitor.visitChange(new DescriptiveChange("One or more additional actions for %s have changed.",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

            outputFileChanges.accept(visitor)
            visitor.getChanges().collect {new DescriptiveChange(it.message) }.toList()
        }
    
        def added(String path) {
            new DescriptiveChange("Output property 'test' file ${FilenameUtils.separatorsToSystem(path)} has been added.")
        }
    
        def removed(String path) {
            new DescriptiveChange("Output property 'test' file ${FilenameUtils.separatorsToSystem(path)} has been removed.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/PreviousSuccessChanges.java

     * limitations under the License.
     */
    
    package org.gradle.internal.execution.history.changes;
    
    public class PreviousSuccessChanges implements ChangeContainer {
        private static final Change PREVIOUS_FAILURE = new DescriptiveChange("Task has failed previously.");
    
        private final boolean successful;
    
        public PreviousSuccessChanges(boolean successful) {
            this.successful = successful;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/InputValueChanges.java

            for (Map.Entry<String, String> entry : changed.entrySet()) {
                String propertyName = entry.getKey();
                String changeType = entry.getValue();
                if (!visitor.visitChange(new DescriptiveChange("%s of input property '%s' has changed for %s",
                        changeType, propertyName, executable.getDisplayName()))) {
                    return false;
                }
            }
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top