
com.structurizr.dsl.PropertiesDslContext Maven / Gradle / Ivy
The newest version!
package com.structurizr.dsl;
import com.structurizr.PropertyHolder;
import java.util.ArrayList;
import java.util.Collection;
final class PropertiesDslContext extends DslContext {
private final Collection propertyHolders = new ArrayList<>();
public PropertiesDslContext(PropertyHolder propertyHolder) {
this.propertyHolders.add(propertyHolder);
}
public PropertiesDslContext(Collection propertyHolders) {
this.propertyHolders.addAll(propertyHolders);
}
Collection getPropertyHolders() {
return this.propertyHolders;
}
@Override
protected String[] getPermittedTokens() {
return new String[0];
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy