Module xorcery.util

Interface With<T>

Type Parameters:
T -
All Known Implementing Classes:
Attributes.Builder, Configuration.Builder, Definitions.Builder, Error.Builder, Errors.Builder, GraphQuery, Included.Builder, Links.Builder, Links.Builder, Meta.Builder, Metadata.Builder, Relationship.Builder, Relationships.Builder, ResourceDocument.Builder, ResourceDocumentSchema.Builder, ResourceObject.Builder, ResourceObjectIdentifier.Builder, ResourceObjectIdentifiers.Builder, ResourceObjects.Builder, ResourceObjectSchema.Builder, ServiceResourceObject.Builder, Source.Builder, WriteCallbackCompletableFuture

public interface With<T>
Builders can implement this to make it easy to use visitor pattern. This avoids breaking the DSL flow use in many cases.
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    with(Consumer<T>... consumers)