Class MandatoryExcelMarkAppender
- java.lang.Object
-
- com.hybris.backoffice.excel.template.populator.appender.MandatoryExcelMarkAppender
-
- All Implemented Interfaces:
ExcelMarkAppender<ExcelAttribute>,java.util.function.BiFunction<java.lang.String,ExcelAttribute,java.lang.String>,org.springframework.core.Ordered
public class MandatoryExcelMarkAppender extends java.lang.Object implements ExcelMarkAppender<ExcelAttribute>
Adds a special character "*" to given input, when the given attribute is mandatory
-
-
Constructor Summary
Constructors Constructor Description MandatoryExcelMarkAppender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringapply(java.lang.String s, ExcelAttribute excelAttribute)intgetOrder()voidsetCommonI18NService(CommonI18NService commonI18NService)
-
-
-
Method Detail
-
apply
public java.lang.String apply(java.lang.String s, ExcelAttribute excelAttribute)- Specified by:
applyin interfacejava.util.function.BiFunction<java.lang.String,ExcelAttribute,java.lang.String>
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
-