public interface TitleDescriptionGenerator
titles, descriptions, and related things.
Implementations are expected to be stateless and thread safe.TitleDescriptionGenerators| Modifier and Type | Method and Description |
|---|---|
default String |
generateComment(TitleDescriptionGeneratorInput input)
Generate a
$comment based on the input. |
default String |
generateDescription(TitleDescriptionGeneratorInput input)
Generate a
description based on the input |
default String |
generateTitle(TitleDescriptionGeneratorInput input)
Generate a
title based on the input |
@Nullable default String generateTitle(@Nonnull TitleDescriptionGeneratorInput input)
title based on the input@Nullable default String generateDescription(@Nonnull TitleDescriptionGeneratorInput input)
description based on the input@Nullable default String generateComment(@Nonnull TitleDescriptionGeneratorInput input)
$comment based on the input. Note that $comment is new in draft-07,
and it's the implementations' job to be compliant with the specs.Copyright © 2019–2022. All rights reserved.