public class TaskLogFormatUtils extends Object
Constructor and Description |
---|
TaskLogFormatUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getTaskLog(Task task) |
static String |
getTaskLog(Task task,
int maxDepth) |
public static String getTaskLog(Task task)
task
nicely hierarchical formattedpublic static String getTaskLog(Task task, int maxDepth)
task
- the task to logmaxDepth
- the maximum depth until how deep child tasks should be logged. maxDepth
of -1
will log all descendant tasks, maxDepth
of 0
only the rootTask, maxDepth
of 1
the rootTask plus its direct children, etc.Copyright © 2012–2015 Hippo B.V. (http://www.onehippo.com). All rights reserved.