@StableMinor(version="12.4", sinceVersion="8.2") public class ActivityPriority extends Object
The priority is specified as a decimal value greater than or equal to 0.00 and less than or equal to 1.00.
The principals to which this priority may be applied are specified by adding ActivityPriority.IncludedEntry
instances using
addIncludedEntry()
. The priority will only be applied to principals that meets all added
ActivityPriority.IncludedEntry
and that do not belong to the principals added in getExcludedPrincipalIds()
. If no
IncludedEntry
is added, this priority object will be ignored.
Modifier and Type | Class and Description |
---|---|
static class |
ActivityPriority.IncludedEntry
An access control specifies which principals an
ActivityPriority applies to. |
Constructor and Description |
---|
ActivityPriority() |
Modifier and Type | Method and Description |
---|---|
ActivityPriority.IncludedEntry |
addIncludedEntry()
Adds a new included entry in this priority, for specifying principals to which it may apply.
|
Set<String> |
getExcludedPrincipalIds()
Returns the set containing identifiers of principals excluded from being applied this priority.
|
double |
getPriority()
Returns the priority value.
|
void |
setPriority(double priority)
Sets the priority value.
|
public double getPriority()
public void setPriority(double priority)
priority
- the priority value. Must be greater than or equal to 0.00 and less than or equal to 1.00.public ActivityPriority.IncludedEntry addIncludedEntry()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.