Package com._1c.g5.v8.dt.search.core
Enum SearchFor
- java.lang.Object
-
- java.lang.Enum<SearchFor>
-
- com._1c.g5.v8.dt.search.core.SearchFor
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchFor>
public enum SearchFor extends Enum<SearchFor>
Type of text elements to search for.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENTS
Comments like comments on metadata objects.LANGUAGE_ELEMENTS
Language elements like names of metadata objects, names of form elements and so on.UI_STRINGS
UI elements like synonyms.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchFor
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchFor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LANGUAGE_ELEMENTS
public static final SearchFor LANGUAGE_ELEMENTS
Language elements like names of metadata objects, names of form elements and so on.
-
UI_STRINGS
public static final SearchFor UI_STRINGS
UI elements like synonyms.
-
COMMENTS
public static final SearchFor COMMENTS
Comments like comments on metadata objects.
-
-
Method Detail
-
values
public static SearchFor[] 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 (SearchFor c : SearchFor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchFor valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-