Package ro.sync.util.editorvars
Enum Class EditorVariables.FrameworkRewritePolicy
java.lang.Object
java.lang.Enum<EditorVariables.FrameworkRewritePolicy>
ro.sync.util.editorvars.EditorVariables.FrameworkRewritePolicy
- All Implemented Interfaces:
Serializable
,Comparable<EditorVariables.FrameworkRewritePolicy>
,Constable
- Enclosing class:
- EditorVariables
public static enum EditorVariables.FrameworkRewritePolicy
extends Enum<EditorVariables.FrameworkRewritePolicy>
Used to determine how framework variables should be expanded/rewritten.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll framework variables will be expanded to their absolute paths.Variables BASE_FRAMEWORK_DIRECTORY and BASE_FRAMEWORK_DIRECTORY_URL will be expanded to FRAMEWORK_DIRECTORY and FRAMEWORK_URL if they match.Variables BASE_FRAMEWORK_DIRECTORY and BASE_FRAMEWORK_DIRECTORY_URL will be expanded to FRAMEWORK_DIR_FUNCTION_VARIABLE_PREFIX and FRAMEWORK_FUNCTION_VARIABLE_PREFIX if they match.Variables FRAMEWORK_DIRECTORY and FRAMEWORK_URL will be expanded to BASE_FRAMEWORK_DIRECTORY and BASE_FRAMEWORK_DIRECTORY_URL if they match.Variables FRAMEWORK_DIRECTORY and FRAMEWORK_URL will not be expanded and will be used to rewrite FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL if they match.Variables FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL will not be expanded and will be used to rewrite FRAMEWORK_DIRECTORY and FRAMEWORK_URL if encountered and if they match. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REWRITE_ABSOLUTE
All framework variables will be expanded to their absolute paths. -
REWRITE_WITH_FRAMEWORKS
Variables FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL will not be expanded and will be used to rewrite FRAMEWORK_DIRECTORY and FRAMEWORK_URL if encountered and if they match. If they don't match, FRAMEWORK_DIRECTORY and FRAMEWORK_URL will be expanded to their absolute paths. -
REWRITE_WITH_FRAMEWORK
Variables FRAMEWORK_DIRECTORY and FRAMEWORK_URL will not be expanded and will be used to rewrite FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL if they match. If they don't match, FRAMEWORKS_DIRECTORY and FRAMEWORKS_DIRECTORY_URL will be expanded to their absolute path. -
REWRITE_FRAMEWORK_WITH_BASE
Variables FRAMEWORK_DIRECTORY and FRAMEWORK_URL will be expanded to BASE_FRAMEWORK_DIRECTORY and BASE_FRAMEWORK_DIRECTORY_URL if they match. -
REWRITE_BASE_WITH_FRAMEWORK
Variables BASE_FRAMEWORK_DIRECTORY and BASE_FRAMEWORK_DIRECTORY_URL will be expanded to FRAMEWORK_DIRECTORY and FRAMEWORK_URL if they match. -
REWRITE_BASE_WITH_FRAMEWORK_NAME
Variables BASE_FRAMEWORK_DIRECTORY and BASE_FRAMEWORK_DIRECTORY_URL will be expanded to FRAMEWORK_DIR_FUNCTION_VARIABLE_PREFIX and FRAMEWORK_FUNCTION_VARIABLE_PREFIX if they match.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-