Class ScenarioSimulationSharedUtils
- java.lang.Object
-
- org.drools.scenariosimulation.api.utils.ScenarioSimulationSharedUtils
-
public class ScenarioSimulationSharedUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFILE_EXTENSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisCollection(java.lang.String className)Returns true if given string equals to canonical name of Collection or isListstatic booleanisCollectionOrMap(java.lang.String className)Returns true if given string isCollection or isMapstatic booleanisEnumCanonicalName(java.lang.String className)Returns true if given string equals to canonical name ofjava.lang.Enumstatic booleanisList(java.lang.String className)Returns true if given string equals to canonical name of List, ArrayList or LinkedListstatic booleanisMap(java.lang.String className)Returns true if given string equals to canonical name of Map or HashMap
-
-
-
Field Detail
-
FILE_EXTENSION
public static final java.lang.String FILE_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
isCollectionOrMap
public static boolean isCollectionOrMap(java.lang.String className)
Returns true if given string isCollection or isMap- Parameters:
className-- Returns:
-
isCollection
public static boolean isCollection(java.lang.String className)
Returns true if given string equals to canonical name of Collection or isList- Parameters:
className-- Returns:
-
isList
public static boolean isList(java.lang.String className)
Returns true if given string equals to canonical name of List, ArrayList or LinkedList- Parameters:
className-- Returns:
-
isMap
public static boolean isMap(java.lang.String className)
Returns true if given string equals to canonical name of Map or HashMap- Parameters:
className-- Returns:
-
isEnumCanonicalName
public static boolean isEnumCanonicalName(java.lang.String className)
Returns true if given string equals to canonical name ofjava.lang.Enum- Parameters:
className-- Returns:
-
-