Class EmptyTimestampFormat
- java.lang.Object
-
- hudson.plugins.timestamper.format.TimestampFormat
-
- hudson.plugins.timestamper.format.EmptyTimestampFormat
-
public final class EmptyTimestampFormat extends TimestampFormat
Converts a time-stamp to the empty time format.- Author:
- Steven G. Brown
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyTimestampFormat
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apply(Timestamp timestamp)
Format the given time-stamp as a string.String
getPlainTextUrl()
Get the URL for displaying the plain text console and time-stamps in this format.void
validate()
Validates that the given timestamp format can be applied safely.-
Methods inherited from class hudson.plugins.timestamper.format.TimestampFormat
markup
-
-
-
-
Field Detail
-
INSTANCE
public static final EmptyTimestampFormat INSTANCE
-
-
Method Detail
-
validate
public void validate()
Description copied from class:TimestampFormat
Validates that the given timestamp format can be applied safely.- Specified by:
validate
in classTimestampFormat
-
getPlainTextUrl
public String getPlainTextUrl()
Get the URL for displaying the plain text console and time-stamps in this format.- Specified by:
getPlainTextUrl
in classTimestampFormat
- Returns:
- the plain text URL
-
-