Class CompositeEnforcedSettings
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.CompositeEnforcedSettings
-
- All Implemented Interfaces:
BuildTypeSettingsSupport
,ParameterSupport
,EnforcedSettings
,ValidationProvider
public class CompositeEnforcedSettings extends Object implements EnforcedSettings
Created by Andrey Titov on 05.04.16
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.serverSide.impl.ValidationProvider
ValidationProvider.ValidationError<T>, ValidationProvider.ValidationException
-
-
Constructor Summary
Constructors Constructor Description CompositeEnforcedSettings(ProjectEx current, ContainerFactory containerFactory, ParameterTypeManager parameterTypeManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ValidationProvider.ValidationError<String>>
canSetEnabled(String parametersDescriptorId, boolean enabled)
ReadMap<String,Pair<SPersistentEntity,SBuildFeatureDescriptor>>
getBuildFeaturesInheritance()
ContainerWithDisabled<String,SBuildFeatureDescriptor>
getBuildFeatureSupport()
ContainerWithDisabled<String,SBuildRunnerDescriptor>
getBuildRunnerSupport()
ContainerWithDisabled<String,BuildTriggerDescriptor>
getBuildTriggersSupport()
Container<String,Boolean>
getDisabledState()
ContainerWithInherited<Option<Object>,OptionValue<Object>>
getOptionSupport()
ContainerWithInherited<String,Parameter>
getParametersSupport()
ProjectEx
getProject()
ContainerWithDisabled<String,Requirement>
getRequirementSupport()
<T> List<ValidationProvider.ValidationError<Option<T>>>
validateOption(Option<T> option, T value)
List<ValidationProvider.ValidationError<Parameter>>
validateParameter(Parameter parameter)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.ValidationProvider
validate, validate, validate, validateParameterDescriptorState
-
-
-
-
Constructor Detail
-
CompositeEnforcedSettings
public CompositeEnforcedSettings(@NotNull ProjectEx current, @NotNull ContainerFactory containerFactory, @NotNull ParameterTypeManager parameterTypeManager)
-
-
Method Detail
-
getProject
@NotNull public ProjectEx getProject()
-
validateOption
public <T> List<ValidationProvider.ValidationError<Option<T>>> validateOption(@NotNull Option<T> option, @NotNull T value)
- Specified by:
validateOption
in interfaceValidationProvider
-
validateParameter
public List<ValidationProvider.ValidationError<Parameter>> validateParameter(@NotNull Parameter parameter)
- Specified by:
validateParameter
in interfaceValidationProvider
-
canSetEnabled
@Nullable public List<ValidationProvider.ValidationError<String>> canSetEnabled(@NotNull String parametersDescriptorId, boolean enabled)
- Specified by:
canSetEnabled
in interfaceValidationProvider
-
getParametersSupport
@NotNull public ContainerWithInherited<String,Parameter> getParametersSupport()
- Specified by:
getParametersSupport
in interfaceParameterSupport
-
getOptionSupport
@NotNull public ContainerWithInherited<Option<Object>,OptionValue<Object>> getOptionSupport()
- Specified by:
getOptionSupport
in interfaceBuildTypeSettingsSupport
-
getBuildFeatureSupport
@NotNull public ContainerWithDisabled<String,SBuildFeatureDescriptor> getBuildFeatureSupport()
- Specified by:
getBuildFeatureSupport
in interfaceBuildTypeSettingsSupport
-
getBuildRunnerSupport
@NotNull public ContainerWithDisabled<String,SBuildRunnerDescriptor> getBuildRunnerSupport()
- Specified by:
getBuildRunnerSupport
in interfaceBuildTypeSettingsSupport
-
getBuildTriggersSupport
@NotNull public ContainerWithDisabled<String,BuildTriggerDescriptor> getBuildTriggersSupport()
- Specified by:
getBuildTriggersSupport
in interfaceBuildTypeSettingsSupport
-
getRequirementSupport
@NotNull public ContainerWithDisabled<String,Requirement> getRequirementSupport()
- Specified by:
getRequirementSupport
in interfaceBuildTypeSettingsSupport
-
getDisabledState
@NotNull public Container<String,Boolean> getDisabledState()
- Specified by:
getDisabledState
in interfaceBuildTypeSettingsSupport
-
getBuildFeaturesInheritance
@NotNull public ReadMap<String,Pair<SPersistentEntity,SBuildFeatureDescriptor>> getBuildFeaturesInheritance()
- Specified by:
getBuildFeaturesInheritance
in interfaceEnforcedSettings
-
-