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