-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #151: Add CompletionCheck class to the backend (only stubs)
- Loading branch information
1 parent
edab939
commit 08ac7ab
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
src/main/java/com/iteratec/teamdojo/service/impl/custom/CompletionCheck.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |