class GetDMNMessagesCommand extends AbstractDMNResultCommand implements ExecutableCommand<List<DMNMessage>> {

    @Override
    public List<DMNMessage> execute(Context context) {
        return extractDMNResult((RegistryContext) context).getMessages();
    }

}