- java.lang.Object
-
- aeonics.template.Item<Rule.Type>
-
- aeonics.entity.security.Rule
-
- aeonics.entity.security.Rule.And
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rule.And.Type
-
Nested classes/interfaces inherited from class aeonics.entity.security.Rule
Rule.And, Rule.AskProviders, Rule.Group, Rule.MatchAll, Rule.MatchAttribute, Rule.MatchContext, Rule.MatchNone, Rule.Not, Rule.Or, Rule.Role, Rule.Xor
-
-
Constructor Summary
Constructors Constructor Description And()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.function.Supplier<? extends Rule.And.Type>
defaultCreator()
Returns the default target entity creator.protected java.lang.Class<? extends Rule.And.Type>
defaultTarget()
Returns the default target entity type.Template<? extends Rule.And.Type>
template()
Returns the template to build the target entity.
-
-
-
Method Detail
-
defaultTarget
protected java.lang.Class<? extends Rule.And.Type> defaultTarget()
Description copied from class:Item
Returns the default target entity type. This method should be implemented by subclasses to specify the target entity type.- Specified by:
defaultTarget
in classItem<Rule.Type>
- Returns:
- the default target entity type
-
defaultCreator
protected java.util.function.Supplier<? extends Rule.And.Type> defaultCreator()
Description copied from class:Item
Returns the default target entity creator. This method should be implemented by subclasses to specify the entity creator.- Specified by:
defaultCreator
in classItem<Rule.Type>
- Returns:
- the default target entity creator
-
template
public Template<? extends Rule.And.Type> template()
Description copied from class:Item
Returns the template to build the target entity.This method should ultimately be used to provide the final entity template. Although, it may also provide a partial template that subclassed may complement.
-
-