Package com.dianping.cat.report.task.spi

Examples of com.dianping.cat.report.task.spi.ReportFacade


  public String day4 = "2014-07-28";

  @Test
  public void test() throws Exception {
    ReportFacade reportFacade = (ReportFacade) lookup(ReportFacade.class);
    Task task = new Task();
    Date reportPeriod = new SimpleDateFormat("yyyy-MM-dd").parse(day3);

    task.setReportName(Constants.REPORT_ROUTER);
    task.setReportPeriod(reportPeriod);
    task.setReportDomain(Constants.CAT);
    task.setTaskType(1);
    reportFacade.builderReport(task);

    task.setReportPeriod(new SimpleDateFormat("yyyy-MM-dd").parse(day4));
    reportFacade.builderReport(task);
  }
View Full Code Here

TOP

Related Classes of com.dianping.cat.report.task.spi.ReportFacade

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.