| Line | |
|---|
| 1 | package net.oni2.aeinstaller.backend.depot;
|
|---|
| 2 |
|
|---|
| 3 | /**
|
|---|
| 4 | * @author Christian Illy
|
|---|
| 5 | */
|
|---|
| 6 | public class DepotConfig {
|
|---|
| 7 |
|
|---|
| 8 | /**
|
|---|
| 9 | * @return Type-value of nodes which contain Mods
|
|---|
| 10 | */
|
|---|
| 11 | public static String getNodeType_Mod() {
|
|---|
| 12 | return "mod";
|
|---|
| 13 | }
|
|---|
| 14 |
|
|---|
| 15 | /**
|
|---|
| 16 | * @return Vocabulary name for platform field
|
|---|
| 17 | */
|
|---|
| 18 | public static String getVocabularyName_Platform() {
|
|---|
| 19 | return "Platform";
|
|---|
| 20 | }
|
|---|
| 21 |
|
|---|
| 22 | /**
|
|---|
| 23 | * @return Vocabulary name for installtype field
|
|---|
| 24 | */
|
|---|
| 25 | public static String getVocabularyName_InstallType() {
|
|---|
| 26 | return "Install method";
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | /**
|
|---|
| 30 | * @return Vocabulary name for modtype field
|
|---|
| 31 | */
|
|---|
| 32 | public static String getVocabularyName_ModType() {
|
|---|
| 33 | return "Mod type";
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | /**
|
|---|
| 37 | * @return Taxonomy term name for platform value Win
|
|---|
| 38 | */
|
|---|
| 39 | public static String getTaxonomyName_Platform_Win() {
|
|---|
| 40 | return "Windows";
|
|---|
| 41 | }
|
|---|
| 42 |
|
|---|
| 43 | /**
|
|---|
| 44 | * @return Taxonomy term name for platform value Mac
|
|---|
| 45 | */
|
|---|
| 46 | public static String getTaxonomyName_Platform_Mac() {
|
|---|
| 47 | return "Mac OS";
|
|---|
| 48 | }
|
|---|
| 49 |
|
|---|
| 50 | /**
|
|---|
| 51 | * @return Taxonomy term name for platform value Both
|
|---|
| 52 | */
|
|---|
| 53 | public static String getTaxonomyName_Platform_Both() {
|
|---|
| 54 | return "Both";
|
|---|
| 55 | }
|
|---|
| 56 |
|
|---|
| 57 | /**
|
|---|
| 58 | * @return Taxonomy term name for installtype Package
|
|---|
| 59 | */
|
|---|
| 60 | public static String getTaxonomyName_InstallType_Package() {
|
|---|
| 61 | return "Package";
|
|---|
| 62 | }
|
|---|
| 63 |
|
|---|
| 64 | /**
|
|---|
| 65 | * @return Taxonomy term name for modtype Tool
|
|---|
| 66 | */
|
|---|
| 67 | public static String getTaxonomyName_ModType_Tool() {
|
|---|
| 68 | return "Tool";
|
|---|
| 69 | }
|
|---|
| 70 |
|
|---|
| 71 | /**
|
|---|
| 72 | * @return First package number that's not a mandatory tool/mod. Everything
|
|---|
| 73 | * below is considered mandatory
|
|---|
| 74 | */
|
|---|
| 75 | public static int getMandatoryLimit() {
|
|---|
| 76 | return 8000;
|
|---|
| 77 | }
|
|---|
| 78 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.