public static interface CustomSubjectBuilder.Factory<CustomSubjectBuilderT extends CustomSubjectBuilder>
about
, the method that specifies
what kind of Subject
to create.
For more information about the fluent chain, see this FAQ entry.
When you write a custom subject, see our doc on
extensions. It explains the cases in which CustomSubjectBuilder.Factory
is
necessary.
Modifier and Type | Method and Description |
---|---|
CustomSubjectBuilderT |
createSubjectBuilder(FailureMetadata metadata)
Creates a new
CustomSubjectBuilder of the appropriate type. |
CustomSubjectBuilderT createSubjectBuilder(FailureMetadata metadata)
CustomSubjectBuilder
of the appropriate type.Copyright © 2018. All rights reserved.