jentry.entry.cli.order¶
SortOrder¶
-
enum
jentry.entry.cli.order.
SortOrder
(value)[source]¶ An enumeration.
- Member Type
int
Valid values are as follows:
-
FILE
= <SortOrder.FILE: 1>¶ Order by filename
-
PACKAGE
= <SortOrder.PACKAGE: 2>¶ Order by package
-
CLASS
= <SortOrder.CLASS: 3>¶ Order by class
-
ENTRY
= <SortOrder.ENTRY: 4>¶ Order by the full entry string
The
Enum
and its members also have the following methods:-
property
order_func
¶ Get the order function of this order object. This result can be used in the
key
option insorted
function.- Raises
ValueError – Raise
ValueError
when self is invalid.