org.robolectric.manifest.BroadcastReceiverData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robolectric-resources Show documentation
Show all versions of robolectric-resources Show documentation
An alternative Android testing framework.
package org.robolectric.manifest;
import java.util.ArrayList;
import java.util.List;
public class BroadcastReceiverData {
private final String className;
private final MetaData metaData;
private final List actions;
private String permission;
public BroadcastReceiverData(String className, MetaData metaData) {
this.actions = new ArrayList<>();
this.className = className;
this.metaData = metaData;
}
public String getClassName() {
return className;
}
public List getActions() {
return actions;
}
public MetaData getMetaData() {
return metaData;
}
public void addAction(String action) {
this.actions.add(action);
}
public void setPermission(final String permission) {
this.permission = permission;
}
public String getPermission() {
return permission;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy