Methods Summary |
---|
protected java.lang.String | getBuildFailedMessage()This is an override point: the message that indicates whether a build failed.
Subclasses can change/enhance the message.
return super.getBuildFailedMessage() + SPACER + getTimestamp();
|
protected java.lang.String | getBuildSuccessfulMessage()This is an override point: the message that indicates that a build succeeded.
Subclasses can change/enhance the message.
return super.getBuildSuccessfulMessage() + SPACER + getTimestamp();
|
protected java.lang.String | getTimestamp()Get the current time.
Date date = new Date(System.currentTimeMillis());
DateFormat formatter = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
String finishTime = formatter.format(date);
return finishTime;
|