public static final class IssueTimeTracking.EntrySpec extends Object
Specifications for creating a TimeTrackEntry on an Issue.
The new entry will always be created on the Issue attached to this
IssueTimeTracking.
| Constructor and Description |
|---|
EntrySpec(Duration duration)
Assumes that the date is now, the description is empty, and the type is empty.
|
EntrySpec(Duration duration,
String description)
Assumes the date is now and
type is empty. |
EntrySpec(Duration duration,
String description,
TimeTrackEntryType type)
Assumes the date is now.
|
EntrySpec(Duration duration,
TimeTrackEntryType type)
Assumes the date is now and an empty description.
|
EntrySpec(LocalDate date,
Duration duration)
Assumes an empty description and type.
|
EntrySpec(LocalDate date,
Duration duration,
String description)
Assumes the
type is null. |
EntrySpec(LocalDate date,
Duration duration,
String description,
TimeTrackEntryType type)
Primary ctor.
|
| Modifier and Type | Method and Description |
|---|---|
Xml |
asXml()
A view of this
IssueTimeTracking.EntrySpec as an Xml. |
boolean |
equals(Object object) |
int |
hashCode() |
public EntrySpec(LocalDate date, Duration duration, String description, TimeTrackEntryType type)
date - the date when the entry was workedduration - the duration for the workdescription - description for the work (may be null)type - the work type (eg. "Development") (may be null)public EntrySpec(Duration duration)
duration - the work's durationpublic EntrySpec(Duration duration, String description)
type is empty.duration - the work's durationdescription - descriptive textpublic EntrySpec(LocalDate date, Duration duration)
date - the date when the work took placeduration - the work's durationpublic EntrySpec(Duration duration, TimeTrackEntryType type)
duration - the work's durationtype - the work typepublic EntrySpec(Duration duration, String description, TimeTrackEntryType type)
duration - the work's durationdescription - descriptive texttype - the work typeCopyright © 2017–2018 George Aristy. All rights reserved.