public class NodeSelectorRequirementFluentImpl<A extends NodeSelectorRequirementFluent<A>> extends BaseFluent<A> implements NodeSelectorRequirementFluent<A>
_visitables| Constructor and Description |
|---|
NodeSelectorRequirementFluentImpl() |
NodeSelectorRequirementFluentImpl(NodeSelectorRequirement instance) |
| Modifier and Type | Method and Description |
|---|---|
A |
addAllToValues(Collection<String> items) |
A |
addToValues(int index,
String item) |
A |
addToValues(String... items) |
boolean |
equals(Object o) |
String |
getFirstValue() |
String |
getKey() |
String |
getLastValue() |
String |
getMatchingValue(Predicate<String> predicate) |
String |
getOperator() |
String |
getValue(int index) |
List<String> |
getValues() |
Boolean |
hasKey() |
Boolean |
hasOperator() |
Boolean |
hasValues() |
A |
removeAllFromValues(Collection<String> items) |
A |
removeFromValues(String... items) |
A |
setToValues(int index,
String item) |
A |
withKey(String key) |
A |
withOperator(String operator) |
A |
withValues(List<String> values) |
A |
withValues(String... values) |
public NodeSelectorRequirementFluentImpl()
public NodeSelectorRequirementFluentImpl(NodeSelectorRequirement instance)
public String getKey()
getKey in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A withKey(String key)
withKey in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public Boolean hasKey()
hasKey in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public String getOperator()
getOperator in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A withOperator(String operator)
withOperator in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public Boolean hasOperator()
hasOperator in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A addToValues(int index, String item)
addToValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A setToValues(int index, String item)
setToValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A addToValues(String... items)
addToValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A addAllToValues(Collection<String> items)
addAllToValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A removeFromValues(String... items)
removeFromValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A removeAllFromValues(Collection<String> items)
removeAllFromValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public List<String> getValues()
getValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public String getValue(int index)
getValue in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public String getFirstValue()
getFirstValue in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public String getLastValue()
getLastValue in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public String getMatchingValue(Predicate<String> predicate)
getMatchingValue in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A withValues(List<String> values)
withValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public A withValues(String... values)
withValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>public Boolean hasValues()
hasValues in interface NodeSelectorRequirementFluent<A extends NodeSelectorRequirementFluent<A>>Copyright © 2015–2019 Red Hat. All rights reserved.