Merge remote-tracking branch 'upstream/thinker_syntax' into thinker

This commit is contained in:
FishJoy 2024-04-28 17:00:53 +08:00
commit 6791136a40

View File

@ -23,10 +23,6 @@ public class TreeLogger implements Serializable {
this.currentNodeName = currentNodeName;
}
public void setCurrentNodeName(String currentNodeName) {
this.currentNodeName = currentNodeName;
}
public TreeLogger log(Object msg) {
if (this.currentNodeMsg == null) {
this.currentNodeMsg = new StringBuilder();
@ -95,4 +91,58 @@ public class TreeLogger implements Serializable {
}
}
}
/**
* Setter method for property <tt>currentNodeName</tt>.
*
* @param currentNodeName value to be assigned to property currentNodeName
*/
public void setCurrentNodeName(String currentNodeName) {
this.currentNodeName = currentNodeName;
}
/**
* Getter method for property <tt>currentNodeName</tt>.
*
* @return property value of currentNodeName
*/
public String getCurrentNodeName() {
return currentNodeName;
}
/**
* Getter method for property <tt>currentNodeMsg</tt>.
*
* @return property value of currentNodeMsg
*/
public StringBuilder getCurrentNodeMsg() {
return currentNodeMsg;
}
/**
* Setter method for property <tt>currentNodeMsg</tt>.
*
* @param currentNodeMsg value to be assigned to property currentNodeMsg
*/
public void setCurrentNodeMsg(StringBuilder currentNodeMsg) {
this.currentNodeMsg = currentNodeMsg;
}
/**
* Getter method for property <tt>children</tt>.
*
* @return property value of children
*/
public List<TreeLogger> getChildren() {
return children;
}
/**
* Setter method for property <tt>children</tt>.
*
* @param children value to be assigned to property children
*/
public void setChildren(List<TreeLogger> children) {
this.children = children;
}
}