void function ( CommandResult arg0 ) { final Optional < List < ? extends ReadOnlyPerson >> loc0 = arg0 . getRelevantPersons ( ) ; if ( loc0 . isPresent ( ) ) { showPersonListView ( loc0 . get ( ) ) ; } showToUser ( arg0 . feedbackToUser , DIVIDER ) ; }
shows the result of a command execution to the user . includes additional formatting to demarcate different command execution segments . concode_field_sep String DIVIDER concode_elem_sep String COMMENT_LINE_FORMAT_REGEX concode_elem_sep Scanner in concode_elem_sep String LS concode_elem_sep int DISPLAYED_INDEX_OFFSET concode_elem_sep String LINE_PREFIX concode_elem_sep String MESSAGE_INDEXED_LIST_ITEM concode_elem_sep PrintStream out concode_field_sep void showToUserAsIndexedList concode_elem_sep void showWelcomeMessage concode_elem_sep String getUserCommand concode_elem_sep void showGoodbyeMessage concode_elem_sep void showPersonListView concode_elem_sep boolean shouldIgnore concode_elem_sep String getIndexedListItem concode_elem_sep String getIndexedListForViewing concode_elem_sep boolean isCommentLine concode_elem_sep void showInitFailedMessage concode_elem_sep void showToUser