Class BasePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType,PropertyType extends AbstractProperty<?,?,PropertyInfoType,EditeeType,EditeeFormType>>
- java.lang.Object
-
- jetbrains.buildServer.controllers.profile.BasePluginSection<PropertyInfoType,EditeeType,EditeeFormType,PropertyType>
-
- All Implemented Interfaces:
PluginSection<EditeeType,EditeeFormType,PropertyType>
- Direct Known Subclasses:
UserGroupPluginSectionImpl,UserPluginSectionImpl
public abstract class BasePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType,PropertyType extends AbstractProperty<?,?,PropertyInfoType,EditeeType,EditeeFormType>> extends Object implements PluginSection<EditeeType,EditeeFormType,PropertyType>
- Author:
- Pavel.Sher Date: 31.03.2006
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBasePluginSection(BaseProfilePluginInfo<PropertyInfoType> plugin, Map<PropertyKey,String> properties)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PropertyTypecreateProperty(PropertyInfoType propertyInfo, String initialValue)StringgetDisplayName()StringgetPluginName()StringgetPluginType()Map<String,PropertyType>getProperties()PropertyKeygetPropertyKey(String propertyName)List<PropertyType>getPropertyList()booleanhasNotEmptyPropertyValue()booleanisStateModified()voidvalidate(EditeeType editee, EditeeFormType form, ActionErrors errors)
-
-
-
Constructor Detail
-
BasePluginSection
protected BasePluginSection(@NotNull BaseProfilePluginInfo<PropertyInfoType> plugin, @NotNull Map<PropertyKey,String> properties)
-
-
Method Detail
-
createProperty
@NotNull protected abstract PropertyType createProperty(@NotNull PropertyInfoType propertyInfo, String initialValue)
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getPluginName
public String getPluginName()
- Specified by:
getPluginNamein interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getPluginType
public String getPluginType()
- Specified by:
getPluginTypein interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getProperties
public Map<String,PropertyType> getProperties()
- Specified by:
getPropertiesin interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getPropertyList
public List<PropertyType> getPropertyList()
- Specified by:
getPropertyListin interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getPropertyKey
public PropertyKey getPropertyKey(String propertyName)
- Specified by:
getPropertyKeyin interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
isStateModified
public boolean isStateModified()
- Specified by:
isStateModifiedin interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
hasNotEmptyPropertyValue
public boolean hasNotEmptyPropertyValue()
- Specified by:
hasNotEmptyPropertyValuein interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
validate
public void validate(@Nullable EditeeType editee, @NotNull EditeeFormType form, @NotNull ActionErrors errors)- Specified by:
validatein interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
-