public class LoadedKeyStore extends Object implements com.helger.commons.state.ISuccessIndicator
| Constructor and Description |
|---|
LoadedKeyStore(KeyStore aKeyStore,
EKeyStoreLoadError eError,
String... aErrorParams) |
| Modifier and Type | Method and Description |
|---|---|
EKeyStoreLoadError |
getError() |
String[] |
getErrorParams() |
String |
getErrorText(Locale aContentLocale)
Get the error text
|
KeyStore |
getKeyStore() |
boolean |
isSuccess() |
String |
toString() |
public boolean isSuccess()
isSuccess in interface com.helger.commons.state.ISuccessIndicator@Nullable public KeyStore getKeyStore()
null in case of success.
Always null in case of failure.@Nullable public EKeyStoreLoadError getError()
null in case of failure. Always
null in case of success.@Nullable public String[] getErrorParams()
null in case of failure.
Always null in case of success.@Nullable public String getErrorText(@Nonnull Locale aContentLocale)
aContentLocale - The locale to use. May not be null.null if no error occurred, the error text otherwise.Copyright © 2016–2019 Philip Helger. All rights reserved.