Package step.core.miscellaneous
Class ReportNodeAttachmentManager
- java.lang.Object
-
- step.core.miscellaneous.ReportNodeAttachmentManager
-
public class ReportNodeAttachmentManager extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReportNodeAttachmentManager.AttachmentQuotaException
-
Field Summary
Fields Modifier and Type Field Description static String
QUOTA_COUNT_VARNAME
static String
QUOTA_VARNAME
-
Constructor Summary
Constructors Constructor Description ReportNodeAttachmentManager(ExecutionContext context)
ReportNodeAttachmentManager(ResourceManager resourceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attach(byte[] content, String filename, ReportNode reportNode)
void
attach(Throwable e, ReportNode node)
AttachmentMeta
createAttachment(byte[] content, String filename)
AttachmentMeta
createAttachment(Throwable e)
AttachmentMeta
createAttachmentWithoutQuotaCheck(byte[] content, String filename)
-
-
-
Constructor Detail
-
ReportNodeAttachmentManager
public ReportNodeAttachmentManager(ExecutionContext context)
-
ReportNodeAttachmentManager
public ReportNodeAttachmentManager(ResourceManager resourceManager)
-
-
Method Detail
-
createAttachment
public AttachmentMeta createAttachment(Throwable e) throws ReportNodeAttachmentManager.AttachmentQuotaException
-
attach
public void attach(Throwable e, ReportNode node)
-
createAttachment
public AttachmentMeta createAttachment(byte[] content, String filename) throws ReportNodeAttachmentManager.AttachmentQuotaException
-
createAttachmentWithoutQuotaCheck
public AttachmentMeta createAttachmentWithoutQuotaCheck(byte[] content, String filename)
-
attach
public void attach(byte[] content, String filename, ReportNode reportNode)
-
-