-
Nested Class Summary
Nested Classes
static enum
An enum representing the different rule serialization options.
-
Method Summary
Checks if the specified rules are serializable with this
RuleSerializer.
void
Specify the
List of
Rules to be serialized and associate them with an identifier.
-
Method Details
-
checkSerializability
Checks if the specified rules are serializable with this
RuleSerializer. Returned results are in the same
order as the specified rules.
- Parameters:
rules - the List of Rules to check.
- Returns:
- The resulting
List of SerializabilityResults.
-
setRulesToBeSerialized
Specify the
List of
Rules to be serialized and associate them with an identifier.
- Parameters:
id - the identifier of the Rule format generation.
rules - the List of Rules to serialize.
option - the option that determines how to serialize the Rules.
- Throws:
SerializationException - If one or more of the rules can't be serialized.