com.atlassian.jira.webtest.framework.core.component
Interface Option

All Known Implementing Classes:
Options.FullOption, Options.IdOption, Options.LabelOption, Options.ValueOption

public interface Option

An option in select and multi-select components. Depending on the context, not all of the option properties may be set, but at least one of: id/value/label should not be null.

Since:
v4.3
See Also:
Select, MultiSelect

Method Summary
 String id()
          Option ID.
 String label()
          User-visible label of the option.
 String value()
          Option value, which is actually its unique key in the collection of options.
 

Method Detail

id

String id()
Option ID.

Returns:
id

value

String value()
Option value, which is actually its unique key in the collection of options.

Returns:
value

label

String label()
User-visible label of the option.

Returns:
label


Copyright © 2002-2013 Atlassian. All Rights Reserved.