#NEWLINE# def _nodestate_from_applications( self , applications ) : #NEWLINE# #INDENT# '\n        Construct a ``NodeState`` representing the state of this node given a\n        particular set of applications.\n\n        :param list applications: ``Application`` instances representing the\n            applications on this node.\n\n        :return: A ``NodeLocalState`` with shared_state_changes() that\n            are composed of a single ``NodeState`` representing the application\n            state only of this node.\n        ' #NEWLINE# return NodeLocalState ( node_state = NodeState ( uuid = self . node_uuid , hostname = self . hostname , applications = applications , manifestations = None , paths = None ) )