Skip to content

Investigate the use of enumerations instead of strings for Natural language classifier #2

@germanattanasio

Description

@germanattanasio

Classifier status is a string instead of an enumeration. There are places in the code where we may want to check the classifiers state, e.g.

classifier.getStatus().equals(Status.AVAILABLE)

This prevents us from needing to hardcode the status strings, or define them as constants in our codebase.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions