public abstract class NodeComponent extends Object
| Constructor and Description |
|---|
NodeComponent() |
public void beforeProcess()
public void afterProcess()
public boolean isAccess()
public boolean isContinueOnError()
public boolean isEnd()
public void setIsEnd(boolean isEnd)
public void setIsContinueOnError(boolean isContinueOnError)
public Integer getSlotIndex()
public Slot getSlot()
public <T> T getFirstContextBean()
public <T> T getContextBean(Class<T> contextBeanClazz)
public <T> T getContextBean(String contextName)
public String getNodeId()
public void setNodeId(String nodeId)
public NodeComponent getSelf()
public void setSelf(NodeComponent self)
public String getName()
public void setName(String name)
public NodeTypeEnum getType()
public void setType(NodeTypeEnum type)
public <T> void sendPrivateDeliveryData(String nodeId, T t)
public <T> T getPrivateDeliveryData()
public int getRetryCount()
public void setRetryCount(int retryCount)
public void setRetryForExceptions(Class<? extends Exception>[] retryForExceptions)
public Class<? extends NodeExecutor> getNodeExecutorClass()
public void setNodeExecutorClass(Class<? extends NodeExecutor> nodeExecutorClass)
public String getTag()
public MonitorBus getMonitorBus()
public void setMonitorBus(MonitorBus monitorBus)
public <T> T getRequestData()
public boolean isRollback()
public void setRollback(boolean rollback)
@Deprecated public String getChainName()
getChainId()public String getChainId()
public String getDisplayName()
public String getCurrChainId()
public Node getRefNode()
public void setRefNode(Node refNode)
public void removeRefNode()
public <T> T getCmpData(Class<T> clazz)
T - data的泛型clazz - 要转换的class类型public <T> T getContextValue(String expression)
public Integer getLoopIndex()
public Integer getPreLoopIndex()
public Integer getPreNLoopIndex(int n)
public <T> T getCurrLoopObj()
public <T> T getPreLoopObj()
public <T> T getPreNLoopObj(int n)
public void setStepData(Object stepData)
public <T> T getItemResultMetaValue(Integer slotIndex)
public long getCurrChainRuntimeId()
protected String getMetaValueKey()
public LiteflowResponse invoke2Resp(String chainId, Object requestData)
public LiteflowResponse invoke2Resp(String chainId, Object requestData, Slot slot)
Copyright © 2025. All rights reserved.