public String extractTransition ( XEvent event ) { XAttribute attribute = event . getAttributes ( ) . get ( KEY_TRANSITION ) ; if ( attribute == null ) { return null ; } else { return ( ( XAttributeLiteral ) attribute ) . getValue ( ) ; } }
Extracts the lifecycle transition string from a given event .