/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.cluster.ClusterProperty
 *  com.l7tech.objectmodel.Entity
 *  com.l7tech.objectmodel.EntityHeader
 *  com.l7tech.objectmodel.EntityHeaderSet
 *  com.l7tech.util.Functions$Binary
 */
package com.l7tech.server.search;

import com.l7tech.gateway.common.cluster.ClusterProperty;
import com.l7tech.objectmodel.Entity;
import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.EntityHeaderSet;
import com.l7tech.server.EntityHeaderUtils;
import com.l7tech.server.search.DependencyAnalyzerImpl;
import com.l7tech.util.Functions;

class c
implements Functions.Binary<EntityHeaderSet<EntityHeader>, EntityHeaderSet<EntityHeader>, ClusterProperty> {
    c(DependencyAnalyzerImpl dependencyAnalyzerImpl) {
    }

    public EntityHeaderSet<EntityHeader> call(EntityHeaderSet<EntityHeader> entityHeaderSet, ClusterProperty clusterProperty) {
        if (!clusterProperty.isHiddenProperty()) {
            entityHeaderSet.add(EntityHeaderUtils.fromEntity((Entity)clusterProperty));
        }
        return entityHeaderSet;
    }
}

