org.apache.solr.cloud.rule

## Class Rule.Condition

- java.lang.Object
- - org.apache.solr.cloud.rule.Rule.Condition

- Enclosing class:
    Rule

      public static class Rule.Condition
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `String` | `name`
    `Rule.Operand` | `operand`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(String n1, String n2, Map<String,Map<String,Object>> nodeVsTags)`
    `boolean` | `equals(Object obj)`
    `Integer` | `getInt()`
    `boolean` | `isWildCard()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### name

          public final String name

    - #### operand

          public final Rule.Operand operand

  - ### Method Detail

    - #### isWildCard

          public boolean isWildCard()

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getInt

          public Integer getInt()

    - #### compare

          public int compare(String n1,
                             String n2,
                             Map<String,Map<String,Object>> nodeVsTags)

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.