Interface ParameterContext
-
- All Known Subinterfaces:
ParameterEditContext
,ParameterRenderContext
- All Known Implementing Classes:
ParametersViewBean.RenderContext
public interface ParameterContext
Context for custom control- Since:
- 7.0
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 27.09.11 19:23
-
-
Field Summary
Fields Modifier and Type Field Description static AdditionalParameter<BuildTypeTemplate>
BUILD_TEMPLATE
Provides a build type template if control is rendering with build typestatic AdditionalParameter<SBuildType>
BUILD_TYPE
Provides a build type if control is rendering with build typestatic AdditionalParameter<SProject>
PROJECT
Provides a project if control is rendering with project
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getAdditionalParameter(AdditionalParameter<T> parameter)
Returns parameter by given keyControlDescription
getDescription()
Control description to be used for parameter presentation
-
-
-
Field Detail
-
BUILD_TYPE
static final AdditionalParameter<SBuildType> BUILD_TYPE
Provides a build type if control is rendering with build type- Since:
- 7.0
-
BUILD_TEMPLATE
static final AdditionalParameter<BuildTypeTemplate> BUILD_TEMPLATE
Provides a build type template if control is rendering with build type- Since:
- 7.0
-
PROJECT
static final AdditionalParameter<SProject> PROJECT
Provides a project if control is rendering with project- Since:
- 7.0
-
-
Method Detail
-
getDescription
@NotNull ControlDescription getDescription()
Control description to be used for parameter presentation- Returns:
- descriptoin of control presentation
- Since:
- 7.0
-
getAdditionalParameter
@Nullable <T> T getAdditionalParameter(@NotNull AdditionalParameter<T> parameter)
Returns parameter by given key- Type Parameters:
T
- type of parameter- Parameters:
parameter
- key and type of parameter to get- Returns:
- parameter or null
- Since:
- 7.1
-
-