public abstract class AbstractDocumentationWriter extends Object implements ExtensionDocumentationWriter
Constructor and Description |
---|
AbstractDocumentationWriter() |
public final void write(ConfigurableComponent component) throws IOException
write
in interface ExtensionDocumentationWriter
IOException
public final void write(ConfigurableComponent component, Collection<ProvidedServiceAPI> providedServices) throws IOException
write
in interface ExtensionDocumentationWriter
IOException
private void initialize(ConfigurableComponent component)
protected void initialize(Processor processor)
protected void initialize(ControllerService service) throws InitializationException
InitializationException
protected void initialize(ReportingTask reportingTask) throws InitializationException
InitializationException
protected void writeBody(ConfigurableComponent component) throws IOException
IOException
protected 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
IOException
protected abstract void writeExtensionName(String extensionName) throws IOException
IOException
protected abstract void writeExtensionType(ExtensionType extensionType) throws IOException
IOException
protected abstract void writeDeprecationNotice(DeprecationNotice deprecationNotice) throws IOException
IOException
protected abstract void writeDescription(String description) throws IOException
IOException
protected abstract void writeTags(List<String> tags) throws IOException
IOException
protected abstract void writeProperties(List<PropertyDescriptor> properties) throws IOException
IOException
protected abstract void writeDynamicProperties(List<DynamicProperty> dynamicProperties) throws IOException
IOException
protected abstract void writeStatefulInfo(Stateful stateful) throws IOException
IOException
protected abstract void writeRestrictedInfo(Restricted restricted) throws IOException
IOException
protected abstract void writeInputRequirementInfo(InputRequirement.Requirement requirement) throws IOException
IOException
protected abstract void writeSystemResourceConsiderationInfo(List<SystemResourceConsideration> considerations) throws IOException
IOException
protected abstract void writeSeeAlso(SeeAlso seeAlso) throws IOException
IOException
protected abstract void writeRelationships(Set<Relationship> relationships) throws IOException
IOException
protected abstract void writeDynamicRelationship(DynamicRelationship dynamicRelationship) throws IOException
IOException
protected abstract void writeReadsAttributes(List<ReadsAttribute> attributes) throws IOException
IOException
protected abstract void writeWritesAttributes(List<WritesAttribute> attributes) throws IOException
IOException
protected abstract void writeProvidedServices(Collection<ProvidedServiceAPI> providedServices) throws IOException
IOException
protected abstract void writeFooter(ConfigurableComponent component) throws IOException
IOException
Copyright © 2019 Apache NiFi Project. All rights reserved.