io.proximax.privacy.strategy.CustomPrivacyStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-chain-xipfs-sdk Show documentation
Show all versions of java-chain-xipfs-sdk Show documentation
Official ProximaX P2P Storage SDK Library in Java.
The newest version!
package io.proximax.privacy.strategy;
import io.proximax.model.PrivacyType;
/**
* The abstract class to be used when creating custom privacy strategy
*
*
* This fixes the privacy type as CUSTOM
* @see PrivacyType
*/
public abstract class CustomPrivacyStrategy extends PrivacyStrategy {
/**
* Get the privacy type which is set as CUSTOM
* @return the privacy type's int value
* @see PrivacyType
*/
@Override
public int getPrivacyType() {
return PrivacyType.CUSTOM.getValue();
}
}