Class ValidatorClassNameMatcher.Builder
java.lang.Object
com.streamwide.smartms.lib.template.serialization.ValidatorClassNameMatcher.Builder
- Enclosing class:
- ValidatorClassNameMatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccept class names where the supplied ClassNameMatcher matches for deserialization, unless they are otherwise rejected.Accept the specified classes for deserialization, unless they are otherwise rejected.Accept the wildcard specified classes for deserialization, unless they are otherwise rejected.Accept class names that match the supplied pattern for deserialization, unless they are otherwise rejected.build()Reject class names where the supplied ClassNameMatcher matches for deserialization, even if they are otherwise accepted.Reject the specified classes for deserialization, even if they are otherwise accepted.Reject the wildcard specified classes for deserialization, even if they are otherwise accepted.Reject class names that match the supplied pattern for deserialization, even if they are otherwise accepted.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accept
Accept the specified classes for deserialization, unless they are otherwise rejected.- Parameters:
classes- Classes to accept- Returns:
- this object
-
reject
Reject the specified classes for deserialization, even if they are otherwise accepted.- Parameters:
classes- Classes to reject- Returns:
- this object
-
accept
Accept the wildcard specified classes for deserialization, unless they are otherwise rejected.- Parameters:
patterns- Wildcard file name patterns as defined byFilenameUtils.wildcardMatch- Returns:
- this object
-
reject
Reject the wildcard specified classes for deserialization, even if they are otherwise accepted.- Parameters:
patterns- Wildcard file name patterns as defined byFilenameUtils.wildcardMatch- Returns:
- this object
-
accept
Accept class names that match the supplied pattern for deserialization, unless they are otherwise rejected.- Parameters:
pattern- standard Java regexp- Returns:
- this object
-
reject
Reject class names that match the supplied pattern for deserialization, even if they are otherwise accepted.- Parameters:
pattern- standard Java regexp- Returns:
- this object
-
accept
Accept class names where the supplied ClassNameMatcher matches for deserialization, unless they are otherwise rejected.- Parameters:
m- the matcher to use- Returns:
- this object
-
reject
Reject class names where the supplied ClassNameMatcher matches for deserialization, even if they are otherwise accepted.- Parameters:
m- the matcher to use- Returns:
- this object
-
build
-