public final enum

ScopeType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.scope.ScopeType

Class Overview

Enumerates the available scopes.

Summary

Enum Values
ScopeType  GLOBAL   
ScopeType  PROJECT   
ScopeType  REPOSITORY   
Public Methods
@Nonnull static ScopeType fromId(int id)
int getId()
static ScopeType valueOf(String name)
final static ScopeType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ScopeType GLOBAL

public static final ScopeType PROJECT

public static final ScopeType REPOSITORY

Public Methods

@Nonnull public static ScopeType fromId (int id)

Parameters
id the unique identifier for the type (not its ordinal())
Returns
  • the matching type
Throws
IllegalArgumentException if the specified ID does not match a type

public int getId ()

public static ScopeType valueOf (String name)

public static final ScopeType[] values ()