Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/format/DurationFormatter.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.logging.format;
    
    public interface DurationFormatter {
        /**
         * Given a duration in milliseconds, return a textual representation.
         *
         * @param durationMillis milliseconds duration
         * @return String for display
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 922 bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildResultLogger.java

        private final DurationFormatter durationFormatter;
        private final WorkValidationWarningReporter workValidationWarningReporter;
        private final Clock clock;
    
        public BuildResultLogger(
            StyledTextOutputFactory textOutputFactory,
            BuildStartedTime buildStartedTime,
            Clock clock,
            DurationFormatter durationFormatter,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 08 10:17:53 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/buildevents/BuildResultLoggerTest.groovy

        private Clock clock = Mock(Clock)
        private DurationFormatter durationFormatter = Mock(DurationFormatter)
        def workValidationWarningReporter = Stub(WorkValidationWarningReporter)
        private BuildResultLogger subject = new BuildResultLogger(textOutputFactory, buildStartedTime, clock, durationFormatter, workValidationWarningReporter)
    
        def "logs build success with total time"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/format/TersePrettyDurationFormatter.java

     * limitations under the License.
     */
    
    package org.gradle.internal.logging.format;
    
    import org.gradle.internal.time.TimeFormatting;
    
    public class TersePrettyDurationFormatter implements DurationFormatter {
    
        @Override
        public String format(long elapsedTimeInMs) {
            return TimeFormatting.formatDurationTerse(elapsedTimeInMs);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 924 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    * The deprecated class `org.gradle.api.ConventionProperty` has been removed.
      Use link:{javadocPath}/org/gradle/api/provider/Provider.html[Providers] instead of convention properties.
    * The deprecated class `org.gradle.reporting.DurationFormatter` has been removed.
    * The bridge method `org.gradle.api.tasks.TaskInputs.property(String name, @Nullable Object value)` returning `TaskInputs` has been removed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.logging.format.DurationFormatter> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DurationFormatter.java:0)
    Class <org.gradle.internal.logging.format.LogHeaderFormatter> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (LogHeaderFormatter.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top