@Test public void testCheckPresenceOfRequiredParams_Empty() throws Exception { l4Cl.checkPresenceOfRequiredParams(new HashMap<String, ParameterValue>()); }
@Override protected void checkPresenceOfRequiredParams(Map<String, ParameterValue> params) { validatePortParam(params, L4ClassifierDefinition.SRC_PORT_PARAM, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validatePortParam(params, L4ClassifierDefinition.DST_PORT_PARAM, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); }
L4Classifier extends Classifier { @Override protected void checkPresenceOfRequiredParams(Map<String, ParameterValue> params) { validatePortParam(params, L4ClassifierDefinition.SRC_PORT_PARAM, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validatePortParam(params, L4ClassifierDefinition.DST_PORT_PARAM, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); } }
L4Classifier extends Classifier { @Override protected void checkPresenceOfRequiredParams(Map<String, ParameterValue> params) { validatePortParam(params, L4ClassifierDefinition.SRC_PORT_PARAM, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validatePortParam(params, L4ClassifierDefinition.DST_PORT_PARAM, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); } L4Classifier(Classifier parent); }
L4Classifier extends Classifier { @Override protected void checkPresenceOfRequiredParams(Map<String, ParameterValue> params) { validatePortParam(params, L4ClassifierDefinition.SRC_PORT_PARAM, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validatePortParam(params, L4ClassifierDefinition.DST_PORT_PARAM, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); } L4Classifier(Classifier parent); @Override ClassifierDefinitionId getId(); @Override ClassifierDefinition getClassifierDefinition(); @Override List<SupportedParameterValues> getSupportedParameterValues(); }
L4Classifier extends Classifier { @Override protected void checkPresenceOfRequiredParams(Map<String, ParameterValue> params) { validatePortParam(params, L4ClassifierDefinition.SRC_PORT_PARAM, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validatePortParam(params, L4ClassifierDefinition.DST_PORT_PARAM, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.SRC_PORT_RANGE_PARAM); validateRange(params, L4ClassifierDefinition.DST_PORT_RANGE_PARAM); } L4Classifier(Classifier parent); @Override ClassifierDefinitionId getId(); @Override ClassifierDefinition getClassifierDefinition(); @Override List<SupportedParameterValues> getSupportedParameterValues();  }