com.dtolabs.rundeck.core.dispatcher
Interface ExecutionFollowReceiver

All Known Implementing Classes:
ConsoleExecutionFollowReceiver

public interface ExecutionFollowReceiver

ExecutionFollowReceiver receives execution log entries and status.


Method Summary
 boolean receiveFollowStatus(long offset, long totalSize, long duration)
          Receive updated log output status, and return true to continue receiving output.
 boolean receiveLogEntry(java.lang.String timeStr, java.lang.String loglevel, java.lang.String user, java.lang.String command, java.lang.String nodeName, java.lang.String message)
          Receive a log entry, and return true to continue receiving output.
 

Method Detail

receiveFollowStatus

boolean receiveFollowStatus(long offset,
                            long totalSize,
                            long duration)
Receive updated log output status, and return true to continue receiving output.

Parameters:
offset - offset location
totalSize - total log file size
duration - millisecond duration of the execution

receiveLogEntry

boolean receiveLogEntry(java.lang.String timeStr,
                        java.lang.String loglevel,
                        java.lang.String user,
                        java.lang.String command,
                        java.lang.String nodeName,
                        java.lang.String message)
Receive a log entry, and return true to continue receiving output.

Parameters:
timeStr - time string
loglevel - log level string
user - username
command - command context
nodeName - node name
message - log message