OutProducerFactory.java (ef39d40d) | OutProducerFactory.java (e6b649b5) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 24 unchanged lines hidden (view full) --- 33 34 /** 35 * Create an out producer. The type that is created depends on the 36 * parameters given. These are: 37 * <ul> 38 * <li>DataBaseOut - If set to true, a database outproducer is created. 39 * <li>OutProducer - The value of this parameter names the class that is created. 40 * </ul> | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 24 unchanged lines hidden (view full) --- 33 34 /** 35 * Create an out producer. The type that is created depends on the 36 * parameters given. These are: 37 * <ul> 38 * <li>DataBaseOut - If set to true, a database outproducer is created. 39 * <li>OutProducer - The value of this parameter names the class that is created. 40 * </ul> |
41 * @param Parameters of the test. | 41 * @param param Parameters of the test. |
42 * @return The created out producer. 43 */ 44 public static LogWriter createOutProducer(Hashtable param) { 45 LogWriter dbOut = null; 46 boolean getDatabase = convertToBool(param.get("DataBaseOut")); 47 if (getDatabase) { 48 dbOut = createDataBaseOutProducer(param); 49 } --- 84 unchanged lines hidden --- | 42 * @return The created out producer. 43 */ 44 public static LogWriter createOutProducer(Hashtable param) { 45 LogWriter dbOut = null; 46 boolean getDatabase = convertToBool(param.get("DataBaseOut")); 47 if (getDatabase) { 48 dbOut = createDataBaseOutProducer(param); 49 } --- 84 unchanged lines hidden --- |