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

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

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

origin: structurizr/java

/**
 * Creates a system landscape view.
 *
 * @param key           the key for the view (must be unique)
 * @param description   a description of the view
 * @return              an SystemLandscapeView object
 * @throws              IllegalArgumentException if the key is not unique
 */
public SystemLandscapeView createSystemLandscapeView(String key, String description) {
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  SystemLandscapeView view = new SystemLandscapeView(model, key, description);
  view.setViewSet(this);
  systemLandscapeViews.add(view);
  return view;
}
origin: structurizr/java

/**
 * Creates a dynamic 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 key is not unique
 */
public DynamicView createDynamicView(String key, String description) {
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  DynamicView view = new DynamicView(model, key, description);
  view.setViewSet(this);
  dynamicViews.add(view);
  return view;
}
origin: structurizr/java

/**
 * Creates a deployment view.
 *
 * @param key           the key for the deployment view (must be unique)
 * @param description   a description of the  view
 * @return              a DeploymentView object
 * @throws              IllegalArgumentException if the key is not unique
 */
public DeploymentView createDeploymentView(String key, String description) {
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  DeploymentView view = new DeploymentView(model, key, description);
  view.setViewSet(this);
  deploymentViews.add(view);
  return view;
}
origin: structurizr/java

/**
 * Creates a FilteredView on top of an existing static view.
 *
 * @param view          the static view to base the FilteredView upon
 * @param key           the key for the filtered view (must be unique)
 * @param description   a description
 * @param mode          whether to Include or Exclude elements/relationships based upon their tag
 * @param tags          the tags to include or exclude
 * @return              a FilteredView object
 */
public FilteredView createFilteredView(StaticView view, String key, String description, FilterMode mode, String... tags) {
  assertThatTheViewIsNotNull(view);
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  FilteredView filteredView = new FilteredView(view, key, description, mode, tags);
  filteredViews.add(filteredView);
  return filteredView;
}
origin: structurizr/java

/**
 * Creates a system context view, where the scope of the view is the specified software system.
 *
 * @param softwareSystem    the SoftwareSystem 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 SystemContextView object
 * @throws                  IllegalArgumentException if the software system is null or the key is not unique
 */
public SystemContextView createSystemContextView(SoftwareSystem softwareSystem, String key, String description) {
  assertThatTheSoftwareSystemIsNotNull(softwareSystem);
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  SystemContextView view = new SystemContextView(softwareSystem, key, description);
  view.setViewSet(this);
  systemContextViews.add(view);
  return view;
}
origin: structurizr/java

/**
 * Creates a container view, where the scope of the view is the specified software system.
 *
 * @param softwareSystem    the SoftwareSystem 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 software system is null or the key is not unique
 */
public ContainerView createContainerView(SoftwareSystem softwareSystem, String key, String description) {
  assertThatTheSoftwareSystemIsNotNull(softwareSystem);
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  ContainerView view = new ContainerView(softwareSystem, key, description);
  view.setViewSet(this);
  containerViews.add(view);
  return view;
}
origin: structurizr/java

/**
 * Creates a deployment view, where the scope of the view is the specified software system.
 *
 * @param softwareSystem    the SoftwareSystem object representing the scope of the view
 * @param key               the key for the deployment view (must be unique)
 * @param description       a description of the view
 * @return                  a DeploymentView object
 * @throws                  IllegalArgumentException if the software system is null or the key is not unique
 */
public DeploymentView createDeploymentView(SoftwareSystem softwareSystem, String key, String description) {
  assertThatTheSoftwareSystemIsNotNull(softwareSystem);
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  DeploymentView view = new DeploymentView(softwareSystem, key, description);
  view.setViewSet(this);
  deploymentViews.add(view);
  return view;
}
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 software system. The following
 * elements can be added to the resulting view:
 *
 * <ul>
 * <li>People</li>
 * <li>Software systems</li>
 * <li>Containers that reside inside the specified software system</li>
 * </ul>
 *
 * @param softwareSystem    the SoftwareSystem 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 software system is null or the key is not unique
 */
public DynamicView createDynamicView(SoftwareSystem softwareSystem, String key, String description) {
  assertThatTheSoftwareSystemIsNotNull(softwareSystem);
  assertThatTheViewKeyIsSpecifiedAndUnique(key);
  DynamicView view = new DynamicView(softwareSystem, key, description);
  view.setViewSet(this);
  dynamicViews.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.viewViewSetassertThatTheViewKeyIsSpecifiedAndUnique

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,
  • assertThatTheContainerIsNotNull,
  • assertThatTheSoftwareSystemIsNotNull,
  • assertThatTheViewIsNotNull,
  • 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)
  • Top plugins for Android Studio
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