ClusterLogSaver
public
class
ClusterLogSaver
extends Object
implements
ILogSaver
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterLogSaver |
A ILogSaver
class to upload test outputs to TFC.
Summary
Nested classes | |
---|---|
enum |
ClusterLogSaver.FilePickingStrategy
File picking strategies. |
Fields | |
---|---|
public
static
final
String |
FILE_NAMES_FILE_NAME
A name of a text file containing all test output file names. |
public
static
final
String |
TOOL_LOG_PATH
A name of a subdirectory containing all files generated by host process. |
Public constructors | |
---|---|
ClusterLogSaver()
|
Public methods | |
---|---|
LogFile
|
getLogReportDir()
|
void
|
invocationEnded(long elapsedTime)
|
void
|
invocationStarted(IInvocationContext context)
|
LogFile
|
saveLogData(String dataName, LogDataType dataType, InputStream dataStream)
|
LogFile
|
saveLogDataRaw(String dataName, LogDataType dataType, InputStream dataStream)
|
Fields
FILE_NAMES_FILE_NAME
public static final String FILE_NAMES_FILE_NAME
A name of a text file containing all test output file names.
TOOL_LOG_PATH
public static final String TOOL_LOG_PATH
A name of a subdirectory containing all files generated by host process.
Public constructors
ClusterLogSaver
public ClusterLogSaver ()
Public methods
getLogReportDir
public LogFile getLogReportDir ()
Returns | |
---|---|
LogFile |
invocationEnded
public void invocationEnded (long elapsedTime)
Parameters | |
---|---|
elapsedTime |
long |
invocationStarted
public void invocationStarted (IInvocationContext context)
Parameters | |
---|---|
context |
IInvocationContext |
saveLogData
public LogFile saveLogData (String dataName, LogDataType dataType, InputStream dataStream)
Parameters | |
---|---|
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStream |
Returns | |
---|---|
LogFile |
saveLogDataRaw
public LogFile saveLogDataRaw (String dataName, LogDataType dataType, InputStream dataStream)
Parameters | |
---|---|
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStream |
Returns | |
---|---|
LogFile |
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2020-09-08。
[]
[]