Skip to content

Make Job interface a functional interface #4966

@fmbenhassine

Description

@fmbenhassine

Currently, Job#getName must be implemented in addition to execute. If getName had a default implementation (for example returning the fully qualified class name), the Job interface could be made functional. Making the Job interface functional makes things easier in tests, prototypes and teaching/learning sessions.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions