public interface MappedLicense
| Modifier and Type | Method and Description |
|---|---|
MappedLicense |
addReason(String more) |
static MappedLicense |
decide(MappedLicense... mls) |
static MappedEmptyLicense |
empty() |
static MappedLicense |
empty(String reason) |
String |
getReason() |
void |
ifPresent(de.pfabulist.roast.functiontypes.Consumer_<LicenseID> con) |
boolean |
isPresent() |
Optional<LicenseID> |
noReason() |
static MappedSomeLicense |
of(LicenseID licenseID,
String reason) |
static MappedLicense |
of(Optional<LicenseID> licenseID,
String reason) |
LicenseID |
orElseThrow(de.pfabulist.roast.functiontypes.Supplier_<Exception> ex) |
static MappedEmptyLicense empty()
static MappedSomeLicense of(LicenseID licenseID, String reason)
static MappedLicense of(Optional<LicenseID> licenseID, String reason)
boolean isPresent()
void ifPresent(de.pfabulist.roast.functiontypes.Consumer_<LicenseID> con)
MappedLicense addReason(String more)
String getReason()
static MappedLicense empty(String reason)
static MappedLicense decide(MappedLicense... mls)
Copyright © 2017. All rights reserved.