agave-apps/apps-core/src/main/java/org/iplantc/service/apps/managers/SoftwareEventProcessor.java
/**
	 * Triggers events on the {@link ExecutionSystem} tied to this {@Software} object.
	 * 
	 * @param software
	 * @param eventName
	 * @param createdBy
	 * @param jsonNode
	 * @return
	 */
Triggers events on the  ExecutionSystem tied to this  object.


Triggers events on the ExecutionSystem tied to this object .
public void doSystemEvents(Software software, String eventName, String createdBy, ObjectNode jsonNode) {
		try {
			if (jsonNode == null) {
				jsonNode = mapper.createObjectNode();
			}
			fireNotification(software.getExecutionSystem().getUuid(), "APP_" + eventName, createdBy,
					(ObjectNode)jsonNode.deepCopy().set("system", mapper.readTree(software.getExecutionSystem().toJSON())));
		}
		catch (Exception e) {
			log.error(e.getMessage(), e);
		}
	}
public void doSystemEvents ( Software software , String eventName , String createdBy , ObjectNode jsonNode ) { try { if ( jsonNode == null ) { jsonNode = mapper . createObjectNode ( ) ; } fireNotification ( software . getExecutionSystem ( ) . getUuid ( ) , "APP_" + eventName , createdBy , ( ObjectNode ) jsonNode . deepCopy ( ) . set ( "system" , mapper . readTree ( software . getExecutionSystem ( ) . toJSON ( ) ) ) ) ; } catch ( Exception e ) { log . error ( e . getMessage ( ) , e ) ; } }
Triggers events on the {@link ExecutionSystem} tied to this {@Software} object.
Triggers events on the { @link ExecutionSystem } tied to this { @Software } object .