• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.robolectric.manifest;
2 
3 /**
4  * Holds permission data from manifest.
5  */
6 public class PermissionItemData extends PackageItemData {
7 
8   private final String label;
9   private final String description;
10   private final String permissionGroup;
11   private final String protectionLevel;
12 
PermissionItemData(String name, String label, String description, String permissionGroup, String protectionLevel, MetaData metaData)13   public PermissionItemData(String name, String label, String description,
14       String permissionGroup, String protectionLevel, MetaData metaData) {
15     super(name, metaData);
16 
17     this.label = label;
18     this.description = description;
19     this.permissionGroup = permissionGroup;
20     this.protectionLevel = protectionLevel;
21   }
22 
getLabel()23   public String getLabel() {
24     return label;
25   }
26 
getDescription()27   public String getDescription() {
28     return description;
29   }
30 
getPermissionGroup()31   public String getPermissionGroup() {
32     return permissionGroup;
33   }
34 
getProtectionLevel()35   public String getProtectionLevel() {
36     return protectionLevel;
37   }
38 }
39