Interface ISpaceSelector<T>


public interface ISpaceSelector<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 ISpaceSelector<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