public final class ComponentChecker
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Set<AlgorithmInstanceReference> |
getAllAlgorithmInstanceRefs(MaskingComponent component)
Return as list of all AlgorithmInstanceReference objects referenced by fields in the MaskingComponent object.
|
static java.util.Set<FileReference> |
getAllFileRefs(MaskingComponent component)
Return as list of all FileReference objects stored in fields of the MaskingComponent object.
|
static java.util.Set<KeyReference> |
getAllKeyRefs(MaskingComponent component)
Return as list of all KeyReference objects stored in fields of the MaskingComponent object.
|
static MaskingAlgorithm.MaskingType |
getMaskingType(MaskingComponent obj)
Determines the data type supported by the MaskingAlgorithm interface, and validates that the correct, matching
ValueMetadata type parameter was chosen.
|
public static MaskingAlgorithm.MaskingType getMaskingType(MaskingComponent obj)
obj
- The object to be evaluatedjava.lang.IllegalArgumentException
- When the object implements an invalid MaskingAlgorithm typepublic static java.util.Set<AlgorithmInstanceReference> getAllAlgorithmInstanceRefs(MaskingComponent component)
component
- The component to be checked for algorithm instance referencespublic static java.util.Set<FileReference> getAllFileRefs(MaskingComponent component)
component
- The component to be checked for file referencespublic static java.util.Set<KeyReference> getAllKeyRefs(MaskingComponent component)
component
- The component to be checked for key references