public class DiagnosticsHelper extends Object
Constructor and Description |
---|
DiagnosticsHelper() |
Modifier and Type | Method and Description |
---|---|
static DateFormat |
getDateFormat()
Returns a default date format to use when printing diagnostic information and generating file names
|
static String |
getProcessId()
Helper method to calculate the current Jenkins process Id
|
static String |
prefixLines(String prefix,
String input)
Prepends a given
prefix to all the lines on the input String . |
@Nonnull public static DateFormat getDateFormat()
@Nonnull public static String getProcessId()
Copyright © 2016–2017. All rights reserved.