Package com.enonic.xp.region

## Class RegionDescriptors

- java.lang.Object
- - com.enonic.xp.region.RegionDescriptors

- All Implemented Interfaces:
    `Iterable<RegionDescriptor>`

      @PublicApi
      public final class RegionDescriptors
      extends Object
      implements Iterable<RegionDescriptor>

- - ### Nested Class Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RegionDescriptors​(ImmutableSet<RegionDescriptor> regionDescriptors)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static RegionDescriptors.Builder` | `create()` |
    `RegionDescriptor` | `getRegionDescriptor​(String name)` | Deprecated.
    `Iterator<RegionDescriptor>` | `iterator()` |
    `int` | `numberOfRegions()` |

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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

      `forEach, spliterator`

- - ### Constructor Detail

    - #### RegionDescriptors

          public RegionDescriptors​(ImmutableSet<RegionDescriptor> regionDescriptors)

  - ### Method Detail

    - #### getRegionDescriptor

          @Deprecated
          public RegionDescriptor getRegionDescriptor​(String name)

      Deprecated.

    - #### numberOfRegions

          public int numberOfRegions()

    - #### iterator

          public Iterator<RegionDescriptor> iterator()

      Specified by:
        `iterator` in interface `Iterable<RegionDescriptor>`

    - #### create

          public static RegionDescriptors.Builder create()