Deprecate WorkflowState#getName()

s.name().equals(state) would be better