Package org.xwiki.edit
Interface EditorDescriptorBuilder
- All Superinterfaces:
EditorDescriptor
Builds an
EditorDescriptor
instance.- Since:
- 8.2RC1
- Version:
- $Id: dec4343442c61d54142cdd5bf45b1d81f54109e1 $
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the editor descriptor.setCategory
(String category) Sets the editor category.setDescription
(String description) Sets the editor description.Sets the editor icon.Sets the editor id.Sets the editor name.Methods inherited from interface org.xwiki.edit.EditorDescriptor
getCategory, getDescription, getIcon, getId, getName
-
Method Details
-
setId
Sets the editor id.- Parameters:
id
- the editor id- Returns:
- this builder
-
setName
Sets the editor name.- Parameters:
name
- the editor name- Returns:
- this builder
-
setDescription
Sets the editor description.- Parameters:
description
- the editor description- Returns:
- this builder
-
setIcon
Sets the editor icon.- Parameters:
icon
- the editor icon- Returns:
- this builder
-
setCategory
Sets the editor category.- Parameters:
category
- the editor category- Returns:
- this builder
-
build
EditorDescriptor build()Builds the editor descriptor.- Returns:
- the editor descriptor
-