Skip to content

Commit

Permalink
Issue #151: Add CompletionCheck class to the backend (only stubs)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amar-Bolkan committed Nov 21, 2022
1 parent edab939 commit 08ac7ab
Showing 1 changed file with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package com.iteratec.teamdojo.service.impl.custom;

import com.iteratec.teamdojo.service.dto.*;
import java.util.List;

/**
* This is a mirror of the CompletionCheck class found in the frontend:
* src/main/webapp/app/custom/helper/completion-check.ts
*/
public final class CompletionCheck {

private final TeamDTO team;
private final List<SkillDTO> skills;

CompletionCheck(TeamDTO team, List<SkillDTO> skills) {
this.team = team;
this.skills = skills;
}

public Progress getProgress(LevelDTO level, List<LevelSkillDTO> levelSkills) {
return null;
}

public Progress getProgress(BadgeDTO badge, List<BadgeSkillDTO> badgeSkills) {
return null;
}

//public Long getIrrelevancy(List<LevelSkillDTO> levelSkills) { return 0l; }

public Long getIrrelevancy(List<BadgeSkillDTO> badgeSkills) {
return 0l;
}
}

0 comments on commit 08ac7ab

Please sign in to comment.