Package com.enonic.xp.site

## Class SiteConfigs

- java.lang.Object
- - com.enonic.xp.support.AbstractImmutableEntityList<SiteConfig>
  - - com.enonic.xp.site.SiteConfigs

- All Implemented Interfaces:
    `Iterable<SiteConfig>`

      @PublicApi
      public final class SiteConfigs
      extends AbstractImmutableEntityList<SiteConfig>

- - ### Nested Class Summary

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

  - ### Field Summary

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

      `list`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static SiteConfigs.Builder` | `create()` |
    `static SiteConfigs` | `empty()` |
    `static SiteConfigs` | `from​(SiteConfig... siteConfigs)` |
    `static SiteConfigs` | `from​(Iterable<? extends SiteConfig> siteConfigs)` |
    `static SiteConfigs` | `from​(Collection<? extends SiteConfig> siteConfigs)` |
    `SiteConfig` | `get​(ApplicationKey applicationKey)` |
    `SiteConfig` | `get​(String applicationKey)` | Deprecated.
    `ImmutableSet<ApplicationKey>` | `getApplicationKeys()` | Deprecated.

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

      `contains, equals, first, get, getList, getSize, hashCode, isEmpty, isNotEmpty, iterator, last, 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, spliterator`

- - ### Method Detail

    - #### get

          public SiteConfig get​(ApplicationKey applicationKey)

    - #### get

          @Deprecated
          public SiteConfig get​(String applicationKey)

      Deprecated.

    - #### getApplicationKeys

          @Deprecated
          public ImmutableSet<ApplicationKey> getApplicationKeys()

      Deprecated.

    - #### empty

          public static SiteConfigs empty()

    - #### from

          public static SiteConfigs from​(SiteConfig... siteConfigs)

    - #### from

          public static SiteConfigs from​(Iterable<? extends SiteConfig> siteConfigs)

    - #### from

          public static SiteConfigs from​(Collection<? extends SiteConfig> siteConfigs)

    - #### create

          public static SiteConfigs.Builder create()