Class MandatoryExcelMarkAppender
java.lang.Object
com.hybris.backoffice.excel.template.populator.appender.MandatoryExcelMarkAppender
- All Implemented Interfaces:
ExcelMarkAppender<ExcelAttribute>,BiFunction<String,,ExcelAttribute, String> org.springframework.core.Ordered
Adds a special character "*" to given
input, when the given attribute is mandatory
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(String s, ExcelAttribute excelAttribute) intgetOrder()voidsetCommonI18NService(CommonI18NService commonI18NService) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
MandatoryExcelMarkAppender
public MandatoryExcelMarkAppender()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<String,ExcelAttribute, String>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setCommonI18NService
-