public final TypeDownloadAgentStatus getDownloadAgentStatus ( ) { //Initialization with default status to unknown TypeDownloadAgentStatus typeStatus = TypeDownloadAgentStatus . UNKNOWN ; //Find the type by the error id TypeDownloadAgentStatus typeStatusFoundByCode = TypeDownloadAgentStatus . findById ( status ) ; if ( null != typeStatusFoundByCode ) { typeStatus = typeStatusFoundByCode ; } return typeStatus ; }
Get the status for the download agent .