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

io.strimzi.api.kafka.model.connect.build.MavenArtifactBuilder Maven / Gradle / Ivy

There is a newer version: 0.44.0
Show newest version
package io.strimzi.api.kafka.model.connect.build;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class MavenArtifactBuilder extends MavenArtifactFluent implements VisitableBuilder{
  public MavenArtifactBuilder() {
    this(new MavenArtifact());
  }
  
  public MavenArtifactBuilder(MavenArtifactFluent fluent) {
    this(fluent, new MavenArtifact());
  }
  
  public MavenArtifactBuilder(MavenArtifactFluent fluent,MavenArtifact instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public MavenArtifactBuilder(MavenArtifact instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  MavenArtifactFluent fluent;
  
  public MavenArtifact build() {
    MavenArtifact buildable = new MavenArtifact();
    buildable.setGroup(fluent.getGroup());
    buildable.setArtifact(fluent.getArtifact());
    buildable.setVersion(fluent.getVersion());
    buildable.setRepository(fluent.getRepository());
    buildable.setInsecure(fluent.getInsecure());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy