public class FactorHelper extends Object
| Constructor and Description |
|---|
FactorHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
generatePreScript(Collection<Factor> factors) |
protected static void |
generatePreScript(org.apache.commons.beanutils.ConvertUtilsBean beanUtils,
StringBuffer buffer,
AtomicInteger counter,
Collection<Factor> factors)
Generate prescript for a factor list that can be called recursively to
manage factor group.
|
static String |
generatePreScript(Scenario scenario)
Generate prescript to set factor values before simulation start.
|
public static String generatePreScript(Scenario scenario)
scenario - to generate prescriptpublic static String generatePreScript(Collection<Factor> factors)
protected static void generatePreScript(org.apache.commons.beanutils.ConvertUtilsBean beanUtils,
StringBuffer buffer,
AtomicInteger counter,
Collection<Factor> factors)
beanUtils - beanUtils converterbuffer - buffer to fillcounter - call counter used to avoid variables name collisionfactors - factor list to manageCopyright © 1999–2015 CodeLutin. All rights reserved.