public final void internalSetNodeState (@Nonnull final EHCNodeState eNodeState)
  {
    if (DEBUG_NODE_STATE)
    {
      ValueEnforcer.notNull (eNodeState, "NodeState");
      if (m_eNodeState.isAfter (eNodeState))
        HCConsistencyChecker.consistencyError ("The new node state is invalid. Got " +
                                               eNodeState +
                                               " but having " +
                                               m_eNodeState);
    }
    m_eNodeState = eNodeState;
  }
public final void internalSetNodeState ( @ Nonnull final EHCNodeState eNodeState ) { if ( DEBUG_NODE_STATE ) { ValueEnforcer . notNull ( eNodeState , "NodeState" ) ; if ( m_eNodeState . isAfter ( eNodeState ) ) HCConsistencyChecker . consistencyError ( "The new node state is invalid. Got " + eNodeState + " but having " + m_eNodeState ) ; } m_eNodeState = eNodeState ; }
Change the node state internally. Handle with care!

@param eNodeState
The new node state. May not be <code>null</code>.