public class GroupRestrictionFluentImpl<A extends GroupRestrictionFluent<A>> extends BaseFluent<A> implements GroupRestrictionFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
GroupRestrictionFluentImpl.LabelsNestedImpl<N> |
GroupRestrictionFluent.LabelsNested<N>
_visitables
Constructor and Description |
---|
GroupRestrictionFluentImpl() |
GroupRestrictionFluentImpl(GroupRestriction instance) |
public GroupRestrictionFluentImpl()
public GroupRestrictionFluentImpl(GroupRestriction instance)
public A addToGroups(int index, String item)
addToGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A setToGroups(int index, String item)
setToGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addToGroups(String... items)
addToGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addAllToGroups(Collection<String> items)
addAllToGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A removeFromGroups(String... items)
removeFromGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A removeAllFromGroups(Collection<String> items)
removeAllFromGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public List<String> getGroups()
getGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public String getGroup(int index)
getGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public String getFirstGroup()
getFirstGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public String getLastGroup()
getLastGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public String getMatchingGroup(Predicate<String> predicate)
getMatchingGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public Boolean hasMatchingGroup(Predicate<String> predicate)
hasMatchingGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A withGroups(List<String> groups)
withGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A withGroups(String... groups)
withGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public Boolean hasGroups()
hasGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addNewGroup(String arg1)
addNewGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addNewGroup(StringBuilder arg1)
addNewGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addNewGroup(StringBuffer arg1)
addNewGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addToLabels(int index, LabelSelector item)
addToLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A setToLabels(int index, LabelSelector item)
setToLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addToLabels(LabelSelector... items)
addToLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addAllToLabels(Collection<LabelSelector> items)
addAllToLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A removeFromLabels(LabelSelector... items)
removeFromLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A removeAllFromLabels(Collection<LabelSelector> items)
removeAllFromLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A removeMatchingFromLabels(Predicate<LabelSelectorBuilder> predicate)
removeMatchingFromLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
@Deprecated public List<LabelSelector> getLabels()
getLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public List<LabelSelector> buildLabels()
buildLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public LabelSelector buildLabel(int index)
buildLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public LabelSelector buildFirstLabel()
buildFirstLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public LabelSelector buildLastLabel()
buildLastLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public LabelSelector buildMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
buildMatchingLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public Boolean hasMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
hasMatchingLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A withLabels(List<LabelSelector> labels)
withLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A withLabels(LabelSelector... labels)
withLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public Boolean hasLabels()
hasLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public GroupRestrictionFluent.LabelsNested<A> addNewLabel()
addNewLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public GroupRestrictionFluent.LabelsNested<A> addNewLabelLike(LabelSelector item)
addNewLabelLike
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public GroupRestrictionFluent.LabelsNested<A> setNewLabelLike(int index, LabelSelector item)
setNewLabelLike
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public GroupRestrictionFluent.LabelsNested<A> editLabel(int index)
editLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public GroupRestrictionFluent.LabelsNested<A> editFirstLabel()
editFirstLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public GroupRestrictionFluent.LabelsNested<A> editLastLabel()
editLastLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public GroupRestrictionFluent.LabelsNested<A> editMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
editMatchingLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.