public class ImportOutcomeNotifier
extends java.lang.Object
Constructor and Description |
---|
ImportOutcomeNotifier(ImportEnv env,
ImportBatchStatus outcome)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static Email |
findAnyEmail(ImportBatchStatus status)
Picks the email of an unspecified import request.
|
void |
notifyOutcome()
Triggers the sending of import outcome notification emails.
|
public ImportOutcomeNotifier(ImportEnv env, ImportBatchStatus outcome)
env
- the import environment.outcome
- the import batch state after all its imports have been
processed.java.lang.NullPointerException
- if any argument is null
.public static Email findAnyEmail(ImportBatchStatus status)
status
- the batch status.java.lang.NullPointerException
- if the argument is null
.public void notifyOutcome()