LabelStatements interface

Represents statements of whether operations are allowed using labels in allow and deny sets.

Construction

Create a LabelStatementsBuilder object, add rules, and call toLabelStatements().

Interface

function allow(operation, labelList)

Returns true is if the operation is allowed for the given labelList.

function or(labelStatements)

Return a new LabelStatements object which combines this and the other labelStatements object using the OR operator.

function and(labelStatements)

Return a new LabelStatements object which combines this and the other labelStatements object using the AND operator.