Package com._1c.g5.v8.dt.bsl.scoping
Enum BslCachedScopeProvider.BslCachedScopeType
- java.lang.Object
-
- java.lang.Enum<BslCachedScopeProvider.BslCachedScopeType>
-
- com._1c.g5.v8.dt.bsl.scoping.BslCachedScopeProvider.BslCachedScopeType
-
- All Implemented Interfaces:
Serializable
,Comparable<BslCachedScopeProvider.BslCachedScopeType>
- Enclosing class:
- BslCachedScopeProvider
public static enum BslCachedScopeProvider.BslCachedScopeType extends Enum<BslCachedScopeProvider.BslCachedScopeType>
Types of Bsl module scope.
Allowed only 3 types ofIScope
for caching:- corresponds to the scope getting from {@link BslGlobalScopeProvider}
- {@link #CONTEXT_METHOD_SCOPE - corresponds to the scope getting by {@link Method} of {@link ContextDef} of Bsl {@link Module}
- {@link #CONTEXT_PROPERTIES_SCOPE - corresponds to the scope getting by {@link Property} of {@link ContextDef} of Bsl {@link Module}
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTEXT_METHOD_SCOPE
CONTEXT_PROPERTIES_SCOPE
DELEGATE_LAZY_SCOPE_METHOD
DELEGATE_LAZY_SCOPE_PROPERTY
IMPLICIT_VARIABLE_SCOPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BslCachedScopeProvider.BslCachedScopeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BslCachedScopeProvider.BslCachedScopeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELEGATE_LAZY_SCOPE_METHOD
public static final BslCachedScopeProvider.BslCachedScopeType DELEGATE_LAZY_SCOPE_METHOD
-
DELEGATE_LAZY_SCOPE_PROPERTY
public static final BslCachedScopeProvider.BslCachedScopeType DELEGATE_LAZY_SCOPE_PROPERTY
-
CONTEXT_PROPERTIES_SCOPE
public static final BslCachedScopeProvider.BslCachedScopeType CONTEXT_PROPERTIES_SCOPE
-
CONTEXT_METHOD_SCOPE
public static final BslCachedScopeProvider.BslCachedScopeType CONTEXT_METHOD_SCOPE
-
IMPLICIT_VARIABLE_SCOPE
public static final BslCachedScopeProvider.BslCachedScopeType IMPLICIT_VARIABLE_SCOPE
-
-
Method Detail
-
values
public static BslCachedScopeProvider.BslCachedScopeType[] 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 (BslCachedScopeProvider.BslCachedScopeType c : BslCachedScopeProvider.BslCachedScopeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BslCachedScopeProvider.BslCachedScopeType 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
-
-