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

com.structurizr.dsl.PerspectivesDslContext Maven / Gradle / Ivy

The newest version!
package com.structurizr.dsl;

import com.structurizr.model.ModelItem;

import java.util.ArrayList;
import java.util.Collection;

final class PerspectivesDslContext extends DslContext {

    private final Collection modelItems = new ArrayList<>();

    PerspectivesDslContext(ModelItem modelItem) {
        this.modelItems.add(modelItem);
    }

    PerspectivesDslContext(Collection modelItems) {
        this.modelItems.addAll(modelItems);
    }

    Collection getModelItems() {
        return this.modelItems;
    }

    @Override
    protected String[] getPermittedTokens() {
        return new String[0];
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy