Package com._1c.g5.v8.dt.core.lifecycle
Enum ProjectStartType
- java.lang.Object
-
- java.lang.Enum<ProjectStartType>
-
- com._1c.g5.v8.dt.core.lifecycle.ProjectStartType
-
- All Implemented Interfaces:
Serializable
,Comparable<ProjectStartType>
public enum ProjectStartType extends Enum<ProjectStartType>
Project start type for the project start service lifecycle.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLEAN_IMPORT
Import of clean project data (either DT or 1C)EXISTING_DATA_IMPORT
Import of the DT project (or reopen of existing project) with existing data.NEW_PROJECT
Creation of a new project.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProjectStartType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProjectStartType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLEAN_IMPORT
public static final ProjectStartType CLEAN_IMPORT
Import of clean project data (either DT or 1C)
-
EXISTING_DATA_IMPORT
public static final ProjectStartType EXISTING_DATA_IMPORT
Import of the DT project (or reopen of existing project) with existing data.
-
NEW_PROJECT
public static final ProjectStartType NEW_PROJECT
Creation of a new project.
-
-
Method Detail
-
values
public static ProjectStartType[] 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 (ProjectStartType c : ProjectStartType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectStartType 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
-
-