public abstract class BaseItemSelectorCriterion extends java.lang.Object implements ItemSelectorCriterion
| Constructor and Description |
|---|
BaseItemSelectorCriterion() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ItemSelectorReturnType> |
getDesiredItemSelectorReturnTypes()
Returns the desired return types that the caller expects and can handle,
ordered by preference.
|
void |
setDesiredItemSelectorReturnTypes(ItemSelectorReturnType... desiredItemSelectorReturnType) |
void |
setDesiredItemSelectorReturnTypes(java.util.List<ItemSelectorReturnType> desiredItemSelectorReturnTypes)
Sets a list of desired return types that the caller expects and can
handle, ordered by preference.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMimeTypeRestrictionpublic java.util.List<ItemSelectorReturnType> getDesiredItemSelectorReturnTypes()
ItemSelectorCriterionThe order of return types is important because the first return type that can be used will be used.
getDesiredItemSelectorReturnTypes in interface ItemSelectorCriterionpublic void setDesiredItemSelectorReturnTypes(ItemSelectorReturnType... desiredItemSelectorReturnType)
setDesiredItemSelectorReturnTypes in interface ItemSelectorCriterionpublic void setDesiredItemSelectorReturnTypes(java.util.List<ItemSelectorReturnType> desiredItemSelectorReturnTypes)
ItemSelectorCriterionThe order of return types is important because the first return type that can be used will be used.
setDesiredItemSelectorReturnTypes in interface ItemSelectorCriteriondesiredItemSelectorReturnTypes - a preference ordered list of the
return types the caller can handle