1 package okw.log.log2html;
5 private String type =
"Sequence";
7 LogSequence(
LogBase Parent, String fpsWindowFN, String fpsSequenName, String... fpsParameter)
15 StringBuilder StrBuilder =
new StringBuilder();
17 StrBuilder.append(
"[" + fpsWindowFN +
"]-'" + fpsSequenName +
"': ");
19 if ( fpsParameter.length == 2 )
21 StrBuilder.append(
"'" + fpsParameter[0] +
"' = '" + fpsParameter[1] +
"'" );
25 Boolean GreaterOne =
false;
26 for ( String sParameter : fpsParameter )
30 StrBuilder.append(
", " );
36 StrBuilder.append(
"'" + sParameter +
"'" );
40 this.Info = StrBuilder.toString();
45 protected void ErrorCount()
53 if ( myParent !=
null)
55 myParent.ErrorCount();
61 protected void ExceptionCount()
67 this.bException =
true;
69 if ( myParent !=
null)
71 myParent.ExceptionCount();
76 protected void SequenceFail()
78 if ( ! (this.bError || this.bException ) )
79 myParent.SequenceFail();
85 protected String getJSONNodeProperties()
87 StringBuilder myJSON =
new StringBuilder();
89 myJSON.append( this.jsonElementComma(
"type", this.type ) );
90 myJSON.append( this.jsonElementComma(
"info", this.Info ) );
92 return myJSON.toString();