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

net.contextfw.web.application.internal.component.Builder Maven / Gradle / Ivy

package net.contextfw.web.application.internal.component;

import java.util.Set;

import net.contextfw.web.application.component.DOMBuilder;

abstract class Builder {

    private final String accessName;
        
    abstract void build(DOMBuilder b, Object buildable);

    protected Builder(String name) {
        this.accessName = name;
    }
    
    boolean isUpdateBuildable(Set updateModes) {
        if (accessName == null || updateModes.size() == 0) {
            return true;
        }
        return updateModes.contains(accessName);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy