annotations.io.alauda.devops.api.model.BuildSpecFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.model.ResourceRequirementsBuilder;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.model.ResourceRequirements;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import io.alauda.kubernetes.api.model.ResourceRequirementsFluent;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.lang.Long;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface BuildSpecFluent> extends Fluent{
public Long getCompletionDeadlineSeconds();
public A withCompletionDeadlineSeconds(Long completionDeadlineSeconds);
public Boolean hasCompletionDeadlineSeconds();
public A addToNodeSelector(String key,String value);
public A addToNodeSelector(Map map);
public A removeFromNodeSelector(String key);
public A removeFromNodeSelector(Map map);
public Map getNodeSelector();
public A withNodeSelector(Map nodeSelector);
public Boolean hasNodeSelector();
/**
* This method has been deprecated, please use method buildOutput instead.
*/
@Deprecated public BuildOutput getOutput();
public BuildOutput buildOutput();
public A withOutput(BuildOutput output);
public Boolean hasOutput();
public BuildSpecFluent.OutputNested withNewOutput();
public BuildSpecFluent.OutputNested withNewOutputLike(BuildOutput item);
public BuildSpecFluent.OutputNested editOutput();
public BuildSpecFluent.OutputNested editOrNewOutput();
public BuildSpecFluent.OutputNested editOrNewOutputLike(BuildOutput item);
/**
* This method has been deprecated, please use method buildPostCommit instead.
*/
@Deprecated public BuildPostCommitSpec getPostCommit();
public BuildPostCommitSpec buildPostCommit();
public A withPostCommit(BuildPostCommitSpec postCommit);
public Boolean hasPostCommit();
public BuildSpecFluent.PostCommitNested withNewPostCommit();
public BuildSpecFluent.PostCommitNested withNewPostCommitLike(BuildPostCommitSpec item);
public BuildSpecFluent.PostCommitNested editPostCommit();
public BuildSpecFluent.PostCommitNested editOrNewPostCommit();
public BuildSpecFluent.PostCommitNested editOrNewPostCommitLike(BuildPostCommitSpec item);
/**
* This method has been deprecated, please use method buildResources instead.
*/
@Deprecated public ResourceRequirements getResources();
public ResourceRequirements buildResources();
public A withResources(ResourceRequirements resources);
public Boolean hasResources();
public BuildSpecFluent.ResourcesNested withNewResources();
public BuildSpecFluent.ResourcesNested withNewResourcesLike(ResourceRequirements item);
public BuildSpecFluent.ResourcesNested editResources();
public BuildSpecFluent.ResourcesNested editOrNewResources();
public BuildSpecFluent.ResourcesNested editOrNewResourcesLike(ResourceRequirements item);
/**
* This method has been deprecated, please use method buildRevision instead.
*/
@Deprecated public SourceRevision getRevision();
public SourceRevision buildRevision();
public A withRevision(SourceRevision revision);
public Boolean hasRevision();
public BuildSpecFluent.RevisionNested withNewRevision();
public BuildSpecFluent.RevisionNested withNewRevisionLike(SourceRevision item);
public BuildSpecFluent.RevisionNested editRevision();
public BuildSpecFluent.RevisionNested editOrNewRevision();
public BuildSpecFluent.RevisionNested editOrNewRevisionLike(SourceRevision item);
public String getServiceAccount();
public A withServiceAccount(String serviceAccount);
public Boolean hasServiceAccount();
/**
* This method has been deprecated, please use method buildSource instead.
*/
@Deprecated public BuildSource getSource();
public BuildSource buildSource();
public A withSource(BuildSource source);
public Boolean hasSource();
public BuildSpecFluent.SourceNested withNewSource();
public BuildSpecFluent.SourceNested withNewSourceLike(BuildSource item);
public BuildSpecFluent.SourceNested editSource();
public BuildSpecFluent.SourceNested editOrNewSource();
public BuildSpecFluent.SourceNested editOrNewSourceLike(BuildSource item);
/**
* This method has been deprecated, please use method buildStrategy instead.
*/
@Deprecated public BuildStrategy getStrategy();
public BuildStrategy buildStrategy();
public A withStrategy(BuildStrategy strategy);
public Boolean hasStrategy();
public BuildSpecFluent.StrategyNested withNewStrategy();
public BuildSpecFluent.StrategyNested withNewStrategyLike(BuildStrategy item);
public BuildSpecFluent.StrategyNested editStrategy();
public BuildSpecFluent.StrategyNested editOrNewStrategy();
public BuildSpecFluent.StrategyNested editOrNewStrategyLike(BuildStrategy item);
public A addToTriggeredBy(int index,BuildTriggerCause item);
public A setToTriggeredBy(int index,BuildTriggerCause item);
public A addToTriggeredBy(BuildTriggerCause... items);
public A addAllToTriggeredBy(Collection items);
public A removeFromTriggeredBy(BuildTriggerCause... items);
public A removeAllFromTriggeredBy(Collection items);
/**
* This method has been deprecated, please use method buildTriggeredBy instead.
*/
@Deprecated public List getTriggeredBy();
public List buildTriggeredBy();
public BuildTriggerCause buildTriggeredBy(int index);
public BuildTriggerCause buildFirstTriggeredBy();
public BuildTriggerCause buildLastTriggeredBy();
public BuildTriggerCause buildMatchingTriggeredBy(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withTriggeredBy(List triggeredBy);
public A withTriggeredBy(BuildTriggerCause... triggeredBy);
public Boolean hasTriggeredBy();
public BuildSpecFluent.TriggeredByNested addNewTriggeredBy();
public BuildSpecFluent.TriggeredByNested addNewTriggeredByLike(BuildTriggerCause item);
public BuildSpecFluent.TriggeredByNested setNewTriggeredByLike(int index,BuildTriggerCause item);
public BuildSpecFluent.TriggeredByNested editTriggeredBy(int index);
public BuildSpecFluent.TriggeredByNested editFirstTriggeredBy();
public BuildSpecFluent.TriggeredByNested editLastTriggeredBy();
public BuildSpecFluent.TriggeredByNested editMatchingTriggeredBy(io.alauda.kubernetes.api.builder.Predicate predicate);
public interface OutputNested extends io.alauda.kubernetes.api.builder.Nested,BuildOutputFluent>{
public N and(); public N endOutput();
}
public interface PostCommitNested extends io.alauda.kubernetes.api.builder.Nested,BuildPostCommitSpecFluent>{
public N and(); public N endPostCommit();
}
public interface ResourcesNested extends io.alauda.kubernetes.api.builder.Nested,ResourceRequirementsFluent>{
public N and(); public N endResources();
}
public interface RevisionNested extends io.alauda.kubernetes.api.builder.Nested,SourceRevisionFluent>{
public N and(); public N endRevision();
}
public interface SourceNested extends io.alauda.kubernetes.api.builder.Nested,BuildSourceFluent>{
public N and(); public N endSource();
}
public interface StrategyNested extends io.alauda.kubernetes.api.builder.Nested,BuildStrategyFluent>{
public N and(); public N endStrategy();
}
public interface TriggeredByNested extends io.alauda.kubernetes.api.builder.Nested,BuildTriggerCauseFluent>{
public N and(); public N endTriggeredBy();
}
}