Interface TransactionOptionsUtils
public interface TransactionOptionsUtils
Some utilities for
TransactionOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Enum<T> & TransactionOptions<?>>
List<T>Splits a string containing comma-separatedtransaction option enum names
into a list ofTransactionOptions
.
-
Method Details
-
split
static <T extends Enum<T> & TransactionOptions<?>> List<T> split(String optionString, Class<T> clazz) Splits a string containing comma-separatedtransaction option enum names
into a list ofTransactionOptions
.- Type Parameters:
T
- TransactionOptions type- Parameters:
optionString
- option string, comma-separatedclazz
- TransactionOptions enum- Returns:
- list of TransactionOptions
-