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 protected
BasePluginSection(BaseProfilePluginInfo<PropertyInfoType> plugin, Map<PropertyKey,String> properties)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PropertyType
createProperty(PropertyInfoType propertyInfo, String initialValue)
String
getDisplayName()
String
getPluginName()
String
getPluginType()
Map<String,PropertyType>
getProperties()
PropertyKey
getPropertyKey(String propertyName)
List<PropertyType>
getPropertyList()
boolean
hasNotEmptyPropertyValue()
boolean
isStateModified()
void
validate(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:
getDisplayName
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getPluginName
public String getPluginName()
- Specified by:
getPluginName
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getPluginType
public String getPluginType()
- Specified by:
getPluginType
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getProperties
public Map<String,PropertyType> getProperties()
- Specified by:
getProperties
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getPropertyList
public List<PropertyType> getPropertyList()
- Specified by:
getPropertyList
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
getPropertyKey
public PropertyKey getPropertyKey(String propertyName)
- Specified by:
getPropertyKey
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
isStateModified
public boolean isStateModified()
- Specified by:
isStateModified
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
hasNotEmptyPropertyValue
public boolean hasNotEmptyPropertyValue()
- Specified by:
hasNotEmptyPropertyValue
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
validate
public void validate(@Nullable EditeeType editee, @NotNull EditeeFormType form, @NotNull ActionErrors errors)
- Specified by:
validate
in interfacePluginSection<PropertyInfoType extends BasePropertyInfo<?,?>,EditeeType,EditeeFormType>
-
-