public static RuleParamType multipleListOfValues(String... acceptedValues) { // reuse the same type as plugin properties in order to // benefit from shared helpers (validation, HTML component) String type = PropertyType.SINGLE_SELECT_LIST.name(); return new RuleParamType(type, true, acceptedValues); }
public static RuleParamType singleListOfValues(String... acceptedValues) { // reuse the same type as plugin properties in order to // benefit from shared helpers (validation, HTML component) String type = PropertyType.SINGLE_SELECT_LIST.name(); return new RuleParamType(type, acceptedValues); }
return new RuleParamType(format); return new RuleParamType(format, multiple, values.split(CSV_SPLIT_REGEX));
public static RuleParamType singleListOfValues(String... acceptedValues) { // reuse the same type as plugin properties in order to // benefit from shared helpers (validation, HTML component) String type = PropertyType.SINGLE_SELECT_LIST.name(); return new RuleParamType(type, acceptedValues); }
public static RuleParamType singleListOfValues(String... acceptedValues) { // reuse the same type as plugin properties in order to // benefit from shared helpers (validation, HTML component) String type = PropertyType.SINGLE_SELECT_LIST.name(); return new RuleParamType(type, acceptedValues); }
public static RuleParamType multipleListOfValues(String... acceptedValues) { // reuse the same type as plugin properties in order to // benefit from shared helpers (validation, HTML component) String type = PropertyType.SINGLE_SELECT_LIST.name(); return new RuleParamType(type, true, acceptedValues); }
public static RuleParamType multipleListOfValues(String... acceptedValues) { // reuse the same type as plugin properties in order to // benefit from shared helpers (validation, HTML component) String type = PropertyType.SINGLE_SELECT_LIST.name(); return new RuleParamType(type, true, acceptedValues); }
return new RuleParamType(format); return new RuleParamType(format, multiple, values.split(CSV_SPLIT_REGEX));
return new RuleParamType(format); return new RuleParamType(format, multiple, values.split(CSV_SPLIT_REGEX));