Package org.opentestfactory.messages
Class Category
java.lang.Object
org.opentestfactory.messages.Category
Category object in selector configuration.
- Author:
- edegenetais
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd the category to a selector.category()prefix()version()withCategory(String newCategory) withPrefix(String newPrefix) withVersion(String newVersion)
-
Field Details
-
VERSION_LABEL
- See Also:
-
VALUE_LABEL
- See Also:
-
PREFIX_LABEL
- See Also:
-
VERSION_GROUP_NAME
- See Also:
-
NAME_GROUP_NAME
- See Also:
-
PREFIX_GROUP_NAME
- See Also:
-
FORMAT_PATTERN
-
-
Constructor Details
-
Category
A category definition. Category definitions are defined this way : <categoryPrefix>/<categoryName>@<categoryVersion>Any part may be missing.
- Parameters:
categoryDefinition-
-
-
Method Details
-
withPrefix
-
withCategory
-
withVersion
-
addToSelector
Add the category to a selector. TODO assess refactoring this method so thatCategorydoes not depend on selector. This may make the Selector model simpler.- Parameters:
s-- Returns:
-
category
-
prefix
-
version
-
toExternalForm
-