Package com.composum.sling.nodes.console
Interface Condition
-
- All Known Implementing Classes:
Condition.And
,Condition.CanHaveAcl
,Condition.ClassAvailability
,Condition.HttpStatus
,Condition.JcrResource
,Condition.MergedResource
,Condition.NodesRestrictions
,Condition.Or
,Condition.PrimaryType
,Condition.ResourcePermission
,Condition.ResourceType
,Condition.RunmodePermission
,Condition.ServletPermission
,Condition.Set
,Condition.Versionable
public interface Condition
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Condition.And
static class
Condition.CanHaveAcl
checks the ability to manage ACLs at the resourcestatic class
Condition.ClassAvailability
check the availability of a class as a precondition for a console modulestatic interface
Condition.Factory
static class
Condition.HttpStatus
check the availability of an HTTP servicestatic class
Condition.JcrResource
checks that the resource is a JCR resourcestatic class
Condition.MergedResource
checks that the resources primary type matches the patternstatic class
Condition.NodesRestrictions
check the permissions of a given service key (feature)static class
Condition.Options
static class
Condition.Or
static class
Condition.PrimaryType
checks that the resources primary type matches the patternstatic class
Condition.ResourcePermission
check the avaiability of a resource (readable)static class
Condition.ResourceType
checks that the resources primary type matches the patternstatic class
Condition.RunmodePermission
check the avaiability of a servlet registered fo a given resource typestatic class
Condition.ServletPermission
check the avaiability of a servlet registered for a given resource typestatic class
Condition.Set
static class
Condition.Versionable
checks the ability to manage versions at the resource
-
Field Summary
Fields Modifier and Type Field Description static Condition
CAN_HAVE_ACL
static Condition.Options
DEFAULT
static Condition
JCR_RESOURCE
static String
KEY_ACL
static String
KEY_CLASS
static String
KEY_HTTP
static String
KEY_JCR
static String
KEY_MERGED
static String
KEY_PRIMARY_TYPE
static String
KEY_RESOURCE
static String
KEY_RESOURCE_TYPE
static String
KEY_RESTRICTIONS
static String
KEY_RUNMODE
static String
KEY_SERVLET
static String
KEY_VERSIONABLE
static Condition
MERGED_RESOURCE
static Condition
VERSIONABLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(@NotNull com.composum.sling.core.BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
check the configured condition for the given resource
-
-
-
Field Detail
-
KEY_RESOURCE_TYPE
static final String KEY_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
KEY_PRIMARY_TYPE
static final String KEY_PRIMARY_TYPE
- See Also:
- Constant Field Values
-
KEY_VERSIONABLE
static final String KEY_VERSIONABLE
- See Also:
- Constant Field Values
-
KEY_MERGED
static final String KEY_MERGED
- See Also:
- Constant Field Values
-
KEY_ACL
static final String KEY_ACL
- See Also:
- Constant Field Values
-
KEY_JCR
static final String KEY_JCR
- See Also:
- Constant Field Values
-
KEY_CLASS
static final String KEY_CLASS
- See Also:
- Constant Field Values
-
KEY_SERVLET
static final String KEY_SERVLET
- See Also:
- Constant Field Values
-
KEY_HTTP
static final String KEY_HTTP
- See Also:
- Constant Field Values
-
KEY_RUNMODE
static final String KEY_RUNMODE
- See Also:
- Constant Field Values
-
KEY_RESOURCE
static final String KEY_RESOURCE
- See Also:
- Constant Field Values
-
KEY_RESTRICTIONS
static final String KEY_RESTRICTIONS
- See Also:
- Constant Field Values
-
MERGED_RESOURCE
static final Condition MERGED_RESOURCE
-
VERSIONABLE
static final Condition VERSIONABLE
-
CAN_HAVE_ACL
static final Condition CAN_HAVE_ACL
-
JCR_RESOURCE
static final Condition JCR_RESOURCE
-
DEFAULT
static final Condition.Options DEFAULT
-
-