@Override
	public List<Diagnostic> diagnoseApplication( String applicationName ) {

		this.logger.fine( "Request: create a diagnostic for the application called " + applicationName + "." );
		List<Diagnostic> result = new ArrayList<> ();
		final Application application = this.manager.applicationMngr().findApplicationByName( applicationName );
		if( application != null ) {
			for( Instance inst : InstanceHelpers.getAllInstances( application ))
				result.add( createDiagnostic( inst ));
		}

		return result;
	}
@ Override public List < Diagnostic > diagnoseApplication ( String applicationName ) { this . logger . fine ( "Request: create a diagnostic for the application called " + applicationName + "." ) ; List < Diagnostic > result = new ArrayList < > ( ) ; final Application application = this . manager . applicationMngr ( ) . findApplicationByName ( applicationName ) ; if ( application != null ) { for ( Instance inst : InstanceHelpers . getAllInstances ( application ) ) result . add ( createDiagnostic ( inst ) ) ; } return result ; }
/*
(non-Javadoc)
@see net.roboconf.dm.rest.services.internal.resources.IDebugResource
#diagnoseApplication(java.lang.String)