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

public 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

public 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

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

Parameters
rp BugreportCollector.Relation

fp BugreportCollector.Freq

n BugreportCollector.Noun

Throws
IllegalArgumentException

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

fullMatch

public boolean fullMatch (BugreportCollector.Predicate otherP)

Parameters
otherP BugreportCollector.Predicate

Returns
boolean

hashCode

public int hashCode ()

Returns
int

partialMatch

public boolean partialMatch (BugreportCollector.Predicate otherP)

Parameters
otherP BugreportCollector.Predicate

Returns
boolean

toString

public String toString ()

Returns
String

Protected methods

getFilterPredicate

protected List<BugreportCollector.SubPredicate> getFilterPredicate ()

Returns
List<BugreportCollector.SubPredicate>

getPredicate

protected List<BugreportCollector.SubPredicate> getPredicate ()

Returns
List<BugreportCollector.SubPredicate>