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.
  • Enum Constant Details

    • REWRITE_ABSOLUTE

      public static final EditorVariables.FrameworkRewritePolicy REWRITE_ABSOLUTE
      All framework variables will be expanded to their absolute paths.
    • REWRITE_WITH_FRAMEWORKS

      public static final EditorVariables.FrameworkRewritePolicy 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

      public static final EditorVariables.FrameworkRewritePolicy 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

      public static final EditorVariables.FrameworkRewritePolicy 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

      public static final EditorVariables.FrameworkRewritePolicy 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

      public static final EditorVariables.FrameworkRewritePolicy 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

      public static EditorVariables.FrameworkRewritePolicy[] 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

      public static EditorVariables.FrameworkRewritePolicy valueOf(String name)
      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 name
      NullPointerException - if the argument is null