
okw.log.log2html.LogRemoteACCall Maven / Gradle / Ivy
package okw.log.log2html;
public class LogRemoteACCall extends LogBaseNode
{
private String sourceExcerpt = "";
private String type = "";
LogRemoteACCall(LogBase Parent, String sourceExcerpt, String type)
{
setParent(Parent);
myID = AllCount;
this.sourceExcerpt = sourceExcerpt;
this.type = type;
// inkrementieren AcceptanceCriteriaCount
this.RemoteACCallCount();
}
@Override
protected void ErrorCount()
{
ErrorCount++;
this.RemoteACCallFail();
this.bError = true;
if ( myParent != null)
{
myParent.ErrorCount();
}
}
@Override
protected void ExceptionCount()
{
ExceptionCount++;
this.RemoteACCallFail();
this.bException = true;
if ( myParent != null)
{
myParent.ExceptionCount();
}
}
@Override
protected void RemoteACCallFail()
{
if ( ! (this.bError || this.bException ) )
myParent.RemoteACCallFail();
}
@Override
protected String getJSONNodeProperties()
{
StringBuilder myJSON = new StringBuilder();
myJSON.append( this.jsonElementComma( "sourceExcerpt", this.sourceExcerpt ) );
myJSON.append( this.jsonElementComma( "type", this.type ) );
return myJSON.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy