mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
slot的printStep能返回出来
This commit is contained in:
@@ -112,7 +112,7 @@ public abstract class AbsSlot implements Slot {
|
||||
this.executeSteps.add(step);
|
||||
}
|
||||
|
||||
public void printStep(){
|
||||
public String printStep(){
|
||||
StringBuffer str = new StringBuffer();
|
||||
CmpStep cmpStep = null;
|
||||
for (Iterator<CmpStep> it = executeSteps.iterator(); it.hasNext();) {
|
||||
@@ -123,6 +123,7 @@ public abstract class AbsSlot implements Slot {
|
||||
}
|
||||
}
|
||||
LOG.info("[{}]:CHAIN_NAME[{}]\n{}",getRequestId(),this.getChainName(),str.toString());
|
||||
return str.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -42,7 +42,7 @@ public interface Slot {
|
||||
|
||||
public void addStep(CmpStep step);
|
||||
|
||||
public void printStep();
|
||||
public String printStep();
|
||||
|
||||
public void generateRequestId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user