code: protected void setNode(Node node) {
          assert node!=null;
          if(node instanceof Slave)
              this.nodeName = node.getNodeName();
          else
              this.nodeName = null;
  
          setNumExecutors(node.getNumExecutors());
          if (this.temporarilyOffline) {
              // When we get a new node, push our current temp offline
              // status to it (as the status is not carried across
              // configuration changes that recreate the node).
              // Since this is also called the very first time this
              // Computer is created, avoid pushing an empty status
              // as that could overwrite any status that the Node
              // brought along from its persisted config data.
              node.setTemporaryOfflineCause(this.offlineCause);
          }
      }
docs: Called to notify {@link Computer} that its corresponding {@link Node}
  configuration is updated.