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

io.dekorate.halkyon.model.RequiredComponentCapability Maven / Gradle / Ivy

There is a newer version: 2.0.0.beta2
Show newest version
package io.dekorate.halkyon.model;

import io.dekorate.deps.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;

@Buildable(editableEnabled = false, builderPackage = "io.dekorate.deps.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class RequiredComponentCapability extends ComponentCapability {
  private String boundTo;
  private boolean autoBindable;

  public RequiredComponentCapability() {
  }

  public RequiredComponentCapability(String name, CapabilitySpec spec, Parameter[] parameters, String boundTo, boolean autoBindable) {
    super(name, spec, parameters);
    this.boundTo = boundTo;
    this.autoBindable = autoBindable;
  }

  public String getBoundTo() {
    return boundTo;
  }

  public void setBoundTo(String boundTo) {
    this.boundTo = boundTo;
  }

  public boolean isAutoBindable() {
    return autoBindable;
  }

  public void setAutoBindable(boolean autoBindable) {
    this.autoBindable = autoBindable;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy