public class BDIErrorReportBuilder extends AbstractErrorReportBuilder
Constructor and Description |
---|
BDIErrorReportBuilder(String name,
String filename,
MultiCollection entries,
Map<String,String> externals,
jadex.rules.state.IOAVState state) |
Modifier and Type | Method and Description |
---|---|
String |
getObjectName(Object obj)
Get the name of an object.
|
Object |
getPathElementObject(Object element)
Get the object of a path element
|
boolean |
isInCategory(Object obj,
String category)
Test if an object belongs to a category.
|
buildErrorReport
public boolean isInCategory(Object obj, String category)
AbstractErrorReportBuilder
isInCategory
in class AbstractErrorReportBuilder
obj
- An item (entry) of a tuple in the multi collection.category
- the category name.public Object getPathElementObject(Object element)
AbstractErrorReportBuilder
getPathElementObject
in class AbstractErrorReportBuilder
public String getObjectName(Object obj)
AbstractErrorReportBuilder
getObjectName
in class AbstractErrorReportBuilder
obj
- An object having an error.Copyright © 2013. All Rights Reserved.