Package org.platformlayer.jobs.model

Examples of org.platformlayer.jobs.model.JobLogLine


    JobLogExceptionInfo jobLogExceptionInfo = null;
    if (exceptionStacks != null) {
      jobLogExceptionInfo = JobUtils.buildJobLogExceptionInfo(exceptionStacks);
    }

    JobLogLine jobLogLine = new JobLogLine(System.currentTimeMillis(), level, message, jobLogExceptionInfo);
    lines.add(jobLogLine);
  }
View Full Code Here


  }

  @Override
  public void enterScope(Object controller) {
    String name = ControllerNameStrategy.getName(controller);
    JobLogLine line = new JobLogLine();
    line.type = JobLogLine.TYPE_ENTER_SCOPE;
    line.message = name;
    lines.add(line);
  }
View Full Code Here

    lines.add(line);
  }

  @Override
  public void exitScope() {
    JobLogLine line = new JobLogLine();
    line.type = JobLogLine.TYPE_EXIT_SCOPE;
    lines.add(line);
  }
View Full Code Here

          int oldLimit = in.pushLimit(length);

          protobuf.clear();
          protobuf.mergeFrom(in);

          JobLogLine line = new JobLogLine();
          line.level = protobuf.getLevel();
          line.timestamp = protobuf.getTimestamp();
          line.message = protobuf.getMessage();
          line.type = protobuf.getType();
          if (protobuf.hasException()) {
View Full Code Here

TOP

Related Classes of org.platformlayer.jobs.model.JobLogLine

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.