@Test public void log(){ final long logDateTim = 0L; final long logId = 0; final int fromLineNum = 0; final ReturnT<LogResult> retval = executorBiz.log(logDateTim, logId, fromLineNum); Assert.assertNotNull(retval); }
@Override public ReturnT<LogResult> log(long logDateTim, long logId, int fromLineNum) { String logFileName = XxlJobFileAppender.makeLogFileName(new Date(logDateTim), logId); LogResult logResult = XxlJobFileAppender.readLog(logFileName, fromLineNum); return new ReturnT<LogResult>(logResult); }
ExecutorBizImpl implements ExecutorBiz { @Override public ReturnT<LogResult> log(long logDateTim, long logId, int fromLineNum) { String logFileName = XxlJobFileAppender.makeLogFileName(new Date(logDateTim), logId); LogResult logResult = XxlJobFileAppender.readLog(logFileName, fromLineNum); return new ReturnT<LogResult>(logResult); } }
ExecutorBizImpl implements ExecutorBiz { @Override public ReturnT<LogResult> log(long logDateTim, long logId, int fromLineNum) { String logFileName = XxlJobFileAppender.makeLogFileName(new Date(logDateTim), logId); LogResult logResult = XxlJobFileAppender.readLog(logFileName, fromLineNum); return new ReturnT<LogResult>(logResult); }  }
ExecutorBizImpl implements ExecutorBiz { @Override public ReturnT<LogResult> log(long logDateTim, long logId, int fromLineNum) { String logFileName = XxlJobFileAppender.makeLogFileName(new Date(logDateTim), logId); LogResult logResult = XxlJobFileAppender.readLog(logFileName, fromLineNum); return new ReturnT<LogResult>(logResult); }  @Override ReturnT<String> beat(); @Override ReturnT<String> idleBeat(int jobId); @Override ReturnT<String> kill(int jobId); @Override ReturnT<LogResult> log(long logDateTim, long logId, int fromLineNum); @Override ReturnT<String> run(TriggerParam triggerParam); }
ExecutorBizImpl implements ExecutorBiz { @Override public ReturnT<LogResult> log(long logDateTim, long logId, int fromLineNum) { String logFileName = XxlJobFileAppender.makeLogFileName(new Date(logDateTim), logId); LogResult logResult = XxlJobFileAppender.readLog(logFileName, fromLineNum); return new ReturnT<LogResult>(logResult); }  @Override ReturnT<String> beat(); @Override ReturnT<String> idleBeat(int jobId); @Override ReturnT<String> kill(int jobId); @Override ReturnT<LogResult> log(long logDateTim, long logId, int fromLineNum); @Override ReturnT<String> run(TriggerParam triggerParam);  }