All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.esbtools.lightbluenotificationhook.DefaultEntityNotificationHookConfiguration Maven / Gradle / Ivy

package org.esbtools.lightbluenotificationhook;

import com.redhat.lightblue.client.Projection;

class DefaultEntityNotificationHookConfiguration implements EntityNotificationHookConfiguration {
    private final String entityName;
    private final Projection watchProjection;
    private final Projection includeProjection;
    private final boolean arrayOrderingSignificant;

    DefaultEntityNotificationHookConfiguration(String entityName, Projection watchProjection,
            Projection includeProjection, boolean arrayOrderingSignificant) {
        this.entityName = entityName;
        this.watchProjection = watchProjection;
        this.includeProjection = includeProjection;
        this.arrayOrderingSignificant = arrayOrderingSignificant;
    }

    @Override
    public String entityName() {
        return entityName;
    }

    @Override
    public Projection watchProjection() {
        return watchProjection;
    }

    @Override
    public Projection includeProjection() {
        return includeProjection;
    }

    @Override
    public boolean arrayOrderingSignificant() {
        return arrayOrderingSignificant;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy