All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.manifest.BroadcastReceiverData Maven / Gradle / Ivy

There is a newer version: 3.4-rc2
Show newest version
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