Package io.vertigo.audit.trace
Class TraceCriteriaBuilder
java.lang.Object
io.vertigo.audit.trace.TraceCriteriaBuilder
- All Implemented Interfaces:
io.vertigo.core.lang.Builder<TraceCriteria>
public final class TraceCriteriaBuilder
extends Object
implements io.vertigo.core.lang.Builder<TraceCriteria>
Fluent Builder for a audit trace
- Author:
- xdurand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withCategory(String category) Optionnal categorywithDateBusinessEnd(Instant endBusinessDate) Optionnal ending business date rangewithDateBusinessStart(Instant startBusinessDate) Optionnal starting business date rangewithDateExecutionEnd(Instant endExecutionDate) Optionnal ending business date rangewithDateExecutionStart(Instant startExecutionDate) Optionnal starting execution date rangewithItemUrn(String itemUrn) Optionnal item UrnwithUsername(String username) Optionnal user
-
Constructor Details
-
TraceCriteriaBuilder
public TraceCriteriaBuilder()
-
-
Method Details
-
withCategory
Optionnal category- Parameters:
category-- Returns:
- the builder (for fluent style)
-
withUsername
Optionnal user- Parameters:
username-- Returns:
- the builder (for fluent style)
-
withDateBusinessStart
Optionnal starting business date range- Parameters:
startBusinessDate-- Returns:
- the builder (for fluent style)
-
withDateBusinessEnd
Optionnal ending business date range- Parameters:
endBusinessDate-- Returns:
- the builder (for fluent style)
-
withDateExecutionStart
Optionnal starting execution date range- Parameters:
startExecutionDate-- Returns:
- the builder (for fluent style)
-
withDateExecutionEnd
Optionnal ending business date range- Parameters:
endExecutionDate-- Returns:
- the builder (for fluent style)
-
withItemUrn
Optionnal item Urn- Parameters:
itemUrn-- Returns:
- the builder (for fluent style)
-
build
- Specified by:
buildin interfaceio.vertigo.core.lang.Builder<TraceCriteria>
-