Refactored service metrics page class names.

This commit is contained in:
Christian P. MOMON 2021-05-30 03:05:16 +02:00
parent 8027becdfe
commit ab85c5f1fd
5 changed files with 12 additions and 12 deletions

View file

@ -31,9 +31,9 @@ import fr.devinsy.xidyn.presenters.PresenterUtils;
/** /**
* The Class ServicePage. * The Class ServicePage.
*/ */
public class ServiceGenericMetricPage public class ServiceMetricGenericPage
{ {
private static Logger logger = LoggerFactory.getLogger(ServiceGenericMetricPage.class); private static Logger logger = LoggerFactory.getLogger(ServiceMetricGenericPage.class);
/** /**
* Builds the. * Builds the.

View file

@ -31,9 +31,9 @@ import fr.devinsy.xidyn.presenters.PresenterUtils;
/** /**
* The Class ServicePage. * The Class ServicePage.
*/ */
public class ServiceSpecificMetricPage public class ServiceMetricSpecificPage
{ {
private static Logger logger = LoggerFactory.getLogger(ServiceSpecificMetricPage.class); private static Logger logger = LoggerFactory.getLogger(ServiceMetricSpecificPage.class);
/** /**
* Builds the. * Builds the.

View file

@ -35,9 +35,9 @@ import fr.devinsy.xidyn.presenters.PresenterUtils;
/** /**
* The Class ServiceSummaryMetricPage. * The Class ServiceSummaryMetricPage.
*/ */
public class ServiceSummaryMetricPage public class ServiceMetricSummaryPage
{ {
private static Logger logger = LoggerFactory.getLogger(ServiceSummaryMetricPage.class); private static Logger logger = LoggerFactory.getLogger(ServiceMetricSummaryPage.class);
/** /**
* Builds the. * Builds the.

View file

@ -35,9 +35,9 @@ import fr.devinsy.xidyn.presenters.PresenterUtils;
/** /**
* The Class ServicePage. * The Class ServicePage.
*/ */
public class ServiceWebMetricPage public class ServiceMetricWebPage
{ {
private static Logger logger = LoggerFactory.getLogger(ServiceWebMetricPage.class); private static Logger logger = LoggerFactory.getLogger(ServiceMetricWebPage.class);
/** /**
* Builds the. * Builds the.

View file

@ -77,20 +77,20 @@ public class ServicePage
// //
logger.info("Htmlize service summary metric page: {}.", service.getName()); logger.info("Htmlize service summary metric page: {}.", service.getName());
page = ServiceSummaryMetricPage.htmlize(service); page = ServiceMetricSummaryPage.htmlize(service);
FileUtils.write(new File(htmlizeDirectory, service.getLocalFileBaseName() + "-metrics.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, service.getLocalFileBaseName() + "-metrics.xhtml"), page, StandardCharsets.UTF_8);
// //
logger.info("Htmlize service generic metric page: {}.", service.getName()); logger.info("Htmlize service generic metric page: {}.", service.getName());
page = ServiceGenericMetricPage.htmlize(service); page = ServiceMetricGenericPage.htmlize(service);
FileUtils.write(new File(htmlizeDirectory, service.getLocalFileBaseName() + "-metrics-generic.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, service.getLocalFileBaseName() + "-metrics-generic.xhtml"), page, StandardCharsets.UTF_8);
logger.info("Htmlize service web metric page: {}.", service.getName()); logger.info("Htmlize service web metric page: {}.", service.getName());
page = ServiceWebMetricPage.htmlize(service); page = ServiceMetricWebPage.htmlize(service);
FileUtils.write(new File(htmlizeDirectory, service.getLocalFileBaseName() + "-metrics-web.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, service.getLocalFileBaseName() + "-metrics-web.xhtml"), page, StandardCharsets.UTF_8);
logger.info("Htmlize service specific metric page: {}.", service.getName()); logger.info("Htmlize service specific metric page: {}.", service.getName());
page = ServiceSpecificMetricPage.htmlize(service); page = ServiceMetricSpecificPage.htmlize(service);
FileUtils.write(new File(htmlizeDirectory, service.getLocalFileBaseName() + "-metrics-specific.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, service.getLocalFileBaseName() + "-metrics-specific.xhtml"), page, StandardCharsets.UTF_8);
} }