Enum ExternalizableStore.ImportOption

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DELETE_MISSING
      Delete any resources not reflected in the import.
      DELETE_MISSING_CHILDREN
      Delete any child resources not reflected in the import if their parent resource is specified in the import.
      PUBLISH_ALL
      Publish all resources created or modified by the import.
      PUBLISH_NEW
      Publish any new resources created by the import.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ExternalizableStore.ImportOption valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ExternalizableStore.ImportOption[] 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

      • PUBLISH_NEW

        public static final ExternalizableStore.ImportOption PUBLISH_NEW
        Publish any new resources created by the import.

        NOTE: this option will only affect stores that have the concept of a "preview" and a published "live" view.

      • PUBLISH_ALL

        public static final ExternalizableStore.ImportOption PUBLISH_ALL
        Publish all resources created or modified by the import.

        NOTE: this option will only affect stores that have the concept of a "preview" and a published "live" view.

      • DELETE_MISSING_CHILDREN

        public static final ExternalizableStore.ImportOption DELETE_MISSING_CHILDREN
        Delete any child resources not reflected in the import if their parent resource is specified in the import.

        By default, an import will not delete any resources from the store. Using DELETE_MISSING_CHILDREN will ensure that any parent resources in the store will be fully consistent with the import.

        NOTE: this option will only affect stores that have the concept of child resources.

      • DELETE_MISSING

        public static final ExternalizableStore.ImportOption DELETE_MISSING
        Delete any resources not reflected in the import.

        By default, an import will not delete any resources from the store. Using DELETE_MISSING will ensure that the store is made fully consistent with the import.

    • Method Detail

      • values

        public static ExternalizableStore.ImportOption[] 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 (ExternalizableStore.ImportOption c : ExternalizableStore.ImportOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ExternalizableStore.ImportOption 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