Class IntegrationNode
java.lang.Object
org.springframework.integration.graph.IntegrationNode
- Direct Known Subclasses:
EndpointNode
,MessageChannelNode
Base class for all nodes.
- Since:
- 4.3
- Author:
- Gary Russell, Artem Bilan
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
IntegrationNode
(int nodeId, String name, Object nodeObject) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperties
(@Nullable Map<String, Object> props) Add extra property to the node.void
addProperty
(String name, Object value) Add extra property to the node.final String
@Nullable IntegrationPatternType
getName()
int
boolean
Return true if this component is instrumented with an observation.
-
Constructor Details
-
IntegrationNode
-
-
Method Details
-
getNodeId
public int getNodeId() -
getName
-
getComponentType
-
getIntegrationPatternType
-
getIntegrationPatternCategory
-
getProperties
-
addProperty
Add extra property to the node.- Parameters:
name
- the name for propertyvalue
- the value of the property- Since:
- 5.1
-
addProperties
Add extra property to the node.- Parameters:
props
- additional properties to add- Since:
- 5.1
-
isObserved
public boolean isObserved()Return true if this component is instrumented with an observation.- Returns:
- true if this component is instrumented with an observation.
- Since:
- 6.0.1
-