public static String [ ] getAvailableStatusNames ( ) { List < String > nameList = new ArrayList <> ( ) ; for ( Status status : INSTANCES . values ( ) ) { nameList . add ( status . getName ( ) ) ; } return nameList . toArray ( new String [ nameList . size ( ) ] ) ; }
Gets the available status names in ascending order of their corresponding status .