• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 package ohos;
17 
18 import java.sql.Array;
19 import java.util.ArrayList;
20 import java.util.List;
21 
22 /**
23  * ModuleJson ability info in module
24  *
25  */
26 class ModuleAbilityInfo {
27     /**
28      * Indicates the name of module ModuleJson.
29      */
30     public String name = "";
31     /**
32      * Indicates the srcEntrance of module ModuleJson.
33      */
34     public String srcEntrance = "";
35     /**
36      * Indicates the launchType of module ModuleJson.
37      */
38     public String launchType = "standard";
39     /**
40      * Indicates the description of module ModuleJson.
41      */
42     public String description = "";
43     /**
44      * Indicates the icon of module ModuleJson.
45      */
46     public String icon = "";
47     /**
48      * Indicates the label of module ModuleJson.
49      */
50     public String label = "";
51     /**
52      * Indicates the permissions of module ModuleJson.
53      */
54     public List<String> permissions = new ArrayList<String>();
55     /**
56      * Indicates the metadata of module ModuleJson.
57      */
58     public List<ModuleMetadataInfo> metadata = new ArrayList<ModuleMetadataInfo>();
59     /**
60      * Indicates the visible of module ModuleJson.
61      */
62     public boolean visible = false;
63     /**
64      * Indicates the continuable of module ModuleJson.
65      */
66     public boolean continuable = false;
67     /**
68      * Indicates the skills of module ModuleJson.
69      */
70     public List<SkillInfo> skills = new ArrayList<SkillInfo>();
71     /**
72      * Indicates the backgroundModes of module ModuleJson.
73      */
74     public List<String> backgroundModes = new ArrayList<String>();
75 }
76