public class ListValue extends Object implements ScheduleValue
ScheduleExpression which is expressed as a list type. A
ListValue comprises of values separated by a ",".
Each value in the ListValue must be an individual attribute value or a range.
List items cannot themselves be lists, wild-cards, or increments.
Duplicate values are allowed, but are ignored.
ScheduleExpressionType.LIST| Modifier and Type | Field and Description |
|---|---|
static String |
LIST_SEPARATOR
|
| Constructor and Description |
|---|
ListValue(String list)
Creates a
ListValue by parsing the passed value. |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getValues()
Returns the values that make up the
ListValue. |
public static final String LIST_SEPARATOR
public ListValue(String list)
ListValue by parsing the passed value.list - The value to be parsedIllegalArgumentException - If the passed value cannot be
represented as an ListValuepublic List<String> getValues()
ListValue.
Each value in this set may be a String representing a SingleValue
or a RangeValue
Copyright © 2020 JBoss by Red Hat. All rights reserved.