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

    Module module = (Module) o;

    return Objects.equals(id, module.id) && Objects.equals(displayName, module.displayName) &&
            Objects.equals(description, module.description) && Objects.equals(category, module.category) &&
            Objects.equals(name, module.name) && Objects.equals(version, module.version) && Objects.equals(definition, module.definition)
            && Objects.equals(dependencies, module.dependencies) && Objects.equals(components, module.components);
  }
Fetch a particular module component by the component name.
@param moduleComponentName
@return
ambari-server/src/main/java/org/apache/ambari/server/state/Module.java