Uses of Class
eu.cloudnetservice.driver.network.rpc.generation.GenerationContext.Builder
Packages that use GenerationContext.Builder
-
Uses of GenerationContext.Builder in eu.cloudnetservice.driver.network.rpc.generation
Methods in eu.cloudnetservice.driver.network.rpc.generation that return GenerationContext.BuilderModifier and TypeMethodDescriptionGenerationContext.Builder.addInterfaces(@NonNull Class<?>... interfaces) Adds the given interfaces to the set of interfaces which should get implemented by the generated class.GenerationContext.builder()Creates a new builder instance for a generation context.GenerationContext.Builder.channelSupplier(@Nullable Supplier<NetworkChannel> channelSupplier) Sets the supplier for the network component that is used when firing rpc.GenerationContext.Builder.component(@Nullable NetworkComponent component) Sets the network component to use when firing rpc.GenerationContext.Builder.dataBufFactory(@Nullable DataBufFactory dataBufFactory) Sets the databuf factory to use when creating databufs for the generation.GenerationContext.Builder.extendingClass(@Nullable Class<?> extendingClass) Sets the class the generated classes based on the build context should extend.Creates a new generation context based on the given input class.GenerationContext.Builder.implementAllMethods(boolean implementAllMethods) Sets if all methods of the target class should get implemented or only abstract methods.GenerationContext.Builder.interfaces(@NonNull Set<Class<?>> interfaces) Sets all interfaces the generated class based on the build context should implement.GenerationContext.Builder.objectMapper(@Nullable ObjectMapper objectMapper) Sets the object mapper responsible for mapping a databuf back to an object.