case 1:
return "DialogRunner str: '" + stringresp + "'";
case 2:
- return "DialogRunner obj: " + objresp.toString();
+ return "DialogRunner obj: " + String.valueOf(objresp);
}
return "Unconfigured response.";
}
+
+ /**
+ * null response - triggers the default response
+ * @return
+ */
+ public boolean isNull()
+ {
+ return (type==2 && objresp==null) || (type==1 && (stringresp==null || stringresp.equals("")));
+ }
}
\ No newline at end of file