in server/src/jetbrains/buildServer/serverSide/priority/PriorityClassImpl.java [25:40]
public PriorityClassImpl(@NotNull ProjectManager projectManager,
@NotNull String id,
@NotNull String name,
@NotNull String description,
int priority,
@NotNull Collection<String> externalIds) throws InvalidPriorityClassNameException, InvalidPriorityClassDescriptionException {
checkNameIsCorrect(name);
checkDescriptionIsCorrect(description);
checkPriorityIsCorrect(priority);
myProjectManager = projectManager;
myId = id;
myName = name;
myDescription = description;
myPriority = priority;
myExternalIds = new TreeSet<String>(externalIds);
}