Enumerations¶
module: rspub.core.rs_enum
-
class
rspub.core.rs_enum.Strategy[source]¶ Bases:
enum.EnumStrategy for ResourceSync Publishing-
resourcelist= 0¶ 0New resourcelist strategyCreate new resourcelist(s) every run.
-
new_changelist= 1¶ 1New changelist strategyCreate a new changelist every run. If no resourcelist was found in the metadata directory switch to new resourcelist strategy.
-
inc_changelist= 2¶ 2Incremental changelist strategyAdd changes to an existing changelist. If no changelist exists, create a new one. If no resourcelist was found in the metadata directory switch to new resourcelist strategy.
-
static
sanitize(name)[source]¶ Verify a Strategy nameParameters: name (str) – string to test Returns: name if it is the name of a strategy Raises: ValueErrorif the given name is not the name of a strategy
-
-
class
rspub.core.rs_enum.Capability[source]¶ Bases:
enum.EnumCapabilities as defined in the ResourceSync Framework-
resourcelist= 0¶ 0resourcelist
-
changelist= 1¶ 1changelist
-
resourcedump= 2¶ 2resourcedump
-
changedump= 3¶ 3changedump
-
resourcedump_manifest= 4¶ 4resourcedump_manifest
-
changedump_manifest= 5¶ 5changedump_manifest
-
capabilitylist= 6¶ 6capabilitylist
-
description= 7¶ 7description
-