public class TaskLoggerRelativePathGenerator extends Object
Constructor and Description |
---|
TaskLoggerRelativePathGenerator(TaskId taskId) |
Modifier and Type | Method and Description |
---|---|
static String |
getContainingFolderForLogFiles(JobId jobId)
Return the containing folder of log files for a given job id
|
String |
getFileName() |
static String |
getIncludePatternForAllLogFiles(JobId jobId)
Return an include pattern to find all log files associated with the given job id
|
String |
getRelativePath() |
public TaskLoggerRelativePathGenerator(TaskId taskId)
public static String getIncludePatternForAllLogFiles(JobId jobId)
jobId
- id of a jobpublic static String getContainingFolderForLogFiles(JobId jobId)
jobId
- id of the job associated with logspublic String getRelativePath()
public String getFileName()