Package org.alfresco.repo.policy
Interface PolicyDefinition<P extends Policy>
- Type Parameters:
P- the policy interface
Definition of a Policy
- Author:
- David Caruana
-
Method Summary
Modifier and TypeMethodDescriptiongetArgument(int index) Gets Policy Argument definition for the specified argument indexGets Policy Argument definitions for all arguments in order of argumentsgetName()Gets the name of the PolicyGets the Policy interface classgetType()Gets the Policy type
-
Method Details
-
getName
QName getName()Gets the name of the Policy- Returns:
- policy name
-
getPolicyInterface
Gets the Policy interface class- Returns:
- the class
-
getType
PolicyType getType()Gets the Policy type- Returns:
- the policy type
-
getArgument
Gets Policy Argument definition for the specified argument index- Parameters:
index- argument index- Returns:
- ARG.KEY or ARG.START_VALUE or ARG.END_VALUE
-
getArguments
Policy.Arg[] getArguments()Gets Policy Argument definitions for all arguments in order of arguments- Returns:
- Arg[]
-