protected abstract static class AbstractHandle.AbstractBuilder<B extends AbstractHandle.AbstractBuilder<?,?>,T extends AbstractHandle>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
attempt |
protected CidPath |
cid |
protected long |
elapsed |
protected boolean |
expired |
protected io.nessus.Wallet.Address |
owner |
protected java.lang.String |
txId |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBuilder(T handle) |
protected |
AbstractBuilder(io.nessus.Wallet.Address owner) |
protected |
AbstractBuilder(io.nessus.Wallet.Address owner,
java.lang.String txId,
io.ipfs.multihash.Multihash cid) |
| Modifier and Type | Method and Description |
|---|---|
B |
attempt(int attempt) |
abstract T |
build() |
B |
cid(io.ipfs.multihash.Multihash cid) |
B |
elapsed(long elapsed) |
B |
expired(boolean expired) |
B |
owner(io.nessus.Wallet.Address owner) |
B |
txId(java.lang.String txId) |
protected io.nessus.Wallet.Address owner
protected CidPath cid
protected java.lang.String txId
protected boolean expired
protected int attempt
protected long elapsed
protected AbstractBuilder(io.nessus.Wallet.Address owner)
protected AbstractBuilder(io.nessus.Wallet.Address owner,
java.lang.String txId,
io.ipfs.multihash.Multihash cid)
protected AbstractBuilder(T handle)
public B owner(io.nessus.Wallet.Address owner)
public B cid(io.ipfs.multihash.Multihash cid)
public B txId(java.lang.String txId)
public B expired(boolean expired)
public B attempt(int attempt)
public B elapsed(long elapsed)
public abstract T build()
Copyright © 2019. All rights reserved.