congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ViewSet.getContainerViews
Code IndexAdd Tabnine to your IDE (free)

How to use
getContainerViews
method
in
com.structurizr.view.ViewSet

Best Java code snippets using com.structurizr.view.ViewSet.getContainerViews (Showing top 5 results out of 315)

origin: structurizr/java

/**
 * Writes the views in the given workspace as DOT notation, to the specified Writer.
 *
 * @param workspace     the workspace containing the views to be written
 * @param writer        the Writer to write to
 */
public void write(Workspace workspace, Writer writer) {
  workspace.getViews().getSystemContextViews().forEach(v -> write(v, null, writer));
  workspace.getViews().getContainerViews().forEach(v -> write(v, v.getSoftwareSystem(), writer));
  workspace.getViews().getComponentViews().forEach(v -> write(v, v.getContainer(), writer));
}
origin: structurizr/java

/**
 * Writes the views in the given workspace as PlantUML definitions, to the specified writer.
 *
 * @param workspace     the workspace containing the views to be written
 * @param writer        the Writer to write to
 */
public void write(Workspace workspace, Writer writer) {
  if (workspace == null) {
    throw new IllegalArgumentException("A workspace must be provided.");
  }
  if (writer == null) {
    throw new IllegalArgumentException("A writer must be provided.");
  }
  workspace.getViews().getSystemLandscapeViews().forEach(v -> write(v, writer));
  workspace.getViews().getSystemContextViews().forEach(v -> write(v, writer));
  workspace.getViews().getContainerViews().forEach(v -> write(v, writer));
  workspace.getViews().getComponentViews().forEach(v -> write(v, writer));
  workspace.getViews().getDynamicViews().forEach(v -> write(v, writer));
  workspace.getViews().getDeploymentViews().forEach(v -> write(v, writer));
}
origin: structurizr/java

@Test
public void test_writeContainerView() throws Exception {
  populateWorkspace();
  ContainerView containerView = workspace.getViews().getContainerViews()
    .stream().findFirst().get();
  plantUMLWriter.write(containerView, stringWriter);
  assertEquals(CONTAINER_VIEW, stringWriter.toString());
}
origin: structurizr/java

    .filter(v -> v.getKey() == null)
    .forEach(v -> warnings.add("System Context view \"" + v.getName() + "\": Missing key"));
getViews().getContainerViews().stream()
    .filter(v -> v.getKey() == null)
    .forEach(v -> warnings.add("Container view \"" + v.getName() + "\": Missing key"));
origin: structurizr/java

ContainerView sourceView = findView(source.getContainerViews(), view);
if (sourceView != null) {
  view.copyLayoutInformationFrom(sourceView);
com.structurizr.viewViewSetgetContainerViews

Javadoc

Gets the set of container views.

Popular methods of ViewSet

  • getConfiguration
    Gets the configuration object associated with this set of views.
  • getSystemContextViews
    Gets the set of system context views.
  • getSystemLandscapeViews
    Gets the set of system landscape views.
  • createComponentView
    Creates a component view, where the scope of the view is the specified container.
  • createDynamicView
    Creates a dynamic view.
  • createSystemContextView
    Creates a system context view, where the scope of the view is the specified software system.
  • createSystemLandscapeView
    Creates a system landscape view.
  • getComponentViews
    Gets the set of component views.
  • getDynamicViews
    Gets the set of dynamic views.
  • createContainerView
    Creates a container view, where the scope of the view is the specified software system.
  • createDeploymentView
    Creates a deployment view.
  • getDeploymentViews
    Gets the set of dynamic views.
  • createDeploymentView,
  • getDeploymentViews,
  • copyLayoutInformationFrom,
  • createFilteredView,
  • assertThatTheContainerIsNotNull,
  • assertThatTheSoftwareSystemIsNotNull,
  • assertThatTheViewIsNotNull,
  • assertThatTheViewKeyIsSpecifiedAndUnique,
  • findView

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now