BugreportCollector.Predicate

public static class BugreportCollector.Predicate
extends Object

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


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()

Fields

mFilterSubPredicates

List<BugreportCollector.SubPredicate> mFilterSubPredicates

mSubPredicates

List<BugreportCollector.SubPredicate> mSubPredicates

Public constructors

BugreportCollector.Predicate

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

Parameters
rp BugreportCollector.Relation
fp BugreportCollector.Freq
n BugreportCollector.Noun
Throws
IllegalArgumentException

BugreportCollector.Predicate

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

Parameters
rp BugreportCollector.Relation
fp BugreportCollector.Freq
fpN BugreportCollector.Noun
filterP BugreportCollector.Filter
filterPN BugreportCollector.Noun
Throws
IllegalArgumentException

Public methods

assertValidPredicate

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

Parameters
rp BugreportCollector.Relation
fp BugreportCollector.Freq
n BugreportCollector.Noun
Throws
IllegalArgumentException

equals

boolean equals (Object other)

Parameters
other Object
Returns
boolean

fullMatch

boolean fullMatch (BugreportCollector.Predicate otherP)

Parameters
otherP BugreportCollector.Predicate
Returns
boolean

hashCode

int hashCode ()

Returns
int

partialMatch

boolean partialMatch (BugreportCollector.Predicate otherP)

Parameters
otherP BugreportCollector.Predicate
Returns
boolean

toString

String toString ()

Returns
String

Protected methods

getFilterPredicate

List<BugreportCollector.SubPredicate> getFilterPredicate ()

Returns
List<BugreportCollector.SubPredicate>

getPredicate

List<BugreportCollector.SubPredicate> getPredicate ()

Returns
List<BugreportCollector.SubPredicate>