public class MappedEmptyLicense extends Object implements MappedLicense
| Constructor and Description |
|---|
MappedEmptyLicense() |
MappedEmptyLicense(String reason) |
| Modifier and Type | Method and Description |
|---|---|
MappedLicense |
addReason(String more) |
boolean |
equals(Object o) |
String |
getReason() |
int |
hashCode() |
void |
ifPresent(de.pfabulist.roast.functiontypes.Consumer_<LicenseID> con) |
boolean |
isPresent() |
Optional<LicenseID> |
noReason() |
LicenseID |
orElseThrow(de.pfabulist.roast.functiontypes.Supplier_<Exception> ex) |
String |
toString() |
public MappedEmptyLicense()
public MappedEmptyLicense(String reason)
public MappedLicense addReason(String more)
addReason in interface MappedLicensepublic String getReason()
getReason in interface MappedLicensepublic Optional<LicenseID> noReason()
noReason in interface MappedLicensepublic boolean isPresent()
isPresent in interface MappedLicensepublic LicenseID orElseThrow(de.pfabulist.roast.functiontypes.Supplier_<Exception> ex)
orElseThrow in interface MappedLicensepublic void ifPresent(de.pfabulist.roast.functiontypes.Consumer_<LicenseID> con)
ifPresent in interface MappedLicenseCopyright © 2017. All rights reserved.