|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnterpriseFeederNotificationService
A service that is used to provide notification about the status of an enterprise feed. The implementation may use a variety of other services to perform notification, ranging from simply logging data to sending emails, etc.
Method Summary | |
---|---|
String |
getFileFeedStatusMessage(String feederProcessName,
EnterpriseFeederStatus status,
File doneFile,
File dataFile,
File reconFile,
List<Message> errorMessages)
Generates the status message that would be generated by a call to notifyFileFeedStatus with the same parameters. |
String |
getFileFeedStatusMessage(String feederProcessName,
EnterpriseFeederStatus status,
String doneFileDescription,
InputStream doneFileContents,
String dataFileDescription,
InputStream dataFileContents,
String reconFileDescription,
InputStream reconFileContents,
List<Message> errorMessages)
Generates the status message that would be generated by a call to notifyFileFeedStatus with the same parameters. |
void |
notifyFileFeedStatus(String feederProcessName,
EnterpriseFeederStatus status,
File doneFile,
File dataFile,
File reconFile,
List<Message> errorMessages)
Performs notification about the status of the upload (i.e. |
void |
notifyFileFeedStatus(String feederProcessName,
EnterpriseFeederStatus status,
String doneFileDescription,
InputStream doneFileContents,
String dataFileDescription,
InputStream dataFileContents,
String reconFileDescription,
InputStream reconFileContents,
List<Message> errorMessages)
Performs notification about the status of the upload (i.e. |
Method Detail |
---|
void notifyFileFeedStatus(String feederProcessName, EnterpriseFeederStatus status, File doneFile, File dataFile, File reconFile, List<Message> errorMessages)
feederProcessName
- The name of the feeder process; this may correspond to the name of the Spring definition of the
feeder step, but each implementation may define how to use the value of this parameter and/or restrictions on its
value.event
- The event/status of the upload of the file setdoneFile
- The done filedataFile
- The data filereconFile
- The recon fileerrorMessages
- Any error messages for which to provide notificationvoid notifyFileFeedStatus(String feederProcessName, EnterpriseFeederStatus status, String doneFileDescription, InputStream doneFileContents, String dataFileDescription, InputStream dataFileContents, String reconFileDescription, InputStream reconFileContents, List<Message> errorMessages)
feederProcessName
- The name of the feeder process; this may correspond to the name of the Spring definition of the
feeder step, but each implementation may define how to use the value of this parameter and/or restrictions on its
value.event
- The event/status of the upload of the file setdoneFileDescription
- The description of the done file to be output during notificationdoneFileContents
- An input stream for the contents of the done file. If the implementation does not require the
contents of the file, then null
may be passed in.dataFileDescription
- The description of the done file to be output during notificationdataFileContents
- An input stream for the contents of the data file. If the implementation does not require the
contents of the file, then null
may be passed in.reconFileDescription
- The description of the done file to be output during notificationreconFileContents
- An input stream for the contents of the recon file. If the implementation does not require the
contents of the file, then null
may be passed in.errorMessages
- Any error messages for which to provide notificationString getFileFeedStatusMessage(String feederProcessName, EnterpriseFeederStatus status, File doneFile, File dataFile, File reconFile, List<Message> errorMessages)
feederProcessName
- The name of the feeder process; this may correspond to the name of the Spring definition of the
feeder step, but each implementation may define how to use the value of this parameter and/or restrictions on its
value.event
- The event/status of the upload of the file setdoneFile
- The done filedataFile
- The data filereconFile
- The recon fileerrorMessages
- Any error messages for which to provide notificationString getFileFeedStatusMessage(String feederProcessName, EnterpriseFeederStatus status, String doneFileDescription, InputStream doneFileContents, String dataFileDescription, InputStream dataFileContents, String reconFileDescription, InputStream reconFileContents, List<Message> errorMessages)
feederProcessName
- The name of the feeder process; this may correspond to the name of the Spring definition of the
feeder step, but each implementation may define how to use the value of this parameter and/or restrictions on its
value.event
- The event/status of the upload of the file setdoneFileDescription
- The description of the done file to be output during notificationdoneFileContents
- An input stream for the contents of the done file. If the implementation does not require the
contents of the file, then null
may be passed in.dataFileDescription
- The description of the done file to be output during notificationdataFileContents
- An input stream for the contents of the data file. If the implementation does not require the
contents of the file, then null
may be passed in.reconFileDescription
- The description of the done file to be output during notificationreconFileContents
- An input stream for the contents of the recon file. If the implementation does not require the
contents of the file, then null
may be passed in.errorMessages
- Any error messages for which to provide notification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |