Package com.enonic.xp.repository

## Class RepositoryIds

- java.lang.Object
- - com.enonic.xp.support.AbstractImmutableEntitySet<RepositoryId>
  - - com.enonic.xp.repository.RepositoryIds

- All Implemented Interfaces:
    `Iterable<RepositoryId>`

      @PublicApi
      public final class RepositoryIds
      extends AbstractImmutableEntitySet<RepositoryId>
      implements Iterable<RepositoryId>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `RepositoryIds.Builder` |

  - ### Field Summary

    - ### Fields inherited from class com.enonic.xp.support.AbstractImmutableEntitySet

      `set`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Set<String>` | `asStrings()` | Deprecated.
    `static RepositoryIds.Builder` | `create()` |
    `static RepositoryIds` | `empty()` |
    `static RepositoryIds` | `from​(RepositoryId... ids)` |
    `static RepositoryIds` | `from​(Iterable<RepositoryId> ids)` |
    `static RepositoryIds` | `from​(String... ids)` |
    `static RepositoryIds` | `from​(Collection<String> ids)` |

    - ### Methods inherited from class com.enonic.xp.support.AbstractImmutableEntitySet

      `contains, equals, first, getSet, getSize, hashCode, isEmpty, isNotEmpty, iterator, stream, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, iterator, spliterator`

- - ### Method Detail

    - #### empty

          public static RepositoryIds empty()

    - #### from

          public static RepositoryIds from​(RepositoryId... ids)

    - #### from

          public static RepositoryIds from​(String... ids)

    - #### from

          public static RepositoryIds from​(Collection<String> ids)

    - #### from

          public static RepositoryIds from​(Iterable<RepositoryId> ids)

    - #### asStrings

          @Deprecated
          public Set<String> asStrings()

      Deprecated.

    - #### create

          public static RepositoryIds.Builder create()