agave-files/files-core/src/test/java/org/iplantc/service/io/notifications/LogicalFileNotificationIT.java
/**
	 * Performs the actual notification invocation and check with notifications
	 * individually specified.
	 * 
	 * @param eventType
	 * @param notificationUri
	 * @param persistent
	 * @throws Exception
	 */
Performs the actual notification invocation and check with notifications
individually specified.


Performs the actual notification invocation and check with notifications individually specified .
protected void genericLogicalFileSpecificNotificationTest(FileEventType eventType, String notificationUri, boolean persistent) 
	throws Exception
    {
        LogicalFile logicalFile = createLogicalFile();
		NotificationDao dao = new NotificationDao();
		Notification notification = new Notification(logicalFile.getUuid(), logicalFile.getOwner(), eventType.name(), notificationUri, persistent);
		notification.getPolicy().setRetryStrategyType(RetryStrategyType.NONE);
		notification.getPolicy().setSaveOnFailure(true);
		dao.persist(notification);
		processNotification(logicalFile, eventType);
    }
protected void genericLogicalFileSpecificNotificationTest ( FileEventType eventType , String notificationUri , boolean persistent ) throws Exception { LogicalFile logicalFile = createLogicalFile ( ) ; NotificationDao dao = new NotificationDao ( ) ; Notification notification = new Notification ( logicalFile . getUuid ( ) , logicalFile . getOwner ( ) , eventType . name ( ) , notificationUri , persistent ) ; notification . getPolicy ( ) . setRetryStrategyType ( RetryStrategyType . NONE ) ; notification . getPolicy ( ) . setSaveOnFailure ( true ) ; dao . persist ( notification ) ; processNotification ( logicalFile , eventType ) ; }
Performs the actual notification invocation and check with notifications
 individually specified.
Performs the actual notification invocation and check with notifications individually specified .