Package com.avoka.fc.core.sysevent
Interface SysEventBuilder.ISysEventBuilder
-
- Enclosing class:
- SysEventBuilder
public static interface SysEventBuilder.ISysEventBuilder
Provides an System Event Builder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAuditLog(AuditLog al)
Registers the audit log for inclusion in the system event messages.void
addErrorLog(ErrorLog er)
Registers the Error Log for inclusion in the system event messages.void
addEventLog(EventLog el)
Registers the Event Log for inclusion in the system event messages.void
addFormDataMap(Map<String,String> fdm, Submission sub)
Registers the form data map for inclusion in the system event messages.void
addGroovyServiceLog(GroovyServiceLog gsl)
Registers the Groovy Service Log for inclusion in the system event messages.void
addJob(Job job)
Registers the job for inclusion in system event messages.void
addMilestone(SubmissionMilestone sm)
Registers the submission milestone for inclusion in the system event messages.void
addProperty(SubmissionProperty sp)
Registers the submission property for inclusion in the system event messages.void
addSubmission(Submission sub)
Registers the submission for inclusion in the system event messages.void
addSystemHealth(SystemHealth sh)
Registers the System Health for inclusion in the system event messages.void
addUserAuth(UserAuthEvent uae)
Registers the User Auth Event for inclusion in the system event messages.List<String>
buildMsgs()
Builds a list of JSON system event messages.List<String>
buildMsgs(HttpServletRequest request)
Builds a list of JSON system event messages for the given request.
-
-
-
Method Detail
-
addAuditLog
void addAuditLog(AuditLog al)
Registers the audit log for inclusion in the system event messages.- Parameters:
al
- the audit log to be included in system event messages(required)
-
addSubmission
void addSubmission(Submission sub)
Registers the submission for inclusion in the system event messages.- Parameters:
sub
- Submission to be included in system event messages(required)
-
addJob
void addJob(Job job)
Registers the job for inclusion in system event messages.- Parameters:
job
- Job to be included in system event messages required)
-
addMilestone
void addMilestone(SubmissionMilestone sm)
Registers the submission milestone for inclusion in the system event messages.- Parameters:
sm
- SubmissionMilestone to be included in system event messages required)
-
addProperty
void addProperty(SubmissionProperty sp)
Registers the submission property for inclusion in the system event messages.- Parameters:
sp
- Submission Property to be included in system event messages required)
-
addFormDataMap
void addFormDataMap(Map<String,String> fdm, Submission sub)
Registers the form data map for inclusion in the system event messages.- Parameters:
fdm
- the form data map to be included in system event messages(required)sub
- Submission to be included in system event messages(required)
-
addGroovyServiceLog
void addGroovyServiceLog(GroovyServiceLog gsl)
Registers the Groovy Service Log for inclusion in the system event messages.- Parameters:
gsl
- GroovyServiceLog to be included in system event messages(required)
-
addErrorLog
void addErrorLog(ErrorLog er)
Registers the Error Log for inclusion in the system event messages.- Parameters:
er
- ErrorLog to be included in system event messages(required)
-
addEventLog
void addEventLog(EventLog el)
Registers the Event Log for inclusion in the system event messages.- Parameters:
el
- EventLog to be included in system event messages(required)
-
addSystemHealth
void addSystemHealth(SystemHealth sh)
Registers the System Health for inclusion in the system event messages.- Parameters:
sh
- System Health to be included in system event messages(required)
-
addUserAuth
void addUserAuth(UserAuthEvent uae)
Registers the User Auth Event for inclusion in the system event messages.- Parameters:
uae
- User Auth Event to be included in system event messages(required)
-
buildMsgs
List<String> buildMsgs()
Builds a list of JSON system event messages.- Returns:
- the list of JSON system event messages to publish.
-
buildMsgs
List<String> buildMsgs(HttpServletRequest request)
Builds a list of JSON system event messages for the given request.- Parameters:
request
- the servlet request- Returns:
- the list of JSON system event messages to publish
-
-