Package tv.hd3g.processlauncher.cmdline
Interface ArgValueChoice
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ArgValueChoice
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>choose(String argKey, List<String> actualValues, List<String> comparedValues)In key args collision, chose the value list content.
-
-
-
Method Detail
-
choose
List<String> choose(String argKey, List<String> actualValues, List<String> comparedValues)
In key args collision, chose the value list content. You can filter/alterate the returned list content.- Parameters:
actualValues- [val1, val2, val3, ...] like -argKey val1 -argKey val2 -argKey val3 ...comparedValues- [val1, val2, val3, ...] like -argKey val1 -argKey val2 -argKey val3 ...- Returns:
- actualValue/comparedValue/other string OR null for remove the argument OR empty for convert argument to simple argument
-
-