Package jetbrains.buildServer.util
Interface OptionSupportEx
-
- All Superinterfaces:
OptionSupport
- All Known Implementing Classes:
DependencyImpl
,DependencyOptionSupportImpl
,EmptyOptionSupport
,OptionSupportAdapter
,UnresolvedDependency
public interface OptionSupportEx extends OptionSupport
- Author:
- Pavel.Sher Date: 24.09.2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T> ControlDescription
getOptionSpec(Option<T> option)
Get option spec string.<T> OptionValue<T>
getOwnOptionValue(Option<T> option)
Get option value-spec pair.default String
getRawOptionSpec(Option option)
void
readFrom(org.jdom.Element parentEl)
<T> void
setOption(Option<T> option, T value, ControlDescription spec)
Set option value and its spec-
Methods inherited from interface jetbrains.buildServer.util.OptionSupport
getChangedOptions, getDeclaredOption, getOption, getOptionDefaultValue, getOptions, getOwnOptions, setOption
-
-
-
-
Method Detail
-
setOption
<T> void setOption(@NotNull Option<T> option, @Nullable T value, @Nullable ControlDescription spec)
Set option value and its spec
- Type Parameters:
T
-- Parameters:
option
-value
-spec
-
-
getOwnOptionValue
@Nullable <T> OptionValue<T> getOwnOptionValue(@NotNull Option<T> option)
Get option value-spec pair. If the option is not defined - null is returned in OptionValue.getValue()
- Parameters:
option
-- Returns:
-
getOptionSpec
@Nullable default <T> ControlDescription getOptionSpec(@NotNull Option<T> option)
Get option spec string.
- Parameters:
option
-- Returns:
-
readFrom
void readFrom(@NotNull org.jdom.Element parentEl)
-
-