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

annotations.io.alauda.devops.api.model.BuildConfigSpecFluent Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
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 java.lang.Integer;
import javax.validation.Valid;
import java.lang.Long;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;

public interface BuildConfigSpecFluent> extends Fluent{


    public Long getCompletionDeadlineSeconds();
    public A withCompletionDeadlineSeconds(Long completionDeadlineSeconds);
    public Boolean hasCompletionDeadlineSeconds();
    public Integer getFailedBuildsHistoryLimit();
    public A withFailedBuildsHistoryLimit(Integer failedBuildsHistoryLimit);
    public Boolean hasFailedBuildsHistoryLimit();
    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 BuildConfigSpecFluent.OutputNested withNewOutput();
    public BuildConfigSpecFluent.OutputNested withNewOutputLike(BuildOutput item);
    public BuildConfigSpecFluent.OutputNested editOutput();
    public BuildConfigSpecFluent.OutputNested editOrNewOutput();
    public BuildConfigSpecFluent.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 BuildConfigSpecFluent.PostCommitNested withNewPostCommit();
    public BuildConfigSpecFluent.PostCommitNested withNewPostCommitLike(BuildPostCommitSpec item);
    public BuildConfigSpecFluent.PostCommitNested editPostCommit();
    public BuildConfigSpecFluent.PostCommitNested editOrNewPostCommit();
    public BuildConfigSpecFluent.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 BuildConfigSpecFluent.ResourcesNested withNewResources();
    public BuildConfigSpecFluent.ResourcesNested withNewResourcesLike(ResourceRequirements item);
    public BuildConfigSpecFluent.ResourcesNested editResources();
    public BuildConfigSpecFluent.ResourcesNested editOrNewResources();
    public BuildConfigSpecFluent.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 BuildConfigSpecFluent.RevisionNested withNewRevision();
    public BuildConfigSpecFluent.RevisionNested withNewRevisionLike(SourceRevision item);
    public BuildConfigSpecFluent.RevisionNested editRevision();
    public BuildConfigSpecFluent.RevisionNested editOrNewRevision();
    public BuildConfigSpecFluent.RevisionNested editOrNewRevisionLike(SourceRevision item);
    public String getRunPolicy();
    public A withRunPolicy(String runPolicy);
    public Boolean hasRunPolicy();
    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 BuildConfigSpecFluent.SourceNested withNewSource();
    public BuildConfigSpecFluent.SourceNested withNewSourceLike(BuildSource item);
    public BuildConfigSpecFluent.SourceNested editSource();
    public BuildConfigSpecFluent.SourceNested editOrNewSource();
    public BuildConfigSpecFluent.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 BuildConfigSpecFluent.StrategyNested withNewStrategy();
    public BuildConfigSpecFluent.StrategyNested withNewStrategyLike(BuildStrategy item);
    public BuildConfigSpecFluent.StrategyNested editStrategy();
    public BuildConfigSpecFluent.StrategyNested editOrNewStrategy();
    public BuildConfigSpecFluent.StrategyNested editOrNewStrategyLike(BuildStrategy item);
    public Integer getSuccessfulBuildsHistoryLimit();
    public A withSuccessfulBuildsHistoryLimit(Integer successfulBuildsHistoryLimit);
    public Boolean hasSuccessfulBuildsHistoryLimit();
    public A addToTriggers(int index,BuildTriggerPolicy item);
    public A setToTriggers(int index,BuildTriggerPolicy item);
    public A addToTriggers(BuildTriggerPolicy... items);
    public A addAllToTriggers(Collection items);
    public A removeFromTriggers(BuildTriggerPolicy... items);
    public A removeAllFromTriggers(Collection items);
    
/**
 * This method has been deprecated, please use method buildTriggers instead.
 */
@Deprecated public List getTriggers();
    public List buildTriggers();
    public BuildTriggerPolicy buildTrigger(int index);
    public BuildTriggerPolicy buildFirstTrigger();
    public BuildTriggerPolicy buildLastTrigger();
    public BuildTriggerPolicy buildMatchingTrigger(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withTriggers(List triggers);
    public A withTriggers(BuildTriggerPolicy... triggers);
    public Boolean hasTriggers();
    public BuildConfigSpecFluent.TriggersNested addNewTrigger();
    public BuildConfigSpecFluent.TriggersNested addNewTriggerLike(BuildTriggerPolicy item);
    public BuildConfigSpecFluent.TriggersNested setNewTriggerLike(int index,BuildTriggerPolicy item);
    public BuildConfigSpecFluent.TriggersNested editTrigger(int index);
    public BuildConfigSpecFluent.TriggersNested editFirstTrigger();
    public BuildConfigSpecFluent.TriggersNested editLastTrigger();
    public BuildConfigSpecFluent.TriggersNested editMatchingTrigger(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 TriggersNested extends io.alauda.kubernetes.api.builder.Nested,BuildTriggerPolicyFluent>{

        
    public N and();    public N endTrigger();
}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy