diff options
author | Thialfihar <thi@thialfihar.org> | 2014-04-29 18:57:43 +0200 |
---|---|---|
committer | Thialfihar <thi@thialfihar.org> | 2014-04-29 18:57:43 +0200 |
commit | 324971e4484b2d227e261993977837ef63a87dc3 (patch) | |
tree | e97080817d431d34285df4bea81caf95e97fb181 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java | |
parent | 9e6bf2abbb1395798c7b6957b193d738940a2b57 (diff) | |
download | open-keychain-324971e4484b2d227e261993977837ef63a87dc3.tar.gz open-keychain-324971e4484b2d227e261993977837ef63a87dc3.tar.bz2 open-keychain-324971e4484b2d227e261993977837ef63a87dc3.zip |
Rename setter methods for PgpSignEncrypt.Builder
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java index 4b1ecc0f1..30cac9b77 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java @@ -141,53 +141,53 @@ public class PgpSignEncrypt { this.mOutStream = outStream; } - public Builder progressable(Progressable progressable) { - this.mProgressable = progressable; + public Builder setProgressable(Progressable progressable) { + mProgressable = progressable; return this; } - public Builder enableAsciiArmorOutput(boolean enableAsciiArmorOutput) { - this.mEnableAsciiArmorOutput = enableAsciiArmorOutput; + public Builder setEnableAsciiArmorOutput(boolean enableAsciiArmorOutput) { + mEnableAsciiArmorOutput = enableAsciiArmorOutput; return this; } - public Builder compressionId(int compressionId) { - this.mCompressionId = compressionId; + public Builder setCompressionId(int compressionId) { + mCompressionId = compressionId; return this; } - public Builder encryptionMasterKeyIds(long[] encryptionMasterKeyIds) { + public Builder setEncryptionMasterKeyIds(long[] encryptionMasterKeyIds) { this.mEncryptionMasterKeyIds = encryptionMasterKeyIds; return this; } - public Builder symmetricPassphrase(String symmetricPassphrase) { + public Builder setSymmetricPassphrase(String symmetricPassphrase) { this.mSymmetricPassphrase = symmetricPassphrase; return this; } - public Builder symmetricEncryptionAlgorithm(int symmetricEncryptionAlgorithm) { - this.mSymmetricEncryptionAlgorithm = symmetricEncryptionAlgorithm; + public Builder setSymmetricEncryptionAlgorithm(int symmetricEncryptionAlgorithm) { + mSymmetricEncryptionAlgorithm = symmetricEncryptionAlgorithm; return this; } - public Builder signatureMasterKeyId(long signatureMasterKeyId) { + public Builder setSignatureMasterKeyId(long signatureMasterKeyId) { this.mSignatureMasterKeyId = signatureMasterKeyId; return this; } - public Builder signatureHashAlgorithm(int signatureHashAlgorithm) { - this.mSignatureHashAlgorithm = signatureHashAlgorithm; + public Builder setSignatureHashAlgorithm(int signatureHashAlgorithm) { + mSignatureHashAlgorithm = signatureHashAlgorithm; return this; } - public Builder signatureForceV3(boolean signatureForceV3) { - this.mSignatureForceV3 = signatureForceV3; + public Builder setSignatureForceV3(boolean signatureForceV3) { + mSignatureForceV3 = signatureForceV3; return this; } - public Builder signaturePassphrase(String signaturePassphrase) { - this.mSignaturePassphrase = signaturePassphrase; + public Builder setSignaturePassphrase(String signaturePassphrase) { + mSignaturePassphrase = signaturePassphrase; return this; } @@ -197,7 +197,7 @@ public class PgpSignEncrypt { * @param encryptToSigner * @return */ - public Builder encryptToSigner(boolean encryptToSigner) { + public Builder setEncryptToSigner(boolean encryptToSigner) { this.mEncryptToSigner = encryptToSigner; return this; } @@ -208,7 +208,7 @@ public class PgpSignEncrypt { * @param cleartextInput * @return */ - public Builder cleartextInput(boolean cleartextInput) { + public Builder setCleartextInput(boolean cleartextInput) { this.mCleartextInput = cleartextInput; return this; } |