io.dekorate.halkyon.model.CapabilitiesFluent Maven / Gradle / Ivy
package io.dekorate.halkyon.model;
import io.dekorate.deps.kubernetes.api.builder.VisitableBuilder;
import io.dekorate.deps.kubernetes.api.builder.Fluent;
import io.dekorate.deps.kubernetes.api.builder.Nested;
import java.util.ArrayList;
import io.dekorate.deps.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.lang.Boolean;
public interface CapabilitiesFluent> extends Fluent {
public A withRequires(RequiredComponentCapability... requires);
/**
* This method has been deprecated, please use method buildRequires instead.
*/
@Deprecated public RequiredComponentCapability[] getRequires();
public RequiredComponentCapability[] buildRequires();
public RequiredComponentCapability buildRequire(int index);
public RequiredComponentCapability buildFirstRequire();
public RequiredComponentCapability buildLastRequire();
public RequiredComponentCapability buildMatchingRequire(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public Boolean hasMatchingRequire(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public A addToRequires(int index,RequiredComponentCapability item);
public A setToRequires(int index,RequiredComponentCapability item);
public A addToRequires(RequiredComponentCapability... items);
public A addAllToRequires(Collection items);
public A removeFromRequires(RequiredComponentCapability... items);
public A removeAllFromRequires(Collection items);
public A removeMatchingFromRequires(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public Boolean hasRequires();
public CapabilitiesFluent.RequiresNested addNewRequire();
public CapabilitiesFluent.RequiresNested addNewRequireLike(RequiredComponentCapability item);
public CapabilitiesFluent.RequiresNested setNewRequireLike(int index,RequiredComponentCapability item);
public CapabilitiesFluent.RequiresNested editRequire(int index);
public CapabilitiesFluent.RequiresNested editFirstRequire();
public CapabilitiesFluent.RequiresNested editLastRequire();
public CapabilitiesFluent.RequiresNested editMatchingRequire(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public A withProvides(ComponentCapability... provides);
/**
* This method has been deprecated, please use method buildProvides instead.
*/
@Deprecated public ComponentCapability[] getProvides();
public ComponentCapability[] buildProvides();
public ComponentCapability buildProvide(int index);
public ComponentCapability buildFirstProvide();
public ComponentCapability buildLastProvide();
public ComponentCapability buildMatchingProvide(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public Boolean hasMatchingProvide(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public A addToProvides(int index,ComponentCapability item);
public A setToProvides(int index,ComponentCapability item);
public A addToProvides(ComponentCapability... items);
public A addAllToProvides(Collection items);
public A removeFromProvides(ComponentCapability... items);
public A removeAllFromProvides(Collection items);
public A removeMatchingFromProvides(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public Boolean hasProvides();
public CapabilitiesFluent.ProvidesNested addNewProvide();
public CapabilitiesFluent.ProvidesNested addNewProvideLike(ComponentCapability item);
public CapabilitiesFluent.ProvidesNested setNewProvideLike(int index,ComponentCapability item);
public CapabilitiesFluent.ProvidesNested editProvide(int index);
public CapabilitiesFluent.ProvidesNested editFirstProvide();
public CapabilitiesFluent.ProvidesNested editLastProvide();
public CapabilitiesFluent.ProvidesNested editMatchingProvide(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public interface RequiresNested extends io.dekorate.deps.kubernetes.api.builder.Nested,RequiredComponentCapabilityFluent> {
public N and();
public N endRequire(); }
public interface ProvidesNested extends io.dekorate.deps.kubernetes.api.builder.Nested,ComponentCapabilityFluent> {
public N and();
public N endProvide(); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy