Class ResourceValidatorImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.validator.ResourceValidatorImpl
-
- All Implemented Interfaces:
ResourceValidator
@Component("resourceValidator") public class ResourceValidatorImpl extends Object implements ResourceValidator
EXPERIMENTAL TODO: - existence of dependent kind/intent/resource (in thorough scope) - checking references (thorough) - mapping: unknown channel / except-channel - empty mapping (?) - iteration tokens - invalid objectclass in synchronization - invalid focus type in synchronization - empty correlation, correlation condition? - empty confirmation condition? - empty synchronization condition?- Author:
- mederly
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLASS_DOT
-
Fields inherited from interface com.evolveum.midpoint.model.api.validator.ResourceValidator
C_COLLIDING_ASSOCIATION_NAME, C_DEPENDENT_OBJECT_TYPE_DOES_NOT_EXIST, C_DUPLICATE_REACTIONS, C_INVALID_MAPPING_SOURCE, C_INVALID_MAPPING_TARGET, C_MISSING_ASSOCIATION_ASSOCIATION_ATTRIBUTE, C_MISSING_ASSOCIATION_DIRECTION, C_MISSING_ASSOCIATION_TARGET_INTENT, C_MISSING_ASSOCIATION_TARGET_KIND, C_MISSING_ASSOCIATION_VALUE_ATTRIBUTE, C_MISSING_MAPPING_SOURCE, C_MISSING_MAPPING_TARGET, C_MISSING_OBJECT_CLASS, C_MULTIPLE_ITEMS, C_MULTIPLE_SCHEMA_HANDLING_DEFAULT_DEFINITIONS, C_MULTIPLE_SCHEMA_HANDLING_DEFINITIONS, C_MULTIPLE_SYNCHRONIZATION_DEFINITIONS, C_NO_ASSOCIATION_NAME, C_NO_ATTRIBUTE_REF, C_NO_CORRELATION_RULE, C_NO_DEFAULT_ACCOUNT_SCHEMA_HANDLING_DEFAULT_DEFINITION, C_NO_ITEM_NAMESPACE, C_NO_REACTION, C_NO_SCHEMA, C_NO_SCHEMA_HANDLING_DEFINITION, C_NO_SITUATION, C_NO_SYNCHRONIZATION_DEFINITION, C_SUPERFLUOUS_MAPPING_TARGET, C_SUSPICIOUS_MAPPING_SOURCE, C_SUSPICIOUS_MAPPING_TARGET, C_TARGET_OBJECT_TYPE_DOES_NOT_EXIST, C_UNKNOWN_ATTRIBUTE_NAME, C_UNKNOWN_OBJECT_CLASS, C_UNKNOWN_OBJECT_CLASS_IN_SYNCHRONIZATION, C_WRONG_ITEM_NAME, C_WRONG_MATCHING_RULE, CAT_BASIC, CAT_CAPABILITIES, CAT_CONFIGURATION, CAT_SCHEMA, CAT_SCHEMA_HANDLING, CAT_SYNCHRONIZATION
-
-
Constructor Summary
Constructors Constructor Description ResourceValidatorImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
prettyPrintUsingStandardPrefix(Collection<QName> names)
static String
prettyPrintUsingStandardPrefix(QName name)
@NotNull ValidationResult
validate(@NotNull PrismObject<ResourceType> resourceObject, @NotNull Scope scope, @Nullable Locale locale, @NotNull Task task, @NotNull OperationResult result)
-
-
-
Field Detail
-
CLASS_DOT
public static final String CLASS_DOT
-
-
Method Detail
-
validate
@NotNull public @NotNull ValidationResult validate(@NotNull @NotNull PrismObject<ResourceType> resourceObject, @NotNull @NotNull Scope scope, @Nullable @Nullable Locale locale, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result)
- Specified by:
validate
in interfaceResourceValidator
-
prettyPrintUsingStandardPrefix
public static String prettyPrintUsingStandardPrefix(Collection<QName> names)
-
-