org.jqassistant.plugin.c4.data.Boundary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jqassistant-c4-plugin Show documentation
Show all versions of jqassistant-c4-plugin Show documentation
PlantUML C4 Plugin for jQAssistant.
The newest version!
package org.jqassistant.plugin.c4.data;
import lombok.experimental.SuperBuilder;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* Representation of a C4 boundary.
*
* @author Stephan Pirnbaum
*/
@SuperBuilder
public class Boundary extends AbstractElement {
private final String type;
@Override
public String buildStringRepresentation() {
return String.format("%s{%s%s}", buildLabelString(), buildAliasString(), buildNameString());
}
@Override
Set getAdditionalStereotypes() {
Set labels = new LinkedHashSet<>();
labels.add("Boundary");
if (type != null) {
labels.add(type);
}
return labels;
}
}