@API(value=Experimental)
public final class TagFilter
extends java.lang.Object
PostDiscoveryFilters
based on include and exclude tags.| Modifier and Type | Method and Description |
|---|---|
static PostDiscoveryFilter |
excludeTags(java.util.List<java.lang.String> tags)
Create an exclude filter based on the supplied
tags. |
static PostDiscoveryFilter |
excludeTags(java.lang.String... tags)
Create an exclude filter based on the supplied
tags. |
static PostDiscoveryFilter |
requireTags(java.util.List<java.lang.String> tags)
Create an include filter based on the supplied
tags. |
static PostDiscoveryFilter |
requireTags(java.lang.String... tags)
Create an include filter based on the supplied
tags. |
public static PostDiscoveryFilter requireTags(java.lang.String... tags)
tags.
Containers and tests will only be executed if they are tagged with at least one of the supplied include tags.
public static PostDiscoveryFilter requireTags(java.util.List<java.lang.String> tags)
tags.
Containers and tests will only be executed if they are tagged with at least one of the supplied include tags.
public static PostDiscoveryFilter excludeTags(java.lang.String... tags)
tags.
Containers and tests will only be executed if they are not tagged with any of the supplied exclude tags.
public static PostDiscoveryFilter excludeTags(java.util.List<java.lang.String> tags)
tags.
Containers and tests will only be executed if they are not tagged with any of the supplied exclude tags.