Enum InfobaseEqualityState
- java.lang.Object
-
- java.lang.Enum<InfobaseEqualityState>
-
- com._1c.g5.v8.dt.platform.services.core.infobases.sync.InfobaseEqualityState
-
- All Implemented Interfaces:
Serializable
,Comparable<InfobaseEqualityState>
public enum InfobaseEqualityState extends Enum<InfobaseEqualityState>
State of equality of the configuration between project and infobase.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL
Configuration in the infobase is equals with the project content infobase configuration.LOADING
Configuration is loading to the infobase from the project content configuration.NOT_EQUAL
Configuration in the infobase is not equals with the project content configuration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfobaseEqualityState
fromString(String value)
Creates infobase equality state from the string value.String
getDescription()
Returns the localized description of the state.static InfobaseEqualityState
valueOf(String name)
Returns the enum constant of this type with the specified name.static InfobaseEqualityState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_EQUAL
public static final InfobaseEqualityState NOT_EQUAL
Configuration in the infobase is not equals with the project content configuration.
-
LOADING
public static final InfobaseEqualityState LOADING
Configuration is loading to the infobase from the project content configuration.
-
EQUAL
public static final InfobaseEqualityState EQUAL
Configuration in the infobase is equals with the project content infobase configuration.
-
-
Method Detail
-
values
public static InfobaseEqualityState[] 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 (InfobaseEqualityState c : InfobaseEqualityState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InfobaseEqualityState 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
-
fromString
public static InfobaseEqualityState fromString(String value)
Creates infobase equality state from the string value.- Parameters:
value
- the string value, cannot benull
- Returns:
- the infobase equality state from string value, never
null
-
getDescription
public String getDescription()
Returns the localized description of the state.- Returns:
- the localized description of the state, never
null
-
-