| Constructor and Description |
|---|
EntryBuilder()
Creates a new builder with a random UUID.
|
EntryBuilder(Entry entry)
Initializes the builder with values from the given entry.
|
EntryBuilder(String title)
Creates a new builder with the given title.
|
EntryBuilder(UUID uuid)
Creates a new builder with the given UUID.
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
build()
Builds a new entry with the values from the builder.
|
Entry |
buildWithHistory()
Builds a new entry and place the original one in the history list.
|
EntryBuilder |
history(History history) |
EntryBuilder |
notes(String notes) |
EntryBuilder |
password(String password) |
EntryBuilder |
title(String title) |
EntryBuilder |
url(String url) |
EntryBuilder |
username(String username) |
EntryBuilder |
uuid(UUID uuid) |
public EntryBuilder()
public EntryBuilder(UUID uuid)
uuid - the UUID which should be usedpublic EntryBuilder(String title)
title - the title which should be usedpublic EntryBuilder(Entry entry)
entry - the values from this will initialize the builderpublic EntryBuilder title(String title)
public EntryBuilder uuid(UUID uuid)
public EntryBuilder username(String username)
public EntryBuilder password(String password)
public EntryBuilder notes(String notes)
public EntryBuilder history(History history)
public EntryBuilder url(String url)
public Entry build()
public Entry buildWithHistory()
Copyright © 2016. All rights reserved.