public class BuildSpecFluentImpl<A extends BuildSpecFluent<A>> extends BaseFluent<A> implements BuildSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
BuildSpecFluentImpl.OutputNestedImpl<N> |
class |
BuildSpecFluentImpl.PostCommitNestedImpl<N> |
class |
BuildSpecFluentImpl.ResourcesNestedImpl<N> |
class |
BuildSpecFluentImpl.RevisionNestedImpl<N> |
class |
BuildSpecFluentImpl.SourceNestedImpl<N> |
class |
BuildSpecFluentImpl.StrategyNestedImpl<N> |
class |
BuildSpecFluentImpl.TriggeredByNestedImpl<N> |
BuildSpecFluent.OutputNested<N>, BuildSpecFluent.PostCommitNested<N>, BuildSpecFluent.ResourcesNested<N>, BuildSpecFluent.RevisionNested<N>, BuildSpecFluent.SourceNested<N>, BuildSpecFluent.StrategyNested<N>, BuildSpecFluent.TriggeredByNested<N>
_visitables
Constructor and Description |
---|
BuildSpecFluentImpl() |
BuildSpecFluentImpl(BuildSpec instance) |
public BuildSpecFluentImpl()
public BuildSpecFluentImpl(BuildSpec instance)
public Long getCompletionDeadlineSeconds()
getCompletionDeadlineSeconds
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withCompletionDeadlineSeconds(Long completionDeadlineSeconds)
withCompletionDeadlineSeconds
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasCompletionDeadlineSeconds()
hasCompletionDeadlineSeconds
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A addToNodeSelector(String key, String value)
addToNodeSelector
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A addToNodeSelector(Map<String,String> map)
addToNodeSelector
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A removeFromNodeSelector(String key)
removeFromNodeSelector
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A removeFromNodeSelector(Map<String,String> map)
removeFromNodeSelector
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Map<String,String> getNodeSelector()
getNodeSelector
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withNodeSelector(Map<String,String> nodeSelector)
withNodeSelector
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasNodeSelector()
hasNodeSelector
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
@Deprecated public BuildOutput getOutput()
getOutput
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildOutput buildOutput()
buildOutput
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withOutput(BuildOutput output)
withOutput
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasOutput()
hasOutput
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.OutputNested<A> withNewOutput()
withNewOutput
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.OutputNested<A> withNewOutputLike(BuildOutput item)
withNewOutputLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.OutputNested<A> editOutput()
editOutput
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.OutputNested<A> editOrNewOutput()
editOrNewOutput
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.OutputNested<A> editOrNewOutputLike(BuildOutput item)
editOrNewOutputLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
@Deprecated public BuildPostCommitSpec getPostCommit()
getPostCommit
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildPostCommitSpec buildPostCommit()
buildPostCommit
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withPostCommit(BuildPostCommitSpec postCommit)
withPostCommit
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasPostCommit()
hasPostCommit
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.PostCommitNested<A> withNewPostCommit()
withNewPostCommit
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.PostCommitNested<A> withNewPostCommitLike(BuildPostCommitSpec item)
withNewPostCommitLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.PostCommitNested<A> editPostCommit()
editPostCommit
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.PostCommitNested<A> editOrNewPostCommit()
editOrNewPostCommit
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.PostCommitNested<A> editOrNewPostCommitLike(BuildPostCommitSpec item)
editOrNewPostCommitLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
@Deprecated public ResourceRequirements getResources()
getResources
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public ResourceRequirements buildResources()
buildResources
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withResources(ResourceRequirements resources)
withResources
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasResources()
hasResources
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.ResourcesNested<A> withNewResources()
withNewResources
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.ResourcesNested<A> withNewResourcesLike(ResourceRequirements item)
withNewResourcesLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.ResourcesNested<A> editResources()
editResources
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.ResourcesNested<A> editOrNewResources()
editOrNewResources
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.ResourcesNested<A> editOrNewResourcesLike(ResourceRequirements item)
editOrNewResourcesLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
@Deprecated public SourceRevision getRevision()
getRevision
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public SourceRevision buildRevision()
buildRevision
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withRevision(SourceRevision revision)
withRevision
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasRevision()
hasRevision
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.RevisionNested<A> withNewRevision()
withNewRevision
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.RevisionNested<A> withNewRevisionLike(SourceRevision item)
withNewRevisionLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.RevisionNested<A> editRevision()
editRevision
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.RevisionNested<A> editOrNewRevision()
editOrNewRevision
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.RevisionNested<A> editOrNewRevisionLike(SourceRevision item)
editOrNewRevisionLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public String getServiceAccount()
getServiceAccount
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withServiceAccount(String serviceAccount)
withServiceAccount
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasServiceAccount()
hasServiceAccount
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withNewServiceAccount(String arg1)
withNewServiceAccount
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withNewServiceAccount(StringBuilder arg1)
withNewServiceAccount
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withNewServiceAccount(StringBuffer arg1)
withNewServiceAccount
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
@Deprecated public BuildSource getSource()
getSource
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSource buildSource()
buildSource
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withSource(BuildSource source)
withSource
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasSource()
hasSource
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.SourceNested<A> withNewSource()
withNewSource
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.SourceNested<A> withNewSourceLike(BuildSource item)
withNewSourceLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.SourceNested<A> editSource()
editSource
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.SourceNested<A> editOrNewSource()
editOrNewSource
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.SourceNested<A> editOrNewSourceLike(BuildSource item)
editOrNewSourceLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
@Deprecated public BuildStrategy getStrategy()
getStrategy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildStrategy buildStrategy()
buildStrategy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withStrategy(BuildStrategy strategy)
withStrategy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasStrategy()
hasStrategy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.StrategyNested<A> withNewStrategy()
withNewStrategy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.StrategyNested<A> withNewStrategyLike(BuildStrategy item)
withNewStrategyLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.StrategyNested<A> editStrategy()
editStrategy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.StrategyNested<A> editOrNewStrategy()
editOrNewStrategy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.StrategyNested<A> editOrNewStrategyLike(BuildStrategy item)
editOrNewStrategyLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A addToTriggeredBy(int index, BuildTriggerCause item)
addToTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A setToTriggeredBy(int index, BuildTriggerCause item)
setToTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A addToTriggeredBy(BuildTriggerCause... items)
addToTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A addAllToTriggeredBy(Collection<BuildTriggerCause> items)
addAllToTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A removeFromTriggeredBy(BuildTriggerCause... items)
removeFromTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A removeAllFromTriggeredBy(Collection<BuildTriggerCause> items)
removeAllFromTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A removeMatchingFromTriggeredBy(Predicate<BuildTriggerCauseBuilder> predicate)
removeMatchingFromTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
@Deprecated public List<BuildTriggerCause> getTriggeredBy()
getTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public List<BuildTriggerCause> buildTriggeredBy()
buildTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildTriggerCause buildTriggeredBy(int index)
buildTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildTriggerCause buildFirstTriggeredBy()
buildFirstTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildTriggerCause buildLastTriggeredBy()
buildLastTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildTriggerCause buildMatchingTriggeredBy(Predicate<BuildTriggerCauseBuilder> predicate)
buildMatchingTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasMatchingTriggeredBy(Predicate<BuildTriggerCauseBuilder> predicate)
hasMatchingTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withTriggeredBy(List<BuildTriggerCause> triggeredBy)
withTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public A withTriggeredBy(BuildTriggerCause... triggeredBy)
withTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public Boolean hasTriggeredBy()
hasTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.TriggeredByNested<A> addNewTriggeredBy()
addNewTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.TriggeredByNested<A> addNewTriggeredByLike(BuildTriggerCause item)
addNewTriggeredByLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.TriggeredByNested<A> setNewTriggeredByLike(int index, BuildTriggerCause item)
setNewTriggeredByLike
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.TriggeredByNested<A> editTriggeredBy(int index)
editTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.TriggeredByNested<A> editFirstTriggeredBy()
editFirstTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.TriggeredByNested<A> editLastTriggeredBy()
editLastTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
public BuildSpecFluent.TriggeredByNested<A> editMatchingTriggeredBy(Predicate<BuildTriggerCauseBuilder> predicate)
editMatchingTriggeredBy
in interface BuildSpecFluent<A extends BuildSpecFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.