Package jetbrains.buildServer.serverSide
Enum CopyOptions.Option
- java.lang.Object
-
- java.lang.Enum<CopyOptions.Option>
-
- jetbrains.buildServer.serverSide.CopyOptions.Option
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CopyOptions.Option>
- Enclosing class:
- CopyOptions
public static enum CopyOptions.Option extends java.lang.Enum<CopyOptions.Option>
Different copy options that specifies the behaviour of the copy procedure.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COPY_AGENT_POOL_ASSOCIATIONS
If set agent pool associations will be copied (applies to copy project only)COPY_AGENT_RESTRICTIONS
If set agent restrictions will be copied (applies to build configurations or projects)COPY_BUILD_COUNTERS
Copy build configurations build countersCOPY_MUTED_TESTS
If set project muted tests will be copied to a project copyCOPY_PROJECT_TEMPLATES
Deprecated.not used since 8.0COPY_USER_NOTIFICATION_RULES
If set users and groups notification rules will be copied (applies to build configurations or projects)COPY_USER_ROLES
If set users and groups roles will be copied (applicable only when a project is copied)COPY_VCS_ROOTS
Deprecated.since 8.0 (always enabled)SHARE_VCS_ROOTS
Deprecated.since 8.0
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CopyOptions.Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CopyOptions.Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COPY_VCS_ROOTS
@Deprecated public static final CopyOptions.Option COPY_VCS_ROOTS
Deprecated.since 8.0 (always enabled)If this option is set VCS roots will be copied
-
SHARE_VCS_ROOTS
@Deprecated public static final CopyOptions.Option SHARE_VCS_ROOTS
Deprecated.since 8.0If this option is set VCS roots will be shared if needed, for example if build configuration is copied to another project
-
COPY_USER_ROLES
public static final CopyOptions.Option COPY_USER_ROLES
If set users and groups roles will be copied (applicable only when a project is copied)
-
COPY_USER_NOTIFICATION_RULES
public static final CopyOptions.Option COPY_USER_NOTIFICATION_RULES
If set users and groups notification rules will be copied (applies to build configurations or projects)
-
COPY_AGENT_POOL_ASSOCIATIONS
public static final CopyOptions.Option COPY_AGENT_POOL_ASSOCIATIONS
If set agent pool associations will be copied (applies to copy project only)
-
COPY_AGENT_RESTRICTIONS
public static final CopyOptions.Option COPY_AGENT_RESTRICTIONS
If set agent restrictions will be copied (applies to build configurations or projects)
-
COPY_PROJECT_TEMPLATES
@Deprecated public static final CopyOptions.Option COPY_PROJECT_TEMPLATES
Deprecated.not used since 8.0If set project templates will be copied when a project copy is created (applies to copy project only)
-
COPY_MUTED_TESTS
public static final CopyOptions.Option COPY_MUTED_TESTS
If set project muted tests will be copied to a project copy
-
COPY_BUILD_COUNTERS
public static final CopyOptions.Option COPY_BUILD_COUNTERS
Copy build configurations build counters- Since:
- 2018.1
-
-
Method Detail
-
values
public static CopyOptions.Option[] 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 (CopyOptions.Option c : CopyOptions.Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CopyOptions.Option 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
-
-