com.atlassian.bamboo.core
Enum ScopedExclusionService.ExclusionScopeType

java.lang.Object
  extended by java.lang.Enum<ScopedExclusionService.ExclusionScopeType>
      extended by com.atlassian.bamboo.core.ScopedExclusionService.ExclusionScopeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ScopedExclusionService.ExclusionScopeType>
Enclosing interface:
ScopedExclusionService

public static enum ScopedExclusionService.ExclusionScopeType
extends java.lang.Enum<ScopedExclusionService.ExclusionScopeType>

Predefined exclusion scopes. Only non-Bamboo code may define exclusion scopes outside of this enum, all other exclusion scopes should be defined here.


Enum Constant Summary
CHAIN_BRANCH_NAME
           
CHAIN_KEY
           
DIRECTORY
           
JOB_KEY
           
PROJECT_DATA
           
REPOSITORY_DATA
           
 
Method Summary
static ScopedExclusionService.ExclusionScopeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ScopedExclusionService.ExclusionScopeType[] 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

CHAIN_BRANCH_NAME

public static final ScopedExclusionService.ExclusionScopeType CHAIN_BRANCH_NAME

CHAIN_KEY

public static final ScopedExclusionService.ExclusionScopeType CHAIN_KEY

JOB_KEY

public static final ScopedExclusionService.ExclusionScopeType JOB_KEY

PROJECT_DATA

public static final ScopedExclusionService.ExclusionScopeType PROJECT_DATA

REPOSITORY_DATA

public static final ScopedExclusionService.ExclusionScopeType REPOSITORY_DATA

DIRECTORY

public static final ScopedExclusionService.ExclusionScopeType DIRECTORY
Method Detail

values

public static ScopedExclusionService.ExclusionScopeType[] 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 (ScopedExclusionService.ExclusionScopeType c : ScopedExclusionService.ExclusionScopeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ScopedExclusionService.ExclusionScopeType 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


Copyright © 2012 Atlassian. All Rights Reserved.