@Test public void testToPrettyString() { assertEquals("A != B", HostSelector.parse("A!=B").toPrettyString()); assertEquals("A = B", HostSelector.parse("A=B").toPrettyString()); }
public String toPrettyString() { return format("%s %s %s", label, operator.operatorName, operand.toString()); }
HostSelector extends Descriptor { public String toPrettyString() { return format("%s %s %s", label, operator.operatorName, operand.toString()); } }
HostSelector extends Descriptor { public String toPrettyString() { return format("%s %s %s", label, operator.operatorName, operand.toString()); } HostSelector(
      @JsonProperty("label") final String label,
      @JsonProperty("operator") final Operator operator,
      @JsonProperty("operand") final Object operand); }
HostSelector extends Descriptor { public String toPrettyString() { return format("%s %s %s", label, operator.operatorName, operand.toString()); } HostSelector(
      @JsonProperty("label") final String label,
      @JsonProperty("operator") final Operator operator,
      @JsonProperty("operand") final Object operand); static HostSelector parse(final String str); String getLabel(); Operator getOperator(); Object getOperand(); boolean matches(@Nullable final String value); String toPrettyString(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); }
HostSelector extends Descriptor { public String toPrettyString() { return format("%s %s %s", label, operator.operatorName, operand.toString()); } HostSelector(
      @JsonProperty("label") final String label,
      @JsonProperty("operator") final Operator operator,
      @JsonProperty("operand") final Object operand); static HostSelector parse(final String str); String getLabel(); Operator getOperator(); Object getOperand(); boolean matches(@Nullable final String value); String toPrettyString(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }