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, java.lang.String item)
addToGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A setToGroups(int index, java.lang.String item)
setToGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addToGroups(java.lang.String... items)
addToGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addAllToGroups(java.util.Collection<java.lang.String> items)
addAllToGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A removeFromGroups(java.lang.String... items)
removeFromGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A removeAllFromGroups(java.util.Collection<java.lang.String> items)
removeAllFromGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public java.util.List<java.lang.String> getGroups()
getGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public java.lang.String getGroup(int index)
getGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public java.lang.String getFirstGroup()
getFirstGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public java.lang.String getLastGroup()
getLastGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public java.lang.String getMatchingGroup(Predicate<java.lang.String> predicate)
getMatchingGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public java.lang.Boolean hasMatchingGroup(Predicate<java.lang.String> predicate)
hasMatchingGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A withGroups(java.util.List<java.lang.String> groups)
withGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A withGroups(java.lang.String... groups)
withGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public java.lang.Boolean hasGroups()
hasGroups
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addNewGroup(java.lang.String arg1)
addNewGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addNewGroup(java.lang.StringBuilder arg1)
addNewGroup
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A addNewGroup(java.lang.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(java.util.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(java.util.Collection<LabelSelector> items)
removeAllFromLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
@Deprecated public java.util.List<LabelSelector> getLabels()
getLabels
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public java.util.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 java.lang.Boolean hasMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
hasMatchingLabel
in interface GroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
public A withLabels(java.util.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 java.lang.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>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.