Package com.enonic.xp.branch

## Class Branch

- java.lang.Object
- - com.enonic.xp.branch.Branch

- All Implemented Interfaces:
    `Serializable`

      @PublicApi
      public final class Branch
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Nested Class Summary

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

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Branch.Builder` | `create()` |
    `boolean` | `equals​(Object o)` |
    `static Branch` | `from​(String name)` |
    `String` | `getValue()` |
    `int` | `hashCode()` |
    `String` | `toString()` |

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

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

- - ### Method Detail

    - #### from

          public static Branch from​(String name)

    - #### getValue

          public String getValue()

    - #### create

          public static Branch.Builder create()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`