Methods
addAggregations(aggregations) → {module:domain~SecurityPolicyBuilder}
Set the aggregations.
Name | Type | Description |
---|---|---|
aggregations | Array.<module:domain~Aggregation> | | the aggregations to add |
- Source
this object
addLocationPrecisions(locationPrecisions) → {module:domain~SecurityPolicyBuilder}
Add location precisions.
Name | Type | Description |
---|---|---|
locationPrecisions | Array.<module:domain~LocationPrecision> | | the precisions to add |
- Source
this object
addNodeIds(nodeIds) → {module:domain~SecurityPolicyBuilder}
Add a set of node IDs.
Name | Type | Description |
---|---|---|
nodeIds | Array.<number> | | the node IDs to add |
- Source
this object
addNodeMetadataPaths(nodeMetadataPaths) → {module:domain~SecurityPolicyBuilder}
Add a set of node metadata paths.
Name | Type | Description |
---|---|---|
nodeMetadataPaths | Array.<string> | | the path expressions to add |
- Source
this object
addPolicy(policy) → {module:domain~SecurityPolicyBuilder}
Merge all properties from another SecurityPolicy.
Name | Type | Description |
---|---|---|
policy | module:domain~SecurityPolicy | the SecurityPolicy to merge |
- Source
this object
addSourceIds(sourceIds) → {module:domain~SecurityPolicyBuilder}
Add source IDs.
Name | Type | Description |
---|---|---|
sourceIds | Array.<string> | | the source IDs to add |
- Source
this object
addUserMetadataPaths(userMetadataPaths) → {module:domain~SecurityPolicyBuilder}
Add a set of user metadata paths.
Name | Type | Description |
---|---|---|
userMetadataPaths | Array.<string> | | the path expressions to add |
- Source
this object
build() → {module:domain~SecurityPolicy}
Create a new SecurityPolicy out of the properties configured on this builder.
- Source
the new policy instance
withAggregations(aggregations) → {module:domain~SecurityPolicyBuilder}
Set the aggregations.
Name | Type | Description |
---|---|---|
aggregations | Array.<module:domain~Aggregation> | | the aggregations to use |
- Source
this object
withLocationPrecisions(locationPrecisions) → {module:domain~SecurityPolicyBuilder}
Set the location precisions.
Name | Type | Description |
---|---|---|
locationPrecisions | Array.<module:domain~LocationPrecision> | | the precisions to use |
- Source
this object
withMinAggregation(minAggregation) → {module:domain~SecurityPolicyBuilder}
Set a minimum aggregation level.
Name | Type | Description |
---|---|---|
minAggregation | module:domain~Aggregation | the minimum aggregation level to set |
- Source
this object
withMinLocationPrecision(minLocationPrecision) → {module:domain~SecurityPolicyBuilder}
Treat the configured locationPrecisions
set as a single minimum value or a list of exact values.
By default if locationPrecisions
is configured with a single value it will be treated as a minimum value, and any module:domain~LocationPrecision with a module:domain~LocationPrecision#precision equal to or higher than that value's level will be included in the generated module:domain~SecurityPolicy#locationPrecisions set. Set this to null
to disable that behavior and treat locationPrecisions
as the exact values to include in the generated module:domain~SecurityPolicy#locationPrecisions set.
Name | Type | Description |
---|---|---|
minLocationPrecision | module:domain~LocationPrecision | |
|
- Source
this object
withNodeIds(nodeIds) → {module:domain~SecurityPolicyBuilder}
Set the node IDs.
Name | Type | Description |
---|---|---|
nodeIds | Array.<number> | | the node IDs to use |
- Source
this object
withNodeMetadataPaths(nodeMetadataPaths) → {module:domain~SecurityPolicyBuilder}
Set the node metadata paths.
Name | Type | Description |
---|---|---|
nodeMetadataPaths | Array.<string> | | the path expressions to use |
- Source
this object
withPolicy(policy) → {module:domain~SecurityPolicyBuilder}
Apply all properties from another SecurityPolicy.
Name | Type | Description |
---|---|---|
policy | module:domain~SecurityPolicy | the SecurityPolicy to apply |
- Source
this object
withSourceIds(sourceIds) → {module:domain~SecurityPolicyBuilder}
Set the source IDs.
Name | Type | Description |
---|---|---|
sourceIds | Array.<string> | | the source IDs to use |
- Source
this object
withUserMetadataPaths(userMetadataPaths) → {module:domain~SecurityPolicyBuilder}
Set the user metadata paths.
Name | Type | Description |
---|---|---|
userMetadataPaths | Array.<string> | | the path expressions to use |
- Source
this object