public boolean equals()

in twill-core/src/main/java/org/apache/twill/internal/state/SimpleMessage.java [76:88]


  public boolean equals(Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof Message)) {
      return false;
    }
    Message other = (Message) obj;
    return type == other.getType()
      && scope == other.getScope()
      && Objects.equal(runnableName, other.getRunnableName())
      && Objects.equal(command, other.getCommand());
  }