public class UnitOfWorkDef<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected Set<String> |
tags |
Modifier | Constructor and Description |
---|---|
|
UnitOfWorkDef() |
protected |
UnitOfWorkDef(UnitOfWorkDef<T> unitOfWorkDef) |
Modifier and Type | Method and Description |
---|---|
T |
addTag(String tag)
Method addTag will associate a "tag" with this UnitOfWork.
|
T |
addTags(String... tags)
Method addTags will associate the given "tags" with this UnitOfWork.
|
String |
getName() |
String |
getTags() |
T |
setName(String name)
Method setName sets the UnitOfWork name.
|
public UnitOfWorkDef()
protected UnitOfWorkDef(UnitOfWorkDef<T> unitOfWorkDef)
public T setName(String name)
name
- type Stringpublic T addTag(String tag)
tag
- type Stringpublic T addTags(String... tags)
tags
- type StringCopyright © 2007-2015 Concurrent, Inc. All Rights Reserved.