ContainerPolicyBuilder
Methods
init()
Creates a fresh ContainerPolicyBuilder
init(from:)
Initializes the builder with existing policies.
Params
policy
privmx.endpoint.core.ContainerPolicy
preexisting policy object.
init(from:)
Initializes the builder with existing policies.
Params
policy
privmx.endpoint.core.ContainerPolicyWithoutItem
preexisting policy object.
build()
This methods returns a ContainerPolicy that was configured by this instance.
Returns
privmx.endpoint.core.ContainerPolicy ·
configured ContainerPolicy
buildWithoutItem()
This methods returns a ContainerPolicyWithoutItem that was configured by this instance.
Returns
privmx.endpoint.core.ContainerPolicyWithoutItem ·
configured ContainerPolicyWithoutItem
setGet(_:)
Configures the get policy
Params
value
ContainerPolicyValue?
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setGet(_:)
Configures the get policy
Params
value
ContainerPolicyValue
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setUpdate(_:)
Configures the update policy
Params
value
ContainerPolicyValue?
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setUpdate(_:)
Configures the update policy
Params
value
ContainerPolicyValue
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setDelete(_:)
Configures the delete policy
Params
value
ContainerPolicyValue
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setUpdatePolicy(_:)
Configures the updatePolicy policy
Params
value
ContainerPolicyValue
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setUpdaterCanBeRemovedFromManagers(_:)
Configures the updaterCanBeRemovedFromManagers policy
Params
value
SpecialPolicyValue?
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setOwnerCanBeRemovedFromManagers(_:)
Configures the ownerCanBeRemovedFromManagers policy
Params
value
SpecialPolicyValue?
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setItem(_:)
Configures the item policy
Params
value
privmx.endpoint.core.ItemPolicy?
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setUpdaterCanBeRemovedFromManagers(_:)
Configures the updaterCanBeRemovedFromManagers policy
Params
value
SpecialPolicyValue
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setOwnerCanBeRemovedFromManagers(_:)
Configures the ownerCanBeRemovedFromManagers policy
Params
value
SpecialPolicyValue
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
setItem(_:)
Configures the item policy
Params
value
privmx.endpoint.core.ItemPolicy
the policy value that will be set
Returns
ContainerPolicyBuilder ·
this object for further configuration
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.
This is documentation for PrivMX v2.3, which is no longer actively maintained.