public class ServiceData extends PackageItemData
Holds parsed service data from manifest.
metaData, name
Constructor and Description |
---|
ServiceData(Map<String,String> attributes,
MetaData metaData,
List<IntentFilterData> intentFilters) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(String action) |
List<String> |
getActions() |
Map<String,String> |
getAllAttributes()
Get the map for all attributes defined for the service.
|
List<IntentFilterData> |
getIntentFilters()
Get the intent filters defined for the service.
|
String |
getPermission() |
boolean |
isEnabled() |
boolean |
isExported()
Returns whether this service is exported by checking the XML attribute.
|
void |
setPermission(String permission) |
getClassName, getMetaData, getName
public void addAction(String action)
public void setPermission(String permission)
public String getPermission()
public List<IntentFilterData> getIntentFilters()
Get the intent filters defined for the service.
public Map<String,String> getAllAttributes()
Get the map for all attributes defined for the service.
public boolean isExported()
Returns whether this service is exported by checking the XML attribute.
public boolean isEnabled()