This libfrary allows to parse the cucumber tags and to handle them
./gradlew build
gradle install
Before handling the tag you need to get them using
import cucumber.api.Scenario;
public Scenario scenario;
Tags.getId(scenario.getSourceTagNames())
Tags.getFeature(scenario.getSourceTagNames())
Tags.getProject(scenario.getSourceTagNames())
Tags.getProjectId(scenario.getSourceTagNames())
Tags.getTestSuite(scenario.getSourceTagNames())
Tags.getSpecificTag(scenario.getSourceTagNames(),"AnySpecificTag")