public class ExecNewPodHookFluentImpl<A extends ExecNewPodHookFluent<A>> extends BaseFluent<A> implements ExecNewPodHookFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ExecNewPodHookFluentImpl.EnvNestedImpl<N> |
ExecNewPodHookFluent.EnvNested<N>
_visitables
Constructor and Description |
---|
ExecNewPodHookFluentImpl() |
ExecNewPodHookFluentImpl(ExecNewPodHook instance) |
public ExecNewPodHookFluentImpl()
public ExecNewPodHookFluentImpl(ExecNewPodHook instance)
public A addToCommand(int index, String item)
addToCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A setToCommand(int index, String item)
setToCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A addToCommand(String... items)
addToCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A addAllToCommand(Collection<String> items)
addAllToCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A removeFromCommand(String... items)
removeFromCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A removeAllFromCommand(Collection<String> items)
removeAllFromCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public List<String> getCommand()
getCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getCommand(int index)
getCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getFirstCommand()
getFirstCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getLastCommand()
getLastCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getMatchingCommand(Predicate<String> predicate)
getMatchingCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A withCommand(List<String> command)
withCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A withCommand(String... command)
withCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public Boolean hasCommand()
hasCommand
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getContainerName()
getContainerName
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A withContainerName(String containerName)
withContainerName
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public Boolean hasContainerName()
hasContainerName
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A addToEnv(int index, EnvVar item)
addToEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A setToEnv(int index, EnvVar item)
setToEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A addToEnv(EnvVar... items)
addToEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A addAllToEnv(Collection<EnvVar> items)
addAllToEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A removeFromEnv(EnvVar... items)
removeFromEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A removeAllFromEnv(Collection<EnvVar> items)
removeAllFromEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
@Deprecated public List<EnvVar> getEnv()
getEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public List<EnvVar> buildEnv()
buildEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public EnvVar buildEnv(int index)
buildEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public EnvVar buildFirstEnv()
buildFirstEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public EnvVar buildLastEnv()
buildLastEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public EnvVar buildMatchingEnv(Predicate<EnvVarBuilder> predicate)
buildMatchingEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A withEnv(List<EnvVar> env)
withEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A withEnv(EnvVar... env)
withEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public Boolean hasEnv()
hasEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public ExecNewPodHookFluent.EnvNested<A> addNewEnv()
addNewEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public ExecNewPodHookFluent.EnvNested<A> addNewEnvLike(EnvVar item)
addNewEnvLike
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public ExecNewPodHookFluent.EnvNested<A> setNewEnvLike(int index, EnvVar item)
setNewEnvLike
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public ExecNewPodHookFluent.EnvNested<A> editEnv(int index)
editEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public ExecNewPodHookFluent.EnvNested<A> editFirstEnv()
editFirstEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public ExecNewPodHookFluent.EnvNested<A> editLastEnv()
editLastEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public ExecNewPodHookFluent.EnvNested<A> editMatchingEnv(Predicate<EnvVarBuilder> predicate)
editMatchingEnv
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A addToVolumes(int index, String item)
addToVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A setToVolumes(int index, String item)
setToVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A addToVolumes(String... items)
addToVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A addAllToVolumes(Collection<String> items)
addAllToVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A removeFromVolumes(String... items)
removeFromVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A removeAllFromVolumes(Collection<String> items)
removeAllFromVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public List<String> getVolumes()
getVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getVolume(int index)
getVolume
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getFirstVolume()
getFirstVolume
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getLastVolume()
getLastVolume
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public String getMatchingVolume(Predicate<String> predicate)
getMatchingVolume
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A withVolumes(List<String> volumes)
withVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public A withVolumes(String... volumes)
withVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
public Boolean hasVolumes()
hasVolumes
in interface ExecNewPodHookFluent<A extends ExecNewPodHookFluent<A>>
Copyright © 2015–2018 Red Hat. All rights reserved.