1 package com.atlassian.pageobjects.elements;
2
3 /**
4 * An option in select and multi-select components. Depending on the context, not all
5 * of the option properties may be set, but at least one of: id/value/text should not be <code>null</code>.
6 *
7 */
8 public interface Option
9 {
10 /**
11 * Option ID.
12 *
13 * @return id
14 */
15 String id();
16
17 /**
18 * Option value, which is actually its unique key in the collection of options.
19 *
20 * @return value
21 */
22 String value();
23
24 /**
25 * Text between the option tags
26 *
27 * @return text
28 */
29 String text();
30 }