@Test public void setParamsTest() { customVar.setValue("test").setParams(); assertEquals(1, buffer.getVolatileParams().size()); assertEquals("x1", buffer.getVolatileParams().get("x1").getKey()); assertEquals("test", buffer.getVolatileParams().get("x1").getValues().get(0).execute()); }
@Override void setParams() { varId = varId < 1 ? 1 : varId; tracker.setParam(customVarType.stringValue() + varId, value, new ParamOption().setEncode(true)); }
CustomVar extends ScreenInfo { @Override void setParams() { varId = varId < 1 ? 1 : varId; tracker.setParam(customVarType.stringValue() + varId, value, new ParamOption().setEncode(true)); } }
CustomVar extends ScreenInfo { @Override void setParams() { varId = varId < 1 ? 1 : varId; tracker.setParam(customVarType.stringValue() + varId, value, new ParamOption().setEncode(true)); } CustomVar(Tracker tracker); }
CustomVar extends ScreenInfo { @Override void setParams() { varId = varId < 1 ? 1 : varId; tracker.setParam(customVarType.stringValue() + varId, value, new ParamOption().setEncode(true)); } CustomVar(Tracker tracker); int getVarId(); String getValue(); CustomVarType getCustomVarType(); }
CustomVar extends ScreenInfo { @Override void setParams() { varId = varId < 1 ? 1 : varId; tracker.setParam(customVarType.stringValue() + varId, value, new ParamOption().setEncode(true)); } CustomVar(Tracker tracker); int getVarId(); String getValue(); CustomVarType getCustomVarType();  }