net.dongliu.apk.parser.bean.AndroidComponent Maven / Gradle / Ivy
package net.dongliu.apk.parser.bean;
import java.util.ArrayList;
import java.util.List;
/**
* common parent class for activity, service, receiver
*
* @author Dong Liu [email protected]
*/
public abstract class AndroidComponent {
private String name;
private boolean exported;
private String process;
private List intentFilters = new ArrayList<>();
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public boolean isExported() {
return exported;
}
public void setExported(boolean exported) {
this.exported = exported;
}
public String getProcess() {
return process;
}
public void setProcess(String process) {
this.process = process;
}
public List getIntentFilters() {
return intentFilters;
}
public void addIntentFilter(IntentFilter intentFilter) {
intentFilter.setOwner(this);
this.intentFilters.add(intentFilter);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy