Class IntegrationNode
java.lang.Object
org.springframework.integration.graph.IntegrationNode
- Direct Known Subclasses:
EndpointNode
,MessageChannelNode
public abstract class IntegrationNode
extends java.lang.Object
Base class for all nodes.
- Since:
- 4.3
-
Constructor Summary
Constructors Modifier Constructor Description protected
IntegrationNode(int nodeId, java.lang.String name, java.lang.Object nodeObject)
-
Method Summary
Modifier and Type Method Description void
addProperties(java.util.Map<java.lang.String,java.lang.Object> props)
Add extra property to the node.void
addProperty(java.lang.String name, java.lang.Object value)
Add extra property to the node.java.lang.String
getComponentType()
IntegrationPatternType.IntegrationPatternCategory
getIntegrationPatternCategory()
IntegrationPatternType
getIntegrationPatternType()
java.lang.String
getName()
int
getNodeId()
java.util.Map<java.lang.String,java.lang.Object>
getProperties()
-
Constructor Details
-
IntegrationNode
protected IntegrationNode(int nodeId, java.lang.String name, java.lang.Object nodeObject)
-
-
Method Details
-
getNodeId
public int getNodeId() -
getName
public java.lang.String getName() -
getComponentType
public final java.lang.String getComponentType() -
getIntegrationPatternType
-
getIntegrationPatternCategory
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties() -
addProperty
public void addProperty(java.lang.String name, java.lang.Object value)Add extra property to the node.- Parameters:
name
- the name for propertyvalue
- the value of the property- Since:
- 5.1
-
addProperties
public void addProperties(@Nullable java.util.Map<java.lang.String,java.lang.Object> props)Add extra property to the node.- Parameters:
props
- additional properties to add- Since:
- 5.1
-