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.
|
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.
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 ()
invocationEnded
public void invocationEnded (long elapsedTime)
Parameters |
elapsedTime |
long |
invocationStarted
public void invocationStarted (IInvocationContext context)
Parameters |
context |
IInvocationContext |
public LogFile saveLogData (String dataName,
LogDataType dataType,
InputStream dataStream)
Parameters |
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStream |
public LogFile saveLogDataRaw (String dataName,
LogDataType dataType,
InputStream dataStream)
Parameters |
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStream |
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2020-09-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Отсутствует нужная мне информация"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Слишком сложен/слишком много шагов"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Устарел"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Проблема с переводом текста"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Проблемы образцов/кода"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Другое"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Прост для понимания"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Помог мне решить мою проблему"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Другое"
}]