public static class SignApi.Behaviour.Stamp.DefaultTextBuilder extends Object implements SignApi.Behaviour.Stamp.TextBuilder
Modifier and Type | Method and Description |
---|---|
String |
format(String signedBy,
String signer,
String reasonForSigningIs,
String reason,
String locationAndDateIs,
String location,
Instant unixTime) |
static Optional<SignApi.Behaviour.Stamp.TextBuilder> |
get(boolean useSigner,
boolean useReason,
boolean useLocation,
boolean useTime)
Gets a default text builder with up to four entries.
|
public static Optional<SignApi.Behaviour.Stamp.TextBuilder> get(boolean useSigner, boolean useReason, boolean useLocation, boolean useTime)
useSigner
- Whether the signer line shall be used.useReason
- Whether the reason line shall be used.useLocation
- Whether the location line shall be used.useTime
- Whether the time shall be used.Copyright © 2024. All rights reserved.