public class CustomDeploymentStrategyParamsFluentImpl<A extends CustomDeploymentStrategyParamsFluent<A>> extends BaseFluent<A> implements CustomDeploymentStrategyParamsFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
CustomDeploymentStrategyParamsFluentImpl.EnvironmentNestedImpl<N> |
CustomDeploymentStrategyParamsFluent.EnvironmentNested<N>
_visitables
Constructor and Description |
---|
CustomDeploymentStrategyParamsFluentImpl() |
CustomDeploymentStrategyParamsFluentImpl(CustomDeploymentStrategyParams instance) |
public CustomDeploymentStrategyParamsFluentImpl()
public CustomDeploymentStrategyParamsFluentImpl(CustomDeploymentStrategyParams instance)
public A addToCommand(int index, String item)
addToCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A setToCommand(int index, String item)
setToCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A addToCommand(String... items)
addToCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A addAllToCommand(Collection<String> items)
addAllToCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A removeFromCommand(String... items)
removeFromCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A removeAllFromCommand(Collection<String> items)
removeAllFromCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public List<String> getCommand()
getCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public String getCommand(int index)
getCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public String getFirstCommand()
getFirstCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public String getLastCommand()
getLastCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public String getMatchingCommand(Predicate<String> predicate)
getMatchingCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A withCommand(List<String> command)
withCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A withCommand(String... command)
withCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public Boolean hasCommand()
hasCommand
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A addToEnvironment(int index, EnvVar item)
addToEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A setToEnvironment(int index, EnvVar item)
setToEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A addToEnvironment(EnvVar... items)
addToEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A addAllToEnvironment(Collection<EnvVar> items)
addAllToEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A removeFromEnvironment(EnvVar... items)
removeFromEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A removeAllFromEnvironment(Collection<EnvVar> items)
removeAllFromEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
@Deprecated public List<EnvVar> getEnvironment()
getEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public List<EnvVar> buildEnvironment()
buildEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public EnvVar buildEnvironment(int index)
buildEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public EnvVar buildFirstEnvironment()
buildFirstEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public EnvVar buildLastEnvironment()
buildLastEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public EnvVar buildMatchingEnvironment(Predicate<EnvVarBuilder> predicate)
buildMatchingEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A withEnvironment(List<EnvVar> environment)
withEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A withEnvironment(EnvVar... environment)
withEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public Boolean hasEnvironment()
hasEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public CustomDeploymentStrategyParamsFluent.EnvironmentNested<A> addNewEnvironment()
addNewEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public CustomDeploymentStrategyParamsFluent.EnvironmentNested<A> addNewEnvironmentLike(EnvVar item)
addNewEnvironmentLike
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public CustomDeploymentStrategyParamsFluent.EnvironmentNested<A> setNewEnvironmentLike(int index, EnvVar item)
setNewEnvironmentLike
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public CustomDeploymentStrategyParamsFluent.EnvironmentNested<A> editEnvironment(int index)
editEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public CustomDeploymentStrategyParamsFluent.EnvironmentNested<A> editFirstEnvironment()
editFirstEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public CustomDeploymentStrategyParamsFluent.EnvironmentNested<A> editLastEnvironment()
editLastEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public CustomDeploymentStrategyParamsFluent.EnvironmentNested<A> editMatchingEnvironment(Predicate<EnvVarBuilder> predicate)
editMatchingEnvironment
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public String getImage()
getImage
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public A withImage(String image)
withImage
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
public Boolean hasImage()
hasImage
in interface CustomDeploymentStrategyParamsFluent<A extends CustomDeploymentStrategyParamsFluent<A>>
Copyright © 2015–2018 Red Hat. All rights reserved.