553554555556557558559
* boolean condition to evaluate * * @return optional composite option */ public static OptionalCompositeOption when(final boolean condition) { return new OptionalCompositeOption(condition); }
565566567568569570571
* condition to evaluate * * @return optional composite option */ public static OptionalCompositeOption when(final OptionalCompositeOption.Condition condition) { return new OptionalCompositeOption(condition); }