mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-12-13 00:09:34 +00:00
Merge remote-tracking branch 'upstream/thinker_syntax' into thinker
This commit is contained in:
commit
6791136a40
@ -23,10 +23,6 @@ public class TreeLogger implements Serializable {
|
|||||||
this.currentNodeName = currentNodeName;
|
this.currentNodeName = currentNodeName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCurrentNodeName(String currentNodeName) {
|
|
||||||
this.currentNodeName = currentNodeName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public TreeLogger log(Object msg) {
|
public TreeLogger log(Object msg) {
|
||||||
if (this.currentNodeMsg == null) {
|
if (this.currentNodeMsg == null) {
|
||||||
this.currentNodeMsg = new StringBuilder();
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user