Skip to content

Retrieve batcher and job name from a JobTicket #648

Closed
@kcoleman-marklogic

Description

@kcoleman-marklogic

At the moment you can retrieve a ticket from a Batcher, but you cannot retrieve a batcher from a ticket. That means you have to hang on to the batcher instead of to the ticket.

Similarly, you can retrieve the ticket UUID from the ticket, but you cannot retrieve user-configurable job name that you can set using Batcher.withJobName(). Of course, I can get it from the batcher, but that again implies it is the Batcher and not the ticket I should hold on to.

TL;DR Perhaps we should add the following to the JobTicket interface:

  • JobTicket.getBatcher()
  • JobTicket.getJobName()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions