protected String applicationTitle ( ) { // Add application Name String name = StageParameters . APPLICATION_NAME . get ( ) ; if ( name . contains ( PARAM ) ) { name = name . replace ( PARAM , computeShortClassName ( ) ) ; } // Add version with a space before final String version = StageParameters . APPLICATION_VERSION . get ( ) ; final StringBuilder sb = new StringBuilder ( name ) ; if ( ! "0.0.0" . equals ( version ) ) { sb . append ( ' ' ) . append ( version ) ; } return sb . toString ( ) ; }
Return the application title .