Package jmri
Interface EnumPermission<E extends java.lang.Enum<?>>
-
- Type Parameters:
E
- the enum for this permission
- All Superinterfaces:
java.util.Comparator<PermissionValue>
,Permission
- All Known Implementing Classes:
EditorPermissions.EditorPermission
public interface EnumPermission<E extends java.lang.Enum<?>> extends Permission
Defines a permission based on an enum.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E[]
getValues()
Get the values of the enum.-
Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface jmri.Permission
getDefaultPermission, getDefaultPermission, getName, getOwner, getValue, valueOf
-
-