Class ChangesSinceLastBuildMacro.ChangesSincePrintfSpec
java.lang.Object
org.jenkinsci.plugins.tokenmacro.impl.ChangesSinceLastBuildMacro.ChangesSincePrintfSpec
- All Implemented Interfaces:
Util.PrintfSpec
- Enclosing class:
- ChangesSinceLastBuildMacro
public class ChangesSinceLastBuildMacro.ChangesSincePrintfSpec
extends Object
implements Util.PrintfSpec
-
Constructor Summary
ConstructorsConstructorDescriptionChangesSincePrintfSpec
(ChangeLogSet.Entry entry, String pathFormatString, DateFormat dateFormatter) -
Method Summary
Modifier and TypeMethodDescriptionboolean
printSpec
(StringBuffer buf, char formatChar) Specializes the behavior of printf for % escape characters.
-
Constructor Details
-
ChangesSincePrintfSpec
public ChangesSincePrintfSpec(ChangeLogSet.Entry entry, String pathFormatString, DateFormat dateFormatter)
-
-
Method Details
-
printSpec
Description copied from interface:Util.PrintfSpec
Specializes the behavior of printf for % escape characters. Given a character, appends the replacement of that escape character to the given buffer, if the escape character can be handled. Otherwise, does nothing.- Specified by:
printSpec
in interfaceUtil.PrintfSpec
- Parameters:
buf
- the buffer to append the result toformatChar
- the escape character being replaced- Returns:
- true if the character was handled
-