Class TopologySelectorTerm

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class TopologySelectorTerm
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.
    • Constructor Detail

      • TopologySelectorTerm

        public TopologySelectorTerm()
    • Method Detail

      • getMatchLabelExpressions

        public java.util.List<TopologySelectorLabelRequirement> getMatchLabelExpressions()
        A list of topology selector requirements by labels.
      • setMatchLabelExpressions

        public void setMatchLabelExpressions​(java.util.List<TopologySelectorLabelRequirement> matchLabelExpressions)
        A list of topology selector requirements by labels.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object