Class: Servitor::ServiceGraphNode

Inherits:
Object
  • Object
show all
Defined in:
lib/service/service_graph/service_graph_node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service_definition) ⇒ ServiceGraphNode

Returns a new instance of ServiceGraphNode.



7
8
9
10
11
# File 'lib/service/service_graph/service_graph_node.rb', line 7

def initialize(service_definition)
  @service_definition = service_definition
  @depends_on_nodes = []
  @depended_on_by_nodes = []
end

Instance Attribute Details

#depended_on_by_nodesObject (readonly)

Returns the value of attribute depended_on_by_nodes.



5
6
7
# File 'lib/service/service_graph/service_graph_node.rb', line 5

def depended_on_by_nodes
  @depended_on_by_nodes
end

#depends_on_nodesObject (readonly)

Returns the value of attribute depends_on_nodes.



5
6
7
# File 'lib/service/service_graph/service_graph_node.rb', line 5

def depends_on_nodes
  @depends_on_nodes
end

#service_definitionObject (readonly)

Returns the value of attribute service_definition.



5
6
7
# File 'lib/service/service_graph/service_graph_node.rb', line 5

def service_definition
  @service_definition
end