public static TaskAnnouncement create ( Task task , TaskStatus status , TaskLocation location ) { return create ( task . getId ( ) , task . getType ( ) , task . getTaskResource ( ) , status , location , task . getDataSource ( ) ) ; }
nullable for backward compatibility