Class FilePathGenerator
- java.lang.Object
-
- com.epam.ta.reportportal.filesystem.FilePathGenerator
-
@Component public class FilePathGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FilePathGenerator(DateTimeProvider dateTimeProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringgenerate(AttachmentMetaInfo metaInfo)Generate relative file path for new local file.
-
-
-
Constructor Detail
-
FilePathGenerator
public FilePathGenerator(DateTimeProvider dateTimeProvider)
-
-
Method Detail
-
generate
public java.lang.String generate(AttachmentMetaInfo metaInfo)
Generate relative file path for new local file. projectId/year-month/launchUUID- Returns:
- Generated path
-
-