Search in sources :

Example 1 with MetadataTimingStatistic

use of org.springframework.roo.metadata.MetadataTimingStatistic in project spring-roo by spring-projects.

the class MetadataCommands method metadataTimings.

@CliCommand(value = METADATA_STATUS_COMMAND, help = "Shows metadata statistics of the current project.")
public String metadataTimings() {
    final StringBuilder sb = new StringBuilder();
    for (final MetadataTimingStatistic stat : metadataLogger.getTimings()) {
        sb.append(stat.toString()).append(LINE_SEPARATOR);
    }
    sb.append(metadataService.toString());
    return sb.toString();
}
Also used : MetadataTimingStatistic(org.springframework.roo.metadata.MetadataTimingStatistic) CliCommand(org.springframework.roo.shell.CliCommand)

Aggregations

MetadataTimingStatistic (org.springframework.roo.metadata.MetadataTimingStatistic)1 CliCommand (org.springframework.roo.shell.CliCommand)1