public abstract class AbstractDocumentationWriter extends Object implements ExtensionDocumentationWriter
| Constructor and Description |
|---|
AbstractDocumentationWriter() |
public void initialize(ConfigurableComponent component)
ExtensionDocumentationWriterinitialize in interface ExtensionDocumentationWritercomponent - the component to initializeprotected void initialize(Processor processor)
protected void initialize(ControllerService service) throws InitializationException
InitializationExceptionprotected void initialize(ReportingTask reportingTask) throws InitializationException
InitializationExceptionpublic final void write(ConfigurableComponent component) throws IOException
ExtensionDocumentationWriterwrite in interface ExtensionDocumentationWritercomponent - the component to documentIOException - if an error occurs writing the documentationpublic final void write(ConfigurableComponent component, Collection<ServiceAPI> providedServices, Map<String,ServiceAPI> propertyServices) throws IOException
ExtensionDocumentationWriterwrite in interface ExtensionDocumentationWritercomponent - the component to documentprovidedServices - the service APIs implemented by the componentpropertyServices - the service APIs required by the property descriptors of the componentIOException - if an error occurs writing the documentationprotected void writeBody(ConfigurableComponent component, Map<String,ServiceAPI> propertyServices) throws IOException
IOExceptionprotected String getDescription(ConfigurableComponent component)
protected List<String> getTags(ConfigurableComponent component)
protected List<DynamicProperty> getDynamicProperties(ConfigurableComponent configurableComponent)
private DynamicRelationship getDynamicRelationship(Processor processor)
private List<ReadsAttribute> getReadsAttributes(Processor processor)
private List<WritesAttribute> getWritesAttributes(Processor processor)
private InputRequirement.Requirement getInputRequirement(ConfigurableComponent component)
private List<SystemResourceConsideration> getSystemResourceConsiderations(ConfigurableComponent component)
protected ExtensionType getExtensionType(ConfigurableComponent component)
protected abstract void writeHeader(ConfigurableComponent component) throws IOException
IOExceptionprotected abstract void writeExtensionName(String extensionName) throws IOException
IOExceptionprotected abstract void writeExtensionType(ExtensionType extensionType) throws IOException
IOExceptionprotected abstract void writeDeprecationNotice(DeprecationNotice deprecationNotice) throws IOException
IOExceptionprotected abstract void writeDescription(String description) throws IOException
IOExceptionprotected abstract void writeTags(List<String> tags) throws IOException
IOExceptionprotected abstract void writeProperties(List<PropertyDescriptor> properties, Map<String,ServiceAPI> propertyServices) throws IOException
IOExceptionprotected abstract void writeDynamicProperties(List<DynamicProperty> dynamicProperties) throws IOException
IOExceptionprotected abstract void writeStatefulInfo(Stateful stateful) throws IOException
IOExceptionprotected abstract void writeRestrictedInfo(Restricted restricted) throws IOException
IOExceptionprotected abstract void writeInputRequirementInfo(InputRequirement.Requirement requirement) throws IOException
IOExceptionprotected abstract void writeSystemResourceConsiderationInfo(List<SystemResourceConsideration> considerations) throws IOException
IOExceptionprotected abstract void writeSeeAlso(SeeAlso seeAlso) throws IOException
IOExceptionprotected abstract void writeRelationships(Set<Relationship> relationships) throws IOException
IOExceptionprotected abstract void writeDynamicRelationship(DynamicRelationship dynamicRelationship) throws IOException
IOExceptionprotected abstract void writeReadsAttributes(List<ReadsAttribute> attributes) throws IOException
IOExceptionprotected abstract void writeWritesAttributes(List<WritesAttribute> attributes) throws IOException
IOExceptionprotected abstract void writeProvidedServices(Collection<ServiceAPI> providedServices) throws IOException
IOExceptionprotected abstract void writeFooter(ConfigurableComponent component) throws IOException
IOExceptionCopyright © 2022 Apache NiFi Project. All rights reserved.