Package com.enonic.xp.macro

## Class MacroDescriptors

- java.lang.Object
- - com.enonic.xp.support.AbstractImmutableEntitySet<MacroDescriptor>
  - - com.enonic.xp.macro.MacroDescriptors

- All Implemented Interfaces:
    `Iterable<MacroDescriptor>`

      @PublicApi
      public final class MacroDescriptors
      extends AbstractImmutableEntitySet<MacroDescriptor>

- - ### Field Summary

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

      `set`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MacroDescriptors` | `empty()` |
    `static MacroDescriptors` | `from​(MacroDescriptor... macroDescriptors)` |
    `static MacroDescriptors` | `from​(Iterable<MacroDescriptor>... macroDescriptors)` |
    `static MacroDescriptors` | `from​(Collection<MacroDescriptor> macroDescriptors)` |

    - ### 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, spliterator`

- - ### Method Detail

    - #### from

          public static MacroDescriptors from​(MacroDescriptor... macroDescriptors)

    - #### from

          public static MacroDescriptors from​(Collection<MacroDescriptor> macroDescriptors)

    - #### from

          public static MacroDescriptors from​(Iterable<MacroDescriptor>... macroDescriptors)

    - #### empty

          public static MacroDescriptors empty()