boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BeforeRunTask<?> that = (BeforeRunTask<?>)o; if (myProviderId != that.myProviderId) return false; if (myIsEnabled != that.myIsEnabled) return false; return true; }