Class OptionalLineInserter<RECEIVER>
- java.lang.Object
-
- cc.carm.lib.configuration.value.text.function.inserter.ContentInserter<RECEIVER>
-
- cc.carm.lib.configuration.value.text.function.common.OptionalLineInserter<RECEIVER>
-
- All Implemented Interfaces:
java.lang.Comparable<ContentInserter<RECEIVER>>
public class OptionalLineInserter<RECEIVER> extends ContentInserter<RECEIVER>
-
-
Field Summary
Fields Modifier and Type Field Description static @NotNull java.util.regex.PatternOPTIONAL_PATTERNUsed to match the message which can be inserted-
Fields inherited from class cc.carm.lib.configuration.value.text.function.inserter.ContentInserter
pattern, priority
-
-
Constructor Summary
Constructors Constructor Description OptionalLineInserter(int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @Nullable java.lang.StringextractID(@NotNull java.util.regex.Matcher matcher)protected @NotNull java.util.List<java.lang.String>get(RECEIVER receiver, @NotNull java.util.regex.Matcher matcher, @NotNull Insertable<RECEIVER,?> insertion)-
Methods inherited from class cc.carm.lib.configuration.value.text.function.inserter.ContentInserter
compareTo, handle, matcher, priority, setPattern
-
-
-
-
Method Detail
-
extractID
@Nullable protected @Nullable java.lang.String extractID(@NotNull @NotNull java.util.regex.Matcher matcher)- Specified by:
extractIDin classContentInserter<RECEIVER>
-
get
@NotNull protected @NotNull java.util.List<java.lang.String> get(@Nullable RECEIVER receiver, @NotNull @NotNull java.util.regex.Matcher matcher, @NotNull @NotNull Insertable<RECEIVER,?> insertion)- Specified by:
getin classContentInserter<RECEIVER>
-
-