public class SourceBuildStrategyFluentImpl<A extends SourceBuildStrategyFluent<A>> extends BaseFluent<A> implements SourceBuildStrategyFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
SourceBuildStrategyFluentImpl.EnvNestedImpl<N> |
class |
SourceBuildStrategyFluentImpl.FromNestedImpl<N> |
class |
SourceBuildStrategyFluentImpl.PullSecretNestedImpl<N> |
class |
SourceBuildStrategyFluentImpl.RuntimeArtifactsNestedImpl<N> |
class |
SourceBuildStrategyFluentImpl.RuntimeImageNestedImpl<N> |
SourceBuildStrategyFluent.EnvNested<N>, SourceBuildStrategyFluent.FromNested<N>, SourceBuildStrategyFluent.PullSecretNested<N>, SourceBuildStrategyFluent.RuntimeArtifactsNested<N>, SourceBuildStrategyFluent.RuntimeImageNested<N>
_visitables
Constructor and Description |
---|
SourceBuildStrategyFluentImpl() |
SourceBuildStrategyFluentImpl(SourceBuildStrategy instance) |
public SourceBuildStrategyFluentImpl()
public SourceBuildStrategyFluentImpl(SourceBuildStrategy instance)
public A addToEnv(int index, EnvVar item)
addToEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A setToEnv(int index, EnvVar item)
setToEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A addToEnv(EnvVar... items)
addToEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A addAllToEnv(Collection<EnvVar> items)
addAllToEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A removeFromEnv(EnvVar... items)
removeFromEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A removeAllFromEnv(Collection<EnvVar> items)
removeAllFromEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
@Deprecated public List<EnvVar> getEnv()
getEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public List<EnvVar> buildEnv()
buildEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public EnvVar buildEnv(int index)
buildEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public EnvVar buildFirstEnv()
buildFirstEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public EnvVar buildLastEnv()
buildLastEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public EnvVar buildMatchingEnv(Predicate<EnvVarBuilder> predicate)
buildMatchingEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withEnv(List<EnvVar> env)
withEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withEnv(EnvVar... env)
withEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean hasEnv()
hasEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.EnvNested<A> addNewEnv()
addNewEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.EnvNested<A> addNewEnvLike(EnvVar item)
addNewEnvLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.EnvNested<A> setNewEnvLike(int index, EnvVar item)
setNewEnvLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.EnvNested<A> editEnv(int index)
editEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.EnvNested<A> editFirstEnv()
editFirstEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.EnvNested<A> editLastEnv()
editLastEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.EnvNested<A> editMatchingEnv(Predicate<EnvVarBuilder> predicate)
editMatchingEnv
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean isForcePull()
isForcePull
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withForcePull(Boolean forcePull)
withForcePull
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean hasForcePull()
hasForcePull
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
@Deprecated public ObjectReference getFrom()
getFrom
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public ObjectReference buildFrom()
buildFrom
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withFrom(ObjectReference from)
withFrom
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean hasFrom()
hasFrom
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.FromNested<A> withNewFrom()
withNewFrom
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.FromNested<A> withNewFromLike(ObjectReference item)
withNewFromLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.FromNested<A> editFrom()
editFrom
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.FromNested<A> editOrNewFrom()
editOrNewFrom
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.FromNested<A> editOrNewFromLike(ObjectReference item)
editOrNewFromLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean isIncremental()
isIncremental
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withIncremental(Boolean incremental)
withIncremental
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean hasIncremental()
hasIncremental
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
@Deprecated public LocalObjectReference getPullSecret()
getPullSecret
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public LocalObjectReference buildPullSecret()
buildPullSecret
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withPullSecret(LocalObjectReference pullSecret)
withPullSecret
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean hasPullSecret()
hasPullSecret
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.PullSecretNested<A> withNewPullSecret()
withNewPullSecret
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.PullSecretNested<A> withNewPullSecretLike(LocalObjectReference item)
withNewPullSecretLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.PullSecretNested<A> editPullSecret()
editPullSecret
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.PullSecretNested<A> editOrNewPullSecret()
editOrNewPullSecret
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.PullSecretNested<A> editOrNewPullSecretLike(LocalObjectReference item)
editOrNewPullSecretLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withNewPullSecret(String name)
withNewPullSecret
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A addToRuntimeArtifacts(int index, ImageSourcePath item)
addToRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A setToRuntimeArtifacts(int index, ImageSourcePath item)
setToRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A addToRuntimeArtifacts(ImageSourcePath... items)
addToRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A addAllToRuntimeArtifacts(Collection<ImageSourcePath> items)
addAllToRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A removeFromRuntimeArtifacts(ImageSourcePath... items)
removeFromRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A removeAllFromRuntimeArtifacts(Collection<ImageSourcePath> items)
removeAllFromRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
@Deprecated public List<ImageSourcePath> getRuntimeArtifacts()
getRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public List<ImageSourcePath> buildRuntimeArtifacts()
buildRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public ImageSourcePath buildRuntimeArtifact(int index)
buildRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public ImageSourcePath buildFirstRuntimeArtifact()
buildFirstRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public ImageSourcePath buildLastRuntimeArtifact()
buildLastRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public ImageSourcePath buildMatchingRuntimeArtifact(Predicate<ImageSourcePathBuilder> predicate)
buildMatchingRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withRuntimeArtifacts(List<ImageSourcePath> runtimeArtifacts)
withRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withRuntimeArtifacts(ImageSourcePath... runtimeArtifacts)
withRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean hasRuntimeArtifacts()
hasRuntimeArtifacts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeArtifactsNested<A> addNewRuntimeArtifact()
addNewRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeArtifactsNested<A> addNewRuntimeArtifactLike(ImageSourcePath item)
addNewRuntimeArtifactLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeArtifactsNested<A> setNewRuntimeArtifactLike(int index, ImageSourcePath item)
setNewRuntimeArtifactLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeArtifactsNested<A> editRuntimeArtifact(int index)
editRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeArtifactsNested<A> editFirstRuntimeArtifact()
editFirstRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeArtifactsNested<A> editLastRuntimeArtifact()
editLastRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeArtifactsNested<A> editMatchingRuntimeArtifact(Predicate<ImageSourcePathBuilder> predicate)
editMatchingRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A addNewRuntimeArtifact(String destinationDir, String sourcePath)
addNewRuntimeArtifact
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
@Deprecated public ObjectReference getRuntimeImage()
getRuntimeImage
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public ObjectReference buildRuntimeImage()
buildRuntimeImage
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withRuntimeImage(ObjectReference runtimeImage)
withRuntimeImage
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean hasRuntimeImage()
hasRuntimeImage
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeImageNested<A> withNewRuntimeImage()
withNewRuntimeImage
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeImageNested<A> withNewRuntimeImageLike(ObjectReference item)
withNewRuntimeImageLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeImageNested<A> editRuntimeImage()
editRuntimeImage
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeImageNested<A> editOrNewRuntimeImage()
editOrNewRuntimeImage
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public SourceBuildStrategyFluent.RuntimeImageNested<A> editOrNewRuntimeImageLike(ObjectReference item)
editOrNewRuntimeImageLike
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public String getScripts()
getScripts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public A withScripts(String scripts)
withScripts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
public Boolean hasScripts()
hasScripts
in interface SourceBuildStrategyFluent<A extends SourceBuildStrategyFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.