All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sundr.model.TernaryBuilder Maven / Gradle / Ivy

There is a newer version: 0.200.3
Show newest version
package io.sundr.model;

import io.sundr.builder.VisitableBuilder;
public class TernaryBuilder extends TernaryFluent implements VisitableBuilder{
  public TernaryBuilder() {
    this.fluent = this;
  }
  
  public TernaryBuilder(TernaryFluent fluent) {
    this.fluent = fluent;
  }
  
  public TernaryBuilder(TernaryFluent fluent,Ternary instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public TernaryBuilder(Ternary instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  TernaryFluent fluent;
  
  public Ternary build() {
    Ternary buildable = new Ternary(fluent.buildCondition(),fluent.buildResult(),fluent.buildAlternative());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy