jetbrains.buildServer.serverSide
Enum CopyOptions.Option

java.lang.Object
  extended by java.lang.Enum<CopyOptions.Option>
      extended by 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>


Enum Constant Summary
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_MUTED_TESTS
          If set project muted tests will be copied to a project copy
COPY_PROJECT_TEMPLATES
          If set project templates will be copied when a project copy is created (applies to copy project only)
COPY_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
          If this option is set VCS roots will be copied too
SHARE_VCS_ROOTS
          If this option is set VCS roots will be shared if needed, for example if build configuration is copied to another project
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COPY_VCS_ROOTS

public static final CopyOptions.Option COPY_VCS_ROOTS
If this option is set VCS roots will be copied too


SHARE_VCS_ROOTS

public static final CopyOptions.Option SHARE_VCS_ROOTS
If 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

public static final CopyOptions.Option COPY_PROJECT_TEMPLATES
If 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

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 name
java.lang.NullPointerException - if the argument is null