Interface IdentifierValidator<T>
-
- All Known Subinterfaces:
BuildTypeIdentifiersValidatorExtension
,IdentifiersValidatorExtension<T>
,ProjectIdIdentifiersValidatorExtension
,VcsRootIdentifiersValidatorExtension
- All Known Implementing Classes:
DefaultBuildTypeIdentifiersValidator
,DefaultProjectIdIdentifiersValidator
,DefaultVcsRootIdentifiersValidator
public interface IdentifierValidator<T>
Checks whether specified external id is currently in use
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isExternalIdUsed(String id)
void
validateExternalId(String externalId, EntityId<T> currentObjectId)
-
-
-
Method Detail
-
validateExternalId
void validateExternalId(@NotNull String externalId, @Nullable EntityId<T> currentObjectId) throws DuplicateExternalIdException, InvalidIdentifierException
-
isExternalIdUsed
boolean isExternalIdUsed(@NotNull String id)
-
-