Interface SpaceSelector<T>


public interface SpaceSelector<T>
Interface for selecting the space using optional project id and space id. The selection is finished by using space(String) method and the selector object cannot be used anymore after that.
Since:
3.9.0
  • Method Details

    • project

      @NotNull SpaceSelector<T> project(@Nullable String projectId)
      Optionally specify a project, must be used before space(String)
      Throws:
      IllegalStateException - after the selection was finished
    • space

      @NotNull T space(@Nullable String spaceId)
      Finishes selecting the space.
      Parameters:
      spaceId - - The space id. When null, then the _default space is assumed
      Throws:
      IllegalStateException - after the selection was finished
    • reference

      @NotNull T reference(@NotNull SpaceReference reference)
      Finishes selecting the space, all other values are ignored
      Since:
      3.9.1