Package com.atlassian.jira.entity
Class CountEntityBuilder
java.lang.Object
com.atlassian.jira.entity.CountEntityBuilder
- All Implemented Interfaces:
EntityBuilder<Long>
Implementation of EntityBuilder to return a count.
That is, it returns a long value as returned in a SELECT COUNT(*) FROM ... query.
- Since:
- v6.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CountEntityBuilder
public CountEntityBuilder()
-
-
Method Details
-
build
Description copied from interface:EntityBuilder
Builds an instance of this Entity from the given GenericValue.- Specified by:
build
in interfaceEntityBuilder<Long>
- Parameters:
genericValue
- GenericValue for the entity- Returns:
- the entity Object
-