Package com.enonic.xp.node

## Class NodePublishReasonIsReferred

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

- All Implemented Interfaces:
    `NodePublishReason`

      @PublicApi
      public class NodePublishReasonIsReferred
      extends Object
      implements NodePublishReason

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NodePublishReasonIsReferred​(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

    - #### NodePublishReasonIsReferred

          public NodePublishReasonIsReferred​(NodeId nodeId)

  - ### Method Detail

    - #### getContextualNodeId

          public NodeId getContextualNodeId()

      Specified by:
        `getContextualNodeId` in interface `NodePublishReason`

    - #### getMessage

          public String getMessage()

      Specified by:
        `getMessage` in interface `NodePublishReason`