uk.me.nxg.enormity.gpg
Interface GPGConnection.Result<T>

Enclosing class:
GPGConnection

public static interface GPGConnection.Result<T>

Represents the result of an interaction with GPG


Method Summary
 T get()
          Obtains the result of the interaction with GPG.
 boolean wasSuccessful()
          Indicates whether the process completed successfully.
 

Method Detail

get

T get()
Obtains the result of the interaction with GPG. This will wait until the process is completed if necessary.


wasSuccessful

boolean wasSuccessful()
Indicates whether the process completed successfully. Success or failure here does not imply that get() will or won't return a useful result.

Returns:
true if the GPG process completed successfully


Copyright © 2012. All Rights Reserved.