ItemPolicyBuilder
Methods
init()
init(from:)
Initializes the builder with existing policies.
Params
policy
privmx.endpoint.core.ItemPolicy
preexisting Policy object.
build()
This methods returns a ItemPolicy that was configured by this instance.
Returns
privmx.endpoint.core.ItemPolicy ·
configured ItemPolicy
setGet(_:)
Configures the get policy
Params
value
ItemPolicyValue?
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setListMy(_:)
Configures the listMy policy
Params
value
ContainerPolicyValue?
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setListAll(_:)
Configures the listAll policy
Params
value
ContainerPolicyValue?
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setCreate(_:)
Configures the create policy
Params
value
ContainerPolicyValue?
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setUpdate(_:)
Configures the update policy
Params
value
ItemPolicyValue?
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setDelete(_:)
Configures the delete policy
Params
value
ItemPolicyValue?
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setGet(_:)
Configures the get policy
Params
value
ItemPolicyValue
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setListMy(_:)
Configures the listMy policy
Params
value
ContainerPolicyValue
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setListAll(_:)
Configures the listAll policy
Params
value
ContainerPolicyValue
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setCreate(_:)
Configures the create policy
Params
value
ContainerPolicyValue
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setUpdate(_:)
Configures the update policy
Params
value
ItemPolicyValue
the policy value that will be set
Returns
ItemPolicyBuilder ·
this object for further configuration
setDelete(_:)
Configures the delete policy
Params
value
ItemPolicyValue
the policy value that will be set
Returns
ItemPolicyBuilder ·
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.