Class DefaultVcsRootIdentifiersValidator
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.projects.DefaultVcsRootIdentifiersValidator
-
- All Implemented Interfaces:
IdentifiersValidatorExtension<Long>,IdentifierValidator<Long>,VcsRootIdentifiersValidatorExtension,ServerExtension,TeamCityExtension
public class DefaultVcsRootIdentifiersValidator extends Object implements VcsRootIdentifiersValidatorExtension
Created 22.05.13 17:01- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description DefaultVcsRootIdentifiersValidator(ProjectManagerEx projectManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisExternalIdUsed(String id)voidvalidateExternalId(String externalId, EntityId<Long> curObjId)
-
-
-
Constructor Detail
-
DefaultVcsRootIdentifiersValidator
public DefaultVcsRootIdentifiersValidator(@NotNull ProjectManagerEx projectManager)
-
-
Method Detail
-
validateExternalId
public void validateExternalId(@NotNull String externalId, @Nullable EntityId<Long> curObjId) throws DuplicateExternalIdException- Specified by:
validateExternalIdin interfaceIdentifierValidator<Long>- Throws:
DuplicateExternalIdException
-
isExternalIdUsed
public boolean isExternalIdUsed(@NotNull String id)- Specified by:
isExternalIdUsedin interfaceIdentifierValidator<Long>
-
-