BugreportCollector.Predicate

public static class BugreportCollector.Predicate
extends Object

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


完整述詞,說明何時要擷取錯誤報告。包含下列必要元素和 [選用元素]:RelationP TimingP Noun [FilterP Noun]

摘要

公用建構函式

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

公用方法

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

受保護的方法

List<BugreportCollector.SubPredicate> getFilterPredicate()
List<BugreportCollector.SubPredicate> getPredicate()

公用建構函式

Predicate

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

參數
rp BugreportCollector.Relation

fp BugreportCollector.Freq

n BugreportCollector.Noun

擲回
IllegalArgumentException

Predicate

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

參數
rp BugreportCollector.Relation

fp BugreportCollector.Freq

fpN BugreportCollector.Noun

filterP BugreportCollector.Filter

filterPN BugreportCollector.Noun

擲回
IllegalArgumentException

公用方法

assertValidPredicate

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

參數
rp BugreportCollector.Relation

fp BugreportCollector.Freq

n BugreportCollector.Noun

擲回
IllegalArgumentException

等於

public boolean equals (Object other)

參數
other Object

傳回
boolean

fullMatch

public boolean fullMatch (BugreportCollector.Predicate otherP)

參數
otherP BugreportCollector.Predicate

傳回
boolean

hashCode

public int hashCode ()

傳回
int

partialMatch

public boolean partialMatch (BugreportCollector.Predicate otherP)

參數
otherP BugreportCollector.Predicate

傳回
boolean

toString

public String toString ()

傳回
String

受保護的方法

getFilterPredicate

protected List<BugreportCollector.SubPredicate> getFilterPredicate ()

傳回
List<BugreportCollector.SubPredicate>

getPredicate

protected List<BugreportCollector.SubPredicate> getPredicate ()

傳回
List<BugreportCollector.SubPredicate>