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

org.openstack4j.model.common.BaseFilter Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package org.openstack4j.model.common;

import java.util.Map;

import com.google.common.collect.Maps;

/**
 * Base Filter class for building Filter Request options
 *
 * @author Jeremy Unruh
 */
public class BaseFilter {

    private Map constraints = Maps.newHashMap();

    protected BaseFilter() {

    }

    protected void filter(String name, Object value) {
        constraints.put(name, value);
    }

    public Map getConstraints() {
        return constraints;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy