cascading.property
Class UnitOfWorkDef<T>
java.lang.Object
cascading.property.UnitOfWorkDef<T>
- Direct Known Subclasses:
- CascadeDef, FlowDef
public class UnitOfWorkDef<T>
- extends Object
Class UnitOfWorkDef is the base class for framework specific fluent definition interfaces.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
tags
protected Set<String> tags
UnitOfWorkDef
public UnitOfWorkDef()
getName
public String getName()
setName
public T setName(String name)
- Method setName sets the UnitOfWork name.
- Parameters:
name
- type String
- Returns:
- this
getTags
public String getTags()
addTag
public T addTag(String tag)
- Method addTag will associate a "tag" with this UnitOfWork. A UnitOfWork can have an unlimited number of tags.
Tags allow for search and organization by management tools.
Tag values are opaque, but adopting a simple convention of 'category:value' allows for complex use cases.
Note that tags should not contain whitespace characters, even though this is not an error, a warning will be
issues.
- Parameters:
tag
- type String
- Returns:
- this
addTags
public T addTags(String... tags)
- Method addTags will associate the given "tags" with this UnitOfWork. A UnitOfWork can have an unlimited number of tags.
Tags allow for search and organization by management tools.
Tag values are opaque, but adopting a simple convention of 'category:value' allows for complex use cases.
Note that tags should not contain whitespace characters, even though this is not an error, a warning will be
issues.
- Parameters:
tags
- type String
- Returns:
- this
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.