@ Override public TaskKey fromBytes ( byte [ ] bytes ) { byte [ ] [ ] keyComponents = JobKeyConverter . splitJobKey ( bytes ) ; JobKey jobKey = jobKeyConv . parseJobKey ( keyComponents ) ; return new TaskKey ( jobKey , ( keyComponents . length > 5 ? Bytes . toString ( keyComponents [ 5 ] ) : null ) ) ; }
Generates a TaskKey from the byte encoded format .