public void setType(@NotEmpty(message = "WorkTask type cannot be null or empty") String type) {
        this.type = type;
    }
@param type the type to set
common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowTask.java