Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.commons.configuration;

Builder. Validates and constructs a configuration bean

Author(s):
Tristan Tarrant
Since:
5.2
 
 public interface Builder<T> {
   
Validate the data in this builder before building the configuration bean
   void validate();

   
Create the configuration bean

Returns:
   T create();

   
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration

Parameters:
template the configuration from which to "clone" this config if needed.
   Builder<?> read(T template);
New to GrepCode? Check out our FAQ X