Enum SearchConfiguration.SearchCategory
- java.lang.Object
-
- java.lang.Enum<SearchConfiguration.SearchCategory>
-
- com.jscape.inet.mft.management.descriptors.SearchConfiguration.SearchCategory
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SearchConfiguration.SearchCategory>
- Enclosing class:
- SearchConfiguration
public static enum SearchConfiguration.SearchCategory extends java.lang.Enum<SearchConfiguration.SearchCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENTSearch is done on file content.LAST_MODIFIEDSearch is done on last modified dateNAMESearch is done on filename or path.SIZESearch is done on file sizeTAGSearch is done on file tags
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchConfiguration.SearchCategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SearchConfiguration.SearchCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final SearchConfiguration.SearchCategory NAME
Search is done on filename or path.
-
CONTENT
public static final SearchConfiguration.SearchCategory CONTENT
Search is done on file content.
-
TAG
public static final SearchConfiguration.SearchCategory TAG
Search is done on file tags
-
SIZE
public static final SearchConfiguration.SearchCategory SIZE
Search is done on file size
-
LAST_MODIFIED
public static final SearchConfiguration.SearchCategory LAST_MODIFIED
Search is done on last modified date
-
-
Method Detail
-
values
public static SearchConfiguration.SearchCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SearchConfiguration.SearchCategory c : SearchConfiguration.SearchCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchConfiguration.SearchCategory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-