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

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

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

origin: structurizr/java

/**
 * Creates a component view, where the scope of the view is the specified container.
 *
 * @param container         the Container object representing the scope of the view
 * @param key               the key for the view (must be unique)
 * @param description       a description of the view
 * @return                  a ContainerView object
 * @throws                  IllegalArgumentException if the container is null or the key is not unique
 */
public ComponentView createComponentView(Container container, String key, String description) {
  assertThatTheContainerIsNotNull(container);
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  ComponentView view = new ComponentView(container, key, description);
  view.setViewSet(this);
  componentViews.add(view);
  return view;
}
origin: structurizr/java

/**
 * Creates a dynamic view, where the scope is the specified container. The following
 * elements can be added to the resulting view:
 *
 * <ul>
 * <li>People</li>
 * <li>Software systems</li>
 * <li>Containers with the same parent software system as the specified container</li>
 * <li>Components within the specified container</li>
 * </ul>
 *
 * @param container         the Container object representing the scope of the view
 * @param key               the key for the view (must be unique)
 * @param description       a description of the view
 * @return                  a DynamicView object
 * @throws                  IllegalArgumentException if the container is null or the key is not unique
 */
public DynamicView createDynamicView(Container container, String key, String description) {
  assertThatTheContainerIsNotNull(container);
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  DynamicView view = new DynamicView(container, key, description);
  view.setViewSet(this);
  dynamicViews.add(view);
  return view;
}
com.structurizr.viewViewSetassertThatTheContainerIsNotNull

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.
  • getContainerViews
    Gets the set of container 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.
  • createContainerView,
  • createDeploymentView,
  • getDeploymentViews,
  • copyLayoutInformationFrom,
  • createFilteredView,
  • assertThatTheSoftwareSystemIsNotNull,
  • assertThatTheViewIsNotNull,
  • assertThatTheViewKeyIsSpecifiedAndUnique,
  • findView

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JFrame (javax.swing)
  • Github Copilot alternatives
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