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.util.ArrayList; 19 import java.util.List; 20 21 /** 22 * ModuleJson extensionAbility info. 23 * 24 */ 25 public class ExtensionAbilityInfo { 26 /** 27 * Indicates the name of module ModuleJson. 28 */ 29 public String name = ""; 30 /** 31 * Indicates the srcEntrance of module ModuleJson. 32 */ 33 public String srcEntrance = ""; 34 /** 35 * Indicates the icon of module ModuleJson. 36 */ 37 public String icon = ""; 38 /** 39 * Indicates the label of module ModuleJson. 40 */ 41 public String label = ""; 42 /** 43 * Indicates the description of module ModuleJson. 44 */ 45 public String description = ""; 46 /** 47 * Indicates the type of module ModuleJson. 48 */ 49 public String type = ""; 50 /** 51 * Indicates the permissions of module ModuleJson. 52 */ 53 public List<String> permissions = new ArrayList<>(); 54 /** 55 * Indicates the readPermission of module ModuleJson. 56 */ 57 public String readPermission = ""; 58 /** 59 * Indicates the writePermission of module ModuleJson. 60 */ 61 public String writePermission = ""; 62 /** 63 * Indicates the visible of module ModuleJson. 64 */ 65 public boolean visible = false; 66 /** 67 * Indicates the skill of module ModuleJson. 68 */ 69 public List<SkillInfo> skills = new ArrayList<>(); 70 71 List<ModuleMetadataInfo> metadataInfos = new ArrayList<>(); 72 73 /** 74 * Indicates the metadata of module ModuleJson. 75 */ 76 public MetaData metadata = new MetaData(); 77 /** 78 * Indicates the uri of module ModuleJson. 79 */ 80 public String uri = ""; 81 } 82