Class CockpitPreferences

    • Field Detail

      • UPLOAD_ACL_PERMISSION_PRIVATE

        public static final String UPLOAD_ACL_PERMISSION_PRIVATE
        Represents ACL permissions to make objects private.
        See Also:
        Constant Field Values
      • UPLOAD_ACL_PERMISSION_PUBLIC_READ

        public static final String UPLOAD_ACL_PERMISSION_PUBLIC_READ
        Represents ACL permissions to make objects readable by anyone.
        See Also:
        Constant Field Values
      • UPLOAD_ACL_PERMISSION_PUBLIC_READ_WRITE

        public static final String UPLOAD_ACL_PERMISSION_PUBLIC_READ_WRITE
        Represents ACL permissions to make objects readable and writable by anyone.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CockpitPreferences

        public CockpitPreferences()
    • Method Detail

      • getEncryptionPassword

        public String getEncryptionPassword()
      • setEncryptionPassword

        public void setEncryptionPassword​(String encryptionPasswrod)
      • getEncryptionAlgorithm

        public String getEncryptionAlgorithm()
      • setEncryptionAlgorithm

        public void setEncryptionAlgorithm​(String encryptionAlgorithm)
      • isEncryptionPasswordSet

        public boolean isEncryptionPasswordSet()
      • getUploadACLPermission

        public String getUploadACLPermission()
        Returns:
        the ACL permission setting, which will match one of the UPLOAD_ACL_PERMISSION_xyz constants contained in this class.
      • setUploadACLPermission

        public void setUploadACLPermission​(String uploadACLPermission)
        Set the ACL permissions string setting.
        Parameters:
        uploadACLPermission - the ACL permission setting, which must match one of the UPLOAD_ACL_PERMISSION_xyz constants contained in this class.
      • isUploadCompressionActive

        public boolean isUploadCompressionActive()
      • setUploadCompressionActive

        public void setUploadCompressionActive​(boolean uploadCompressionActive)
      • isUploadEncryptionActive

        public boolean isUploadEncryptionActive()
      • setUploadEncryptionActive

        public void setUploadEncryptionActive​(boolean uploadEncryptionActive)
      • getUploadStorageClass

        public String getUploadStorageClass()
      • setUploadStorageClass

        public void setUploadStorageClass​(String storageClass)
      • setRememberPreferences

        public void setRememberPreferences​(boolean rememberPreferences)
      • isRememberPreferences

        public boolean isRememberPreferences()
      • fromProperties

        public void fromProperties​(Properties properties)