to top
public static class

BugreportCollector.Predicate

extends Object
java.lang.Object
   ↳ com.android.tradefed.result.BugreportCollector.Predicate

Class Overview

A full predicate describing when to capture a bugreport. Has the following required elements and [optional elements]: RelationP TimingP Noun [FilterP Noun]

Summary

Fields
List<BugreportCollector.SubPredicate> mFilterSubPredicates
List<BugreportCollector.SubPredicate> mSubPredicates
Public Constructors
BugreportCollector.Predicate(BugreportCollector.Relation rp, BugreportCollector.Freq fp, BugreportCollector.Noun n)
BugreportCollector.Predicate(BugreportCollector.Relation rp, BugreportCollector.Freq fp, BugreportCollector.Noun fpN, BugreportCollector.Filter filterP, BugreportCollector.Noun filterPN)
Public Methods
static void assertValidPredicate(BugreportCollector.Relation rp, BugreportCollector.Freq fp, BugreportCollector.Noun n)
boolean equals(Object other)
boolean fullMatch(BugreportCollector.Predicate otherP)
int hashCode()
boolean partialMatch(BugreportCollector.Predicate otherP)
String toString()
Protected Methods
List<BugreportCollector.SubPredicate> getFilterPredicate()
List<BugreportCollector.SubPredicate> getPredicate()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

List<BugreportCollector.SubPredicate> mFilterSubPredicates

List<BugreportCollector.SubPredicate> mSubPredicates

Public Constructors

public BugreportCollector.Predicate (BugreportCollector.Relation rp, BugreportCollector.Freq fp, BugreportCollector.Noun n)

Throws
IllegalArgumentException

public BugreportCollector.Predicate (BugreportCollector.Relation rp, BugreportCollector.Freq fp, BugreportCollector.Noun fpN, BugreportCollector.Filter filterP, BugreportCollector.Noun filterPN)

Throws
IllegalArgumentException

Public Methods

public static void assertValidPredicate (BugreportCollector.Relation rp, BugreportCollector.Freq fp, BugreportCollector.Noun n)

Throws
IllegalArgumentException

public boolean equals (Object other)

public boolean fullMatch (BugreportCollector.Predicate otherP)

public int hashCode ()

public boolean partialMatch (BugreportCollector.Predicate otherP)

public String toString ()

Protected Methods

protected List<BugreportCollector.SubPredicate> getFilterPredicate ()

protected List<BugreportCollector.SubPredicate> getPredicate ()