內容分析情境

public class ContentAnalysisContext
extends Object

java.lang.Object
   ↳ com.android.tradefed.build.content.ContentAnalysisContext


提供內容周圍的上下文,以便正確分析。

摘要

公用建構函式

ContentAnalysisContext(String contentEntry, ContentInformation information, ContentAnalysisContext.AnalysisMethod method)

公用方法

boolean abortAnalysis()
String abortReason()
ContentAnalysisContext addCommonLocation(String path)
ContentAnalysisContext addCommonLocations( paths)
ContentAnalysisContext addIgnoreChange(String path)
ContentAnalysisContext addIgnoreChanges( paths)
ContentAnalysisContext.AnalysisMethod analysisMethod()
commonLocations()
String contentEntry()
ContentInformation contentInformation()
ignoredChanges()
void invalidateAnalysis(String reason)
void invalidateAnalysis()

公用建構函式

內容分析情境

public ContentAnalysisContext (String contentEntry, 
                ContentInformation information, 
                ContentAnalysisContext.AnalysisMethod method)

參數
contentEntry String

information ContentInformation

method ContentAnalysisContext.AnalysisMethod

公用方法

取消分析

public boolean abortAnalysis ()

傳回
boolean

取消原因

public String abortReason ()

傳回
String

addCommonLocation

public ContentAnalysisContext addCommonLocation (String path)

參數
path String

傳回
ContentAnalysisContext

addCommonLocations

public ContentAnalysisContext addCommonLocations ( paths)

參數
paths

傳回
ContentAnalysisContext

新增忽略變更

public ContentAnalysisContext addIgnoreChange (String path)

參數
path String

傳回
ContentAnalysisContext

新增忽略變更

public ContentAnalysisContext addIgnoreChanges ( paths)

參數
paths

傳回
ContentAnalysisContext

常用位置

public  commonLocations ()

傳回

contentEntry

public String contentEntry ()

傳回
String

content 資訊

public ContentInformation contentInformation ()

傳回
ContentInformation

忽略變更

public  ignoredChanges ()

傳回

作廢分析

public void invalidateAnalysis (String reason)

參數
reason String

作廢分析

public void invalidateAnalysis ()