Top Description Fields Constructors Methods
org.jabref.model.metadata

public Class SelfContainedSaveOrder

extends SaveOrder
Class Inheritance
Imports
java.util.List, org.slf4j.Logger, .LoggerFactory

With this class, the user of an instance can directly sort things. Without looking up anything in the preferences or in the UI. To avoid confusion at the caller, we offer ORIGINAL and SPECIFIED only. Not TABLE.

Field Summary

Modifier and TypeField and Description
public static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static SelfContainedSaveOrder
of(SaveOrder saveOrder)

Converts a SaveOrder to a SelfContainedSaveOrder

Inherited from org.jabref.model.metadata.SaveOrder:
equalsgetAsStringListgetDefaultSaveOrdergetOrderTypegetSortCriteriahashCodeparsetoString

Field Detail

LOGGERback to summary
public static final Logger LOGGER

Hides org.jabref.model.metadata.SaveOrder.LOGGER.

Constructor Detail

SelfContainedSaveOrderback to summary
public SelfContainedSaveOrder(SaveOrder.OrderType orderType, List<SaveOrder.SortCriterion> sortCriteria)

Method Detail

ofback to summary
public static SelfContainedSaveOrder of(SaveOrder saveOrder)

Converts a SaveOrder to a SelfContainedSaveOrder

Exceptions
IllegalArgumentException:
if saveOrder has OrderType#TABLE