com.dtolabs.rundeck.core.cli.queue
Class ConsoleExecutionFollowReceiver
java.lang.Object
com.dtolabs.rundeck.core.cli.queue.ConsoleExecutionFollowReceiver
- All Implemented Interfaces:
- ExecutionFollowReceiver
public class ConsoleExecutionFollowReceiver
- extends java.lang.Object
- implements ExecutionFollowReceiver
ConsoleExecutionFollowReceiver is ...
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_INDETERMINATE_DELAY
public static final long DEFAULT_INDETERMINATE_DELAY
- See Also:
- Constant Field Values
ConsoleExecutionFollowReceiver
public ConsoleExecutionFollowReceiver(long averageDuration,
ConsoleExecutionFollowReceiver.Mode mode,
java.io.PrintStream out,
BaseLogger logger)
receiveFollowStatus
public boolean receiveFollowStatus(long offset,
long totalSize,
long duration)
- Description copied from interface:
ExecutionFollowReceiver
- Receive updated log output status, and return true to continue receiving output.
- Specified by:
receiveFollowStatus
in interface ExecutionFollowReceiver
- Parameters:
offset
- offset locationtotalSize
- total log file sizeduration
- millisecond duration of the execution
receiveLogEntry
public 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)
- Description copied from interface:
ExecutionFollowReceiver
- Receive a log entry, and return true to continue receiving output.
- Specified by:
receiveLogEntry
in interface ExecutionFollowReceiver
- Parameters:
timeStr
- time stringloglevel
- log level stringuser
- usernamecommand
- command contextnodeName
- node namemessage
- log message