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
Constructors Constructor Description ChangesSincePrintfSpec(ChangeLogSet.Entry entry, String pathFormatString, DateFormat dateFormatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
printSpec(StringBuffer buf, char formatChar)
Specializes the behavior of printf for % escape characters.
-
-
-
Constructor Detail
-
ChangesSincePrintfSpec
public ChangesSincePrintfSpec(ChangeLogSet.Entry entry, String pathFormatString, DateFormat dateFormatter)
-
-
Method Detail
-
printSpec
public boolean printSpec(StringBuffer buf, char formatChar)
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
-
-