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