public boolean equals()

in src/main/java/org/apache/openwhisk/intellij/common/whisk/model/activation/WhiskActivation.java [154:169]


    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        WhiskActivation that = (WhiskActivation) o;

        if (start != that.start) return false;
        if (end != that.end) return false;
        if (duration != that.duration) return false;
        if (publish != that.publish) return false;
        if (activationId != null ? !activationId.equals(that.activationId) : that.activationId != null) return false;
        if (name != null ? !name.equals(that.name) : that.name != null) return false;
        if (namespace != null ? !namespace.equals(that.namespace) : that.namespace != null) return false;
        if (version != null ? !version.equals(that.version) : that.version != null) return false;
        return annotations != null ? annotations.equals(that.annotations) : that.annotations == null;
    }