Interface IPermissionFactory

All Known Implementing Classes:
GenericPermissionFactory

public interface IPermissionFactory
IPermission factory.

GenericPermissionFactory can be used for simple permissions.

Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
See Also:
  • Method Details

    • getDescription

      @Nullable String getDescription()
      Description of permission generated by this factory.
      Returns:
      description or null
    • constructPermission

      @NotNull IPermission constructPermission(@NotNull String name)
      Construct permission for given name.
      Parameters:
      name - permission name
      Returns:
      IPermission instance (not null)
      Throws:
      IllegalArgumentException - if name is invalid