Package com.enonic.xp.macro

## Class MacroKey

- java.lang.Object
- - com.enonic.xp.macro.MacroKey

-     @PublicApi
      public final class MacroKey
      extends Object

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `static MacroKey` | `from​(ApplicationKey applicationKey, String macroName)` |
    `static MacroKey` | `from​(String key)` |
    `ApplicationKey` | `getApplicationKey()` |
    `String` | `getName()` |
    `int` | `hashCode()` |
    `String` | `toString()` |

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

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

- - ### Method Detail

    - #### getApplicationKey

          public ApplicationKey getApplicationKey()

    - #### getName

          public String getName()

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### from

          public static MacroKey from​(String key)

    - #### from

          public static MacroKey from​(ApplicationKey applicationKey,
                                      String macroName)