Package com.enonic.xp.node

## Class NodePublishReasonIsChild

- java.lang.Object
- - com.enonic.xp.node.NodePublishReasonIsChild

- All Implemented Interfaces:
    `NodePublishReason`

      @PublicApi
      public class NodePublishReasonIsChild
      extends Object
      implements NodePublishReason

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NodePublishReasonIsChild​(NodeId nodeId)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `NodeId` | `getContextualNodeId()` |
    `String` | `getMessage()` |

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

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

- - ### Constructor Detail

    - #### NodePublishReasonIsChild

          public NodePublishReasonIsChild​(NodeId nodeId)

  - ### Method Detail

    - #### getContextualNodeId

          public NodeId getContextualNodeId()

      Specified by:
        `getContextualNodeId` in interface `NodePublishReason`

    - #### getMessage

          public String getMessage()

      Specified by:
        `getMessage` in interface `NodePublishReason`