(Object obj)
| 1782 | } |
| 1783 | |
| 1784 | @Override |
| 1785 | public boolean equals(Object obj) { |
| 1786 | if (obj instanceof EntityRule) { |
| 1787 | EntityRule other = (EntityRule) obj; |
| 1788 | return Objects.equals(this.uuid, other.uuid) && |
| 1789 | this.folder.equals(other.folder) && |
| 1790 | this.name.equals(other.name) && |
| 1791 | Objects.equals(this.group, other.group) && |
| 1792 | this.order == other.order && |
| 1793 | this.enabled == other.enabled && |
| 1794 | this.daily == other.daily && |
| 1795 | this.stop == other.stop && |
| 1796 | this.condition.equals(other.condition) && |
| 1797 | this.action.equals(other.action) && |
| 1798 | this.applied.equals(other.applied) && |
| 1799 | Objects.equals(this.last_applied, other.last_applied); |
| 1800 | } else |
| 1801 | return false; |
| 1802 | } |
| 1803 | |
| 1804 | boolean matches(String query) { |
| 1805 | if (this.name.toLowerCase().contains(query)) |
no outgoing calls
no test coverage detected