/usr/share/doc/cedar-backup2-doc/interface/CedarBackup2.config-pysrc.html is in cedar-backup2-doc 2.21.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>CedarBackup2.config</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="epydoc.js"></script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Home link -->
<th> <a
href="CedarBackup2-module.html">Home</a> </th>
<!-- Tree link -->
<th> <a
href="module-tree.html">Trees</a> </th>
<!-- Index link -->
<th> <a
href="identifier-index.html">Indices</a> </th>
<!-- Help link -->
<th> <a
href="help.html">Help</a> </th>
<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
><a class="navbar" target="_top" href="http://cedar-backup.sourceforge.net/">CedarBackup2</a></th>
</tr></table></th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<span class="breadcrumbs">
<a href="CedarBackup2-module.html">Package CedarBackup2</a> ::
Module config
</span>
</td>
<td>
<table cellpadding="0" cellspacing="0">
<!-- hide/show private -->
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
onclick="toggle_private();">hide private</a>]</span></td></tr>
<tr><td align="right"><span class="options"
>[<a href="frames.html" target="_top">frames</a
>] | <a href="CedarBackup2.config-pysrc.html"
target="_top">no frames</a>]</span></td></tr>
</table>
</td>
</tr>
</table>
<h1 class="epydoc">Source Code for <a href="CedarBackup2.config-module.html">Module CedarBackup2.config</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># -*- coding: iso-8859-1 -*-</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"># vim: set ft=python ts=3 sw=3 expandtab:</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># C E D A R</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># S O L U T I O N S "Software done right."</tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"># S O F T W A R E</tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment"># # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"># Copyright (c) 2004-2008,2010 Kenneth J. Pronovici.</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment"># All rights reserved.</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"><tt class="py-comment"># This program is free software; you can redistribute it and/or</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-comment"># modify it under the terms of the GNU General Public License,</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-comment"># Version 2, as published by the Free Software Foundation.</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"><tt class="py-comment"># This program is distributed in the hope that it will be useful,</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-comment"># but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-comment"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"><tt class="py-comment"># Copies of the GNU General Public License are available from</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-comment"># the Free Software Foundation website, http://www.gnu.org/.</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"><tt class="py-comment"># # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-comment"># Author : Kenneth J. Pronovici <pronovic@ieee.org></tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"><tt class="py-comment"># Language : Python (>= 2.5)</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"><tt class="py-comment"># Project : Cedar Backup, release 2</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt class="py-comment"># Revision : $Id: config.py 1020 2011-10-11 21:47:53Z pronovic $</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"><tt class="py-comment"># Purpose : Provides configuration-related objects.</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"><tt class="py-comment"># # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"><tt class="py-comment"># Module documentation</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"><tt class="py-docstring">Provides configuration-related objects.</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"><tt class="py-docstring">Summary</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"><tt class="py-docstring">=======</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"><tt class="py-docstring"> Cedar Backup stores all of its configuration in an XML document typically</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"><tt class="py-docstring"> called C{cback.conf}. The standard location for this document is in</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"><tt class="py-docstring"> C{/etc}, but users can specify a different location if they want to. </tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"><tt class="py-docstring"> The C{Config} class is a Python object representation of a Cedar Backup XML</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"><tt class="py-docstring"> configuration file. The representation is two-way: XML data can be used to</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"><tt class="py-docstring"> create a C{Config} object, and then changes to the object can be propogated</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"><tt class="py-docstring"> back to disk. A C{Config} object can even be used to create a configuration</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"><tt class="py-docstring"> file from scratch programmatically.</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"><tt class="py-docstring"> The C{Config} class is intended to be the only Python-language interface to</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"><tt class="py-docstring"> Cedar Backup configuration on disk. Cedar Backup will use the class as its</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"><tt class="py-docstring"> internal representation of configuration, and applications external to Cedar</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"><tt class="py-docstring"> Backup itself (such as a hypothetical third-party configuration tool written</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"><tt class="py-docstring"> in Python or a third party extension module) should also use the class when</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"><tt class="py-docstring"> they need to read and write configuration files.</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"><tt class="py-docstring">Backwards Compatibility</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"><tt class="py-docstring">=======================</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"><tt class="py-docstring"> The configuration file format has changed between Cedar Backup 1.x and Cedar</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"><tt class="py-docstring"> Backup 2.x. Any Cedar Backup 1.x configuration file is also a valid Cedar</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"><tt class="py-docstring"> Backup 2.x configuration file. However, it doesn't work to go the other</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"><tt class="py-docstring"> direction, as the 2.x configuration files contains additional configuration </tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"><tt class="py-docstring"> is not accepted by older versions of the software. </tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"><tt class="py-docstring">XML Configuration Structure</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"><tt class="py-docstring">===========================</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"><tt class="py-docstring"> A C{Config} object can either be created "empty", or can be created based on</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"><tt class="py-docstring"> XML input (either in the form of a string or read in from a file on disk).</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"><tt class="py-docstring"> Generally speaking, the XML input I{must} result in a C{Config} object which</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"><tt class="py-docstring"> passes the validations laid out below in the I{Validation} section. </tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"><tt class="py-docstring"> An XML configuration file is composed of seven sections:</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"><tt class="py-docstring"> - I{reference}: specifies reference information about the file (author, revision, etc)</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"><tt class="py-docstring"> - I{extensions}: specifies mappings to Cedar Backup extensions (external code)</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"><tt class="py-docstring"> - I{options}: specifies global configuration options</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"><tt class="py-docstring"> - I{peers}: specifies the set of peers in a master's backup pool</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"><tt class="py-docstring"> - I{collect}: specifies configuration related to the collect action</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"><tt class="py-docstring"> - I{stage}: specifies configuration related to the stage action</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"><tt class="py-docstring"> - I{store}: specifies configuration related to the store action</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"><tt class="py-docstring"> - I{purge}: specifies configuration related to the purge action</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"><tt class="py-docstring"> Each section is represented by an class in this module, and then the overall</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"><tt class="py-docstring"> C{Config} class is a composition of the various other classes. </tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"><tt class="py-docstring"> Any configuration section that is missing in the XML document (or has not</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"><tt class="py-docstring"> been filled into an "empty" document) will just be set to C{None} in the</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"><tt class="py-docstring"> object representation. The same goes for individual fields within each</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"><tt class="py-docstring"> configuration section. Keep in mind that the document might not be</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"><tt class="py-docstring"> completely valid if some sections or fields aren't filled in - but that</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"><tt class="py-docstring"> won't matter until validation takes place (see the I{Validation} section</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"><tt class="py-docstring"> below).</tt> </tt>
<a name="L100"></a><tt class="py-lineno"> 100</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L101"></a><tt class="py-lineno"> 101</tt> <tt class="py-line"><tt class="py-docstring">Unicode vs. String Data</tt> </tt>
<a name="L102"></a><tt class="py-lineno"> 102</tt> <tt class="py-line"><tt class="py-docstring">=======================</tt> </tt>
<a name="L103"></a><tt class="py-lineno"> 103</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L104"></a><tt class="py-lineno"> 104</tt> <tt class="py-line"><tt class="py-docstring"> By default, all string data that comes out of XML documents in Python is</tt> </tt>
<a name="L105"></a><tt class="py-lineno"> 105</tt> <tt class="py-line"><tt class="py-docstring"> unicode data (i.e. C{u"whatever"}). This is fine for many things, but when</tt> </tt>
<a name="L106"></a><tt class="py-lineno"> 106</tt> <tt class="py-line"><tt class="py-docstring"> it comes to filesystem paths, it can cause us some problems. We really want</tt> </tt>
<a name="L107"></a><tt class="py-lineno"> 107</tt> <tt class="py-line"><tt class="py-docstring"> strings to be encoded in the filesystem encoding rather than being unicode.</tt> </tt>
<a name="L108"></a><tt class="py-lineno"> 108</tt> <tt class="py-line"><tt class="py-docstring"> So, most elements in configuration which represent filesystem paths are</tt> </tt>
<a name="L109"></a><tt class="py-lineno"> 109</tt> <tt class="py-line"><tt class="py-docstring"> coverted to plain strings using L{util.encodePath}. The main exception is</tt> </tt>
<a name="L110"></a><tt class="py-lineno"> 110</tt> <tt class="py-line"><tt class="py-docstring"> the various C{absoluteExcludePath} and C{relativeExcludePath} lists. These</tt> </tt>
<a name="L111"></a><tt class="py-lineno"> 111</tt> <tt class="py-line"><tt class="py-docstring"> are I{not} converted, because they are generally only used for filtering,</tt> </tt>
<a name="L112"></a><tt class="py-lineno"> 112</tt> <tt class="py-line"><tt class="py-docstring"> not for filesystem operations.</tt> </tt>
<a name="L113"></a><tt class="py-lineno"> 113</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L114"></a><tt class="py-lineno"> 114</tt> <tt class="py-line"><tt class="py-docstring">Validation </tt> </tt>
<a name="L115"></a><tt class="py-lineno"> 115</tt> <tt class="py-line"><tt class="py-docstring">==========</tt> </tt>
<a name="L116"></a><tt class="py-lineno"> 116</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L117"></a><tt class="py-lineno"> 117</tt> <tt class="py-line"><tt class="py-docstring"> There are two main levels of validation in the C{Config} class and its</tt> </tt>
<a name="L118"></a><tt class="py-lineno"> 118</tt> <tt class="py-line"><tt class="py-docstring"> children. The first is field-level validation. Field-level validation</tt> </tt>
<a name="L119"></a><tt class="py-lineno"> 119</tt> <tt class="py-line"><tt class="py-docstring"> comes into play when a given field in an object is assigned to or updated.</tt> </tt>
<a name="L120"></a><tt class="py-lineno"> 120</tt> <tt class="py-line"><tt class="py-docstring"> We use Python's C{property} functionality to enforce specific validations on</tt> </tt>
<a name="L121"></a><tt class="py-lineno"> 121</tt> <tt class="py-line"><tt class="py-docstring"> field values, and in some places we even use customized list classes to</tt> </tt>
<a name="L122"></a><tt class="py-lineno"> 122</tt> <tt class="py-line"><tt class="py-docstring"> enforce validations on list members. You should expect to catch a</tt> </tt>
<a name="L123"></a><tt class="py-lineno"> 123</tt> <tt class="py-line"><tt class="py-docstring"> C{ValueError} exception when making assignments to configuration class</tt> </tt>
<a name="L124"></a><tt class="py-lineno"> 124</tt> <tt class="py-line"><tt class="py-docstring"> fields.</tt> </tt>
<a name="L125"></a><tt class="py-lineno"> 125</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L126"></a><tt class="py-lineno"> 126</tt> <tt class="py-line"><tt class="py-docstring"> The second level of validation is post-completion validation. Certain</tt> </tt>
<a name="L127"></a><tt class="py-lineno"> 127</tt> <tt class="py-line"><tt class="py-docstring"> validations don't make sense until a document is fully "complete". We don't</tt> </tt>
<a name="L128"></a><tt class="py-lineno"> 128</tt> <tt class="py-line"><tt class="py-docstring"> want these validations to apply all of the time, because it would make</tt> </tt>
<a name="L129"></a><tt class="py-lineno"> 129</tt> <tt class="py-line"><tt class="py-docstring"> building up a document from scratch a real pain. For instance, we might</tt> </tt>
<a name="L130"></a><tt class="py-lineno"> 130</tt> <tt class="py-line"><tt class="py-docstring"> have to do things in the right order to keep from throwing exceptions, etc.</tt> </tt>
<a name="L131"></a><tt class="py-lineno"> 131</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L132"></a><tt class="py-lineno"> 132</tt> <tt class="py-line"><tt class="py-docstring"> All of these post-completion validations are encapsulated in the</tt> </tt>
<a name="L133"></a><tt class="py-lineno"> 133</tt> <tt class="py-line"><tt class="py-docstring"> L{Config.validate} method. This method can be called at any time by a</tt> </tt>
<a name="L134"></a><tt class="py-lineno"> 134</tt> <tt class="py-line"><tt class="py-docstring"> client, and will always be called immediately after creating a C{Config}</tt> </tt>
<a name="L135"></a><tt class="py-lineno"> 135</tt> <tt class="py-line"><tt class="py-docstring"> object from XML data and before exporting a C{Config} object to XML. This</tt> </tt>
<a name="L136"></a><tt class="py-lineno"> 136</tt> <tt class="py-line"><tt class="py-docstring"> way, we get decent ease-of-use but we also don't accept or emit invalid</tt> </tt>
<a name="L137"></a><tt class="py-lineno"> 137</tt> <tt class="py-line"><tt class="py-docstring"> configuration files.</tt> </tt>
<a name="L138"></a><tt class="py-lineno"> 138</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L139"></a><tt class="py-lineno"> 139</tt> <tt class="py-line"><tt class="py-docstring"> The L{Config.validate} implementation actually takes two passes to</tt> </tt>
<a name="L140"></a><tt class="py-lineno"> 140</tt> <tt class="py-line"><tt class="py-docstring"> completely validate a configuration document. The first pass at validation</tt> </tt>
<a name="L141"></a><tt class="py-lineno"> 141</tt> <tt class="py-line"><tt class="py-docstring"> is to ensure that the proper sections are filled into the document. There</tt> </tt>
<a name="L142"></a><tt class="py-lineno"> 142</tt> <tt class="py-line"><tt class="py-docstring"> are default requirements, but the caller has the opportunity to override</tt> </tt>
<a name="L143"></a><tt class="py-lineno"> 143</tt> <tt class="py-line"><tt class="py-docstring"> these defaults.</tt> </tt>
<a name="L144"></a><tt class="py-lineno"> 144</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L145"></a><tt class="py-lineno"> 145</tt> <tt class="py-line"><tt class="py-docstring"> The second pass at validation ensures that any filled-in section contains</tt> </tt>
<a name="L146"></a><tt class="py-lineno"> 146</tt> <tt class="py-line"><tt class="py-docstring"> valid data. Any section which is not set to C{None} is validated according</tt> </tt>
<a name="L147"></a><tt class="py-lineno"> 147</tt> <tt class="py-line"><tt class="py-docstring"> to the rules for that section (see below).</tt> </tt>
<a name="L148"></a><tt class="py-lineno"> 148</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L149"></a><tt class="py-lineno"> 149</tt> <tt class="py-line"><tt class="py-docstring"> I{Reference Validations}</tt> </tt>
<a name="L150"></a><tt class="py-lineno"> 150</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L151"></a><tt class="py-lineno"> 151</tt> <tt class="py-line"><tt class="py-docstring"> No validations.</tt> </tt>
<a name="L152"></a><tt class="py-lineno"> 152</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L153"></a><tt class="py-lineno"> 153</tt> <tt class="py-line"><tt class="py-docstring"> I{Extensions Validations}</tt> </tt>
<a name="L154"></a><tt class="py-lineno"> 154</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L155"></a><tt class="py-lineno"> 155</tt> <tt class="py-line"><tt class="py-docstring"> The list of actions may be either C{None} or an empty list C{[]} if desired.</tt> </tt>
<a name="L156"></a><tt class="py-lineno"> 156</tt> <tt class="py-line"><tt class="py-docstring"> Each extended action must include a name, a module and a function. Then, an</tt> </tt>
<a name="L157"></a><tt class="py-lineno"> 157</tt> <tt class="py-line"><tt class="py-docstring"> extended action must include either an index or dependency information.</tt> </tt>
<a name="L158"></a><tt class="py-lineno"> 158</tt> <tt class="py-line"><tt class="py-docstring"> Which one is required depends on which order mode is configured.</tt> </tt>
<a name="L159"></a><tt class="py-lineno"> 159</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L160"></a><tt class="py-lineno"> 160</tt> <tt class="py-line"><tt class="py-docstring"> I{Options Validations}</tt> </tt>
<a name="L161"></a><tt class="py-lineno"> 161</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L162"></a><tt class="py-lineno"> 162</tt> <tt class="py-line"><tt class="py-docstring"> All fields must be filled in except the rsh command. The rcp and rsh</tt> </tt>
<a name="L163"></a><tt class="py-lineno"> 163</tt> <tt class="py-line"><tt class="py-docstring"> commands are used as default values for all remote peers. Remote peers can</tt> </tt>
<a name="L164"></a><tt class="py-lineno"> 164</tt> <tt class="py-line"><tt class="py-docstring"> also rely on the backup user as the default remote user name if they choose.</tt> </tt>
<a name="L165"></a><tt class="py-lineno"> 165</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L166"></a><tt class="py-lineno"> 166</tt> <tt class="py-line"><tt class="py-docstring"> I{Peers Validations}</tt> </tt>
<a name="L167"></a><tt class="py-lineno"> 167</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L168"></a><tt class="py-lineno"> 168</tt> <tt class="py-line"><tt class="py-docstring"> Local peers must be completely filled in, including both name and collect</tt> </tt>
<a name="L169"></a><tt class="py-lineno"> 169</tt> <tt class="py-line"><tt class="py-docstring"> directory. Remote peers must also fill in the name and collect directory,</tt> </tt>
<a name="L170"></a><tt class="py-lineno"> 170</tt> <tt class="py-line"><tt class="py-docstring"> but can leave the remote user and rcp command unset. In this case, the</tt> </tt>
<a name="L171"></a><tt class="py-lineno"> 171</tt> <tt class="py-line"><tt class="py-docstring"> remote user is assumed to match the backup user from the options section and</tt> </tt>
<a name="L172"></a><tt class="py-lineno"> 172</tt> <tt class="py-line"><tt class="py-docstring"> rcp command is taken directly from the options section.</tt> </tt>
<a name="L173"></a><tt class="py-lineno"> 173</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L174"></a><tt class="py-lineno"> 174</tt> <tt class="py-line"><tt class="py-docstring"> I{Collect Validations}</tt> </tt>
<a name="L175"></a><tt class="py-lineno"> 175</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L176"></a><tt class="py-lineno"> 176</tt> <tt class="py-line"><tt class="py-docstring"> The target directory must be filled in. The collect mode, archive mode and</tt> </tt>
<a name="L177"></a><tt class="py-lineno"> 177</tt> <tt class="py-line"><tt class="py-docstring"> ignore file are all optional. The list of absolute paths to exclude and</tt> </tt>
<a name="L178"></a><tt class="py-lineno"> 178</tt> <tt class="py-line"><tt class="py-docstring"> patterns to exclude may be either C{None} or an empty list C{[]} if desired.</tt> </tt>
<a name="L179"></a><tt class="py-lineno"> 179</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L180"></a><tt class="py-lineno"> 180</tt> <tt class="py-line"><tt class="py-docstring"> Each collect directory entry must contain an absolute path to collect, and</tt> </tt>
<a name="L181"></a><tt class="py-lineno"> 181</tt> <tt class="py-line"><tt class="py-docstring"> then must either be able to take collect mode, archive mode and ignore file</tt> </tt>
<a name="L182"></a><tt class="py-lineno"> 182</tt> <tt class="py-line"><tt class="py-docstring"> configuration from the parent C{CollectConfig} object, or must set each</tt> </tt>
<a name="L183"></a><tt class="py-lineno"> 183</tt> <tt class="py-line"><tt class="py-docstring"> value on its own. The list of absolute paths to exclude, relative paths to</tt> </tt>
<a name="L184"></a><tt class="py-lineno"> 184</tt> <tt class="py-line"><tt class="py-docstring"> exclude and patterns to exclude may be either C{None} or an empty list C{[]}</tt> </tt>
<a name="L185"></a><tt class="py-lineno"> 185</tt> <tt class="py-line"><tt class="py-docstring"> if desired. Any list of absolute paths to exclude or patterns to exclude</tt> </tt>
<a name="L186"></a><tt class="py-lineno"> 186</tt> <tt class="py-line"><tt class="py-docstring"> will be combined with the same list in the C{CollectConfig} object to make</tt> </tt>
<a name="L187"></a><tt class="py-lineno"> 187</tt> <tt class="py-line"><tt class="py-docstring"> the complete list for a given directory.</tt> </tt>
<a name="L188"></a><tt class="py-lineno"> 188</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L189"></a><tt class="py-lineno"> 189</tt> <tt class="py-line"><tt class="py-docstring"> I{Stage Validations}</tt> </tt>
<a name="L190"></a><tt class="py-lineno"> 190</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L191"></a><tt class="py-lineno"> 191</tt> <tt class="py-line"><tt class="py-docstring"> The target directory must be filled in. There must be at least one peer</tt> </tt>
<a name="L192"></a><tt class="py-lineno"> 192</tt> <tt class="py-line"><tt class="py-docstring"> (remote or local) between the two lists of peers. A list with no entries</tt> </tt>
<a name="L193"></a><tt class="py-lineno"> 193</tt> <tt class="py-line"><tt class="py-docstring"> can be either C{None} or an empty list C{[]} if desired.</tt> </tt>
<a name="L194"></a><tt class="py-lineno"> 194</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L195"></a><tt class="py-lineno"> 195</tt> <tt class="py-line"><tt class="py-docstring"> If a set of peers is provided, this configuration completely overrides</tt> </tt>
<a name="L196"></a><tt class="py-lineno"> 196</tt> <tt class="py-line"><tt class="py-docstring"> configuration in the peers configuration section, and the same validations</tt> </tt>
<a name="L197"></a><tt class="py-lineno"> 197</tt> <tt class="py-line"><tt class="py-docstring"> apply.</tt> </tt>
<a name="L198"></a><tt class="py-lineno"> 198</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L199"></a><tt class="py-lineno"> 199</tt> <tt class="py-line"><tt class="py-docstring"> I{Store Validations}</tt> </tt>
<a name="L200"></a><tt class="py-lineno"> 200</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L201"></a><tt class="py-lineno"> 201</tt> <tt class="py-line"><tt class="py-docstring"> The device type and drive speed are optional, and all other values are</tt> </tt>
<a name="L202"></a><tt class="py-lineno"> 202</tt> <tt class="py-line"><tt class="py-docstring"> required (missing booleans will be set to defaults, which is OK).</tt> </tt>
<a name="L203"></a><tt class="py-lineno"> 203</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L204"></a><tt class="py-lineno"> 204</tt> <tt class="py-line"><tt class="py-docstring"> The image writer functionality in the C{writer} module is supposed to be</tt> </tt>
<a name="L205"></a><tt class="py-lineno"> 205</tt> <tt class="py-line"><tt class="py-docstring"> able to handle a device speed of C{None}. Any caller which needs a "real"</tt> </tt>
<a name="L206"></a><tt class="py-lineno"> 206</tt> <tt class="py-line"><tt class="py-docstring"> (non-C{None}) value for the device type can use C{DEFAULT_DEVICE_TYPE},</tt> </tt>
<a name="L207"></a><tt class="py-lineno"> 207</tt> <tt class="py-line"><tt class="py-docstring"> which is guaranteed to be sensible.</tt> </tt>
<a name="L208"></a><tt class="py-lineno"> 208</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L209"></a><tt class="py-lineno"> 209</tt> <tt class="py-line"><tt class="py-docstring"> I{Purge Validations}</tt> </tt>
<a name="L210"></a><tt class="py-lineno"> 210</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L211"></a><tt class="py-lineno"> 211</tt> <tt class="py-line"><tt class="py-docstring"> The list of purge directories may be either C{None} or an empty list C{[]}</tt> </tt>
<a name="L212"></a><tt class="py-lineno"> 212</tt> <tt class="py-line"><tt class="py-docstring"> if desired. All purge directories must contain a path and a retain days</tt> </tt>
<a name="L213"></a><tt class="py-lineno"> 213</tt> <tt class="py-line"><tt class="py-docstring"> value.</tt> </tt>
<a name="L214"></a><tt class="py-lineno"> 214</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L215"></a><tt class="py-lineno"> 215</tt> <tt class="py-line"><tt class="py-docstring">@sort: ActionDependencies, ActionHook, PreActionHook, PostActionHook,</tt> </tt>
<a name="L216"></a><tt class="py-lineno"> 216</tt> <tt class="py-line"><tt class="py-docstring"> ExtendedAction, CommandOverride, CollectFile, CollectDir, PurgeDir, LocalPeer, </tt> </tt>
<a name="L217"></a><tt class="py-lineno"> 217</tt> <tt class="py-line"><tt class="py-docstring"> RemotePeer, ReferenceConfig, ExtensionsConfig, OptionsConfig, PeersConfig,</tt> </tt>
<a name="L218"></a><tt class="py-lineno"> 218</tt> <tt class="py-line"><tt class="py-docstring"> CollectConfig, StageConfig, StoreConfig, PurgeConfig, Config,</tt> </tt>
<a name="L219"></a><tt class="py-lineno"> 219</tt> <tt class="py-line"><tt class="py-docstring"> DEFAULT_DEVICE_TYPE, DEFAULT_MEDIA_TYPE, </tt> </tt>
<a name="L220"></a><tt class="py-lineno"> 220</tt> <tt class="py-line"><tt class="py-docstring"> VALID_DEVICE_TYPES, VALID_MEDIA_TYPES, </tt> </tt>
<a name="L221"></a><tt class="py-lineno"> 221</tt> <tt class="py-line"><tt class="py-docstring"> VALID_COLLECT_MODES, VALID_ARCHIVE_MODES,</tt> </tt>
<a name="L222"></a><tt class="py-lineno"> 222</tt> <tt class="py-line"><tt class="py-docstring"> VALID_ORDER_MODES</tt> </tt>
<a name="L223"></a><tt class="py-lineno"> 223</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L224"></a><tt class="py-lineno"> 224</tt> <tt class="py-line"><tt class="py-docstring">@var DEFAULT_DEVICE_TYPE: The default device type.</tt> </tt>
<a name="L225"></a><tt class="py-lineno"> 225</tt> <tt class="py-line"><tt class="py-docstring">@var DEFAULT_MEDIA_TYPE: The default media type.</tt> </tt>
<a name="L226"></a><tt class="py-lineno"> 226</tt> <tt class="py-line"><tt class="py-docstring">@var VALID_DEVICE_TYPES: List of valid device types.</tt> </tt>
<a name="L227"></a><tt class="py-lineno"> 227</tt> <tt class="py-line"><tt class="py-docstring">@var VALID_MEDIA_TYPES: List of valid media types.</tt> </tt>
<a name="L228"></a><tt class="py-lineno"> 228</tt> <tt class="py-line"><tt class="py-docstring">@var VALID_COLLECT_MODES: List of valid collect modes.</tt> </tt>
<a name="L229"></a><tt class="py-lineno"> 229</tt> <tt class="py-line"><tt class="py-docstring">@var VALID_COMPRESS_MODES: List of valid compress modes.</tt> </tt>
<a name="L230"></a><tt class="py-lineno"> 230</tt> <tt class="py-line"><tt class="py-docstring">@var VALID_ARCHIVE_MODES: List of valid archive modes.</tt> </tt>
<a name="L231"></a><tt class="py-lineno"> 231</tt> <tt class="py-line"><tt class="py-docstring">@var VALID_ORDER_MODES: List of valid extension order modes.</tt> </tt>
<a name="L232"></a><tt class="py-lineno"> 232</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L233"></a><tt class="py-lineno"> 233</tt> <tt class="py-line"><tt class="py-docstring">@author: Kenneth J. Pronovici <pronovic@ieee.org></tt> </tt>
<a name="L234"></a><tt class="py-lineno"> 234</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L235"></a><tt class="py-lineno"> 235</tt> <tt class="py-line"> </tt>
<a name="L236"></a><tt class="py-lineno"> 236</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L237"></a><tt class="py-lineno"> 237</tt> <tt class="py-line"><tt class="py-comment"># Imported modules</tt> </tt>
<a name="L238"></a><tt class="py-lineno"> 238</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L239"></a><tt class="py-lineno"> 239</tt> <tt class="py-line"> </tt>
<a name="L240"></a><tt class="py-lineno"> 240</tt> <tt class="py-line"><tt class="py-comment"># System modules</tt> </tt>
<a name="L241"></a><tt class="py-lineno"> 241</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
<a name="L242"></a><tt class="py-lineno"> 242</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt>
<a name="L243"></a><tt class="py-lineno"> 243</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
<a name="L244"></a><tt class="py-lineno"> 244</tt> <tt class="py-line"> </tt>
<a name="L245"></a><tt class="py-lineno"> 245</tt> <tt class="py-line"><tt class="py-comment"># Cedar Backup modules</tt> </tt>
<a name="L246"></a><tt class="py-lineno"> 246</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package CedarBackup2=CedarBackup2-module.html"><a title="CedarBackup2" class="py-name" href="#" onclick="return doclink('link-0', 'CedarBackup2', 'link-0');">CedarBackup2</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package CedarBackup2.writers=CedarBackup2.writers-module.html"><a title="CedarBackup2.writers" class="py-name" href="#" onclick="return doclink('link-1', 'writers', 'link-1');">writers</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module CedarBackup2.actions.util=CedarBackup2.actions.util-module.html,Module CedarBackup2.util=CedarBackup2.util-module.html,Module CedarBackup2.writers.util=CedarBackup2.writers.util-module.html"><a title="CedarBackup2.actions.util
CedarBackup2.util
CedarBackup2.writers.util" class="py-name" href="#" onclick="return doclink('link-2', 'util', 'link-2');">util</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Function CedarBackup2.writers.util.validateScsiId()=CedarBackup2.writers.util-module.html#validateScsiId"><a title="CedarBackup2.writers.util.validateScsiId" class="py-name" href="#" onclick="return doclink('link-3', 'validateScsiId', 'link-3');">validateScsiId</a></tt><tt class="py-op">,</tt> <tt id="link-4" class="py-name" targets="Function CedarBackup2.writers.util.validateDriveSpeed()=CedarBackup2.writers.util-module.html#validateDriveSpeed"><a title="CedarBackup2.writers.util.validateDriveSpeed" class="py-name" href="#" onclick="return doclink('link-4', 'validateDriveSpeed', 'link-4');">validateDriveSpeed</a></tt> </tt>
<a name="L247"></a><tt class="py-lineno"> 247</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-5" class="py-name"><a title="CedarBackup2" class="py-name" href="#" onclick="return doclink('link-5', 'CedarBackup2', 'link-0');">CedarBackup2</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="CedarBackup2.actions.util
CedarBackup2.util
CedarBackup2.writers.util" class="py-name" href="#" onclick="return doclink('link-6', 'util', 'link-2');">util</a></tt> <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Class CedarBackup2.util.UnorderedList=CedarBackup2.util.UnorderedList-class.html"><a title="CedarBackup2.util.UnorderedList" class="py-name" href="#" onclick="return doclink('link-7', 'UnorderedList', 'link-7');">UnorderedList</a></tt><tt class="py-op">,</tt> <tt id="link-8" class="py-name" targets="Class CedarBackup2.util.AbsolutePathList=CedarBackup2.util.AbsolutePathList-class.html"><a title="CedarBackup2.util.AbsolutePathList" class="py-name" href="#" onclick="return doclink('link-8', 'AbsolutePathList', 'link-8');">AbsolutePathList</a></tt><tt class="py-op">,</tt> <tt id="link-9" class="py-name" targets="Class CedarBackup2.util.ObjectTypeList=CedarBackup2.util.ObjectTypeList-class.html"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-9', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">,</tt> <tt id="link-10" class="py-name" targets="Function CedarBackup2.util.parseCommaSeparatedString()=CedarBackup2.util-module.html#parseCommaSeparatedString"><a title="CedarBackup2.util.parseCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-10', 'parseCommaSeparatedString', 'link-10');">parseCommaSeparatedString</a></tt> </tt>
<a name="L248"></a><tt class="py-lineno"> 248</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-11" class="py-name"><a title="CedarBackup2" class="py-name" href="#" onclick="return doclink('link-11', 'CedarBackup2', 'link-0');">CedarBackup2</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="CedarBackup2.actions.util
CedarBackup2.util
CedarBackup2.writers.util" class="py-name" href="#" onclick="return doclink('link-12', 'util', 'link-2');">util</a></tt> <tt class="py-keyword">import</tt> <tt id="link-13" class="py-name" targets="Class CedarBackup2.util.RegexMatchList=CedarBackup2.util.RegexMatchList-class.html"><a title="CedarBackup2.util.RegexMatchList" class="py-name" href="#" onclick="return doclink('link-13', 'RegexMatchList', 'link-13');">RegexMatchList</a></tt><tt class="py-op">,</tt> <tt id="link-14" class="py-name" targets="Class CedarBackup2.util.RegexList=CedarBackup2.util.RegexList-class.html"><a title="CedarBackup2.util.RegexList" class="py-name" href="#" onclick="return doclink('link-14', 'RegexList', 'link-14');">RegexList</a></tt><tt class="py-op">,</tt> <tt id="link-15" class="py-name" targets="Function CedarBackup2.util.encodePath()=CedarBackup2.util-module.html#encodePath"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-15', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">,</tt> <tt id="link-16" class="py-name" targets="Function CedarBackup2.util.checkUnique()=CedarBackup2.util-module.html#checkUnique"><a title="CedarBackup2.util.checkUnique" class="py-name" href="#" onclick="return doclink('link-16', 'checkUnique', 'link-16');">checkUnique</a></tt> </tt>
<a name="L249"></a><tt class="py-lineno"> 249</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-17" class="py-name"><a title="CedarBackup2" class="py-name" href="#" onclick="return doclink('link-17', 'CedarBackup2', 'link-0');">CedarBackup2</a></tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="CedarBackup2.actions.util
CedarBackup2.util
CedarBackup2.writers.util" class="py-name" href="#" onclick="return doclink('link-18', 'util', 'link-2');">util</a></tt> <tt class="py-keyword">import</tt> <tt id="link-19" class="py-name" targets="Function CedarBackup2.util.convertSize()=CedarBackup2.util-module.html#convertSize"><a title="CedarBackup2.util.convertSize" class="py-name" href="#" onclick="return doclink('link-19', 'convertSize', 'link-19');">convertSize</a></tt><tt class="py-op">,</tt> <tt id="link-20" class="py-name" targets="Variable CedarBackup2.util.UNIT_BYTES=CedarBackup2.util-module.html#UNIT_BYTES"><a title="CedarBackup2.util.UNIT_BYTES" class="py-name" href="#" onclick="return doclink('link-20', 'UNIT_BYTES', 'link-20');">UNIT_BYTES</a></tt><tt class="py-op">,</tt> <tt id="link-21" class="py-name" targets="Variable CedarBackup2.util.UNIT_KBYTES=CedarBackup2.util-module.html#UNIT_KBYTES"><a title="CedarBackup2.util.UNIT_KBYTES" class="py-name" href="#" onclick="return doclink('link-21', 'UNIT_KBYTES', 'link-21');">UNIT_KBYTES</a></tt><tt class="py-op">,</tt> <tt id="link-22" class="py-name" targets="Variable CedarBackup2.util.UNIT_MBYTES=CedarBackup2.util-module.html#UNIT_MBYTES"><a title="CedarBackup2.util.UNIT_MBYTES" class="py-name" href="#" onclick="return doclink('link-22', 'UNIT_MBYTES', 'link-22');">UNIT_MBYTES</a></tt><tt class="py-op">,</tt> <tt id="link-23" class="py-name" targets="Variable CedarBackup2.util.UNIT_GBYTES=CedarBackup2.util-module.html#UNIT_GBYTES"><a title="CedarBackup2.util.UNIT_GBYTES" class="py-name" href="#" onclick="return doclink('link-23', 'UNIT_GBYTES', 'link-23');">UNIT_GBYTES</a></tt> </tt>
<a name="L250"></a><tt class="py-lineno"> 250</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-24" class="py-name"><a title="CedarBackup2" class="py-name" href="#" onclick="return doclink('link-24', 'CedarBackup2', 'link-0');">CedarBackup2</a></tt><tt class="py-op">.</tt><tt id="link-25" class="py-name" targets="Module CedarBackup2.xmlutil=CedarBackup2.xmlutil-module.html"><a title="CedarBackup2.xmlutil" class="py-name" href="#" onclick="return doclink('link-25', 'xmlutil', 'link-25');">xmlutil</a></tt> <tt class="py-keyword">import</tt> <tt id="link-26" class="py-name" targets="Function CedarBackup2.xmlutil.isElement()=CedarBackup2.xmlutil-module.html#isElement"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-26', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">,</tt> <tt id="link-27" class="py-name" targets="Function CedarBackup2.xmlutil.readChildren()=CedarBackup2.xmlutil-module.html#readChildren"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-27', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">,</tt> <tt id="link-28" class="py-name" targets="Function CedarBackup2.xmlutil.readFirstChild()=CedarBackup2.xmlutil-module.html#readFirstChild"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-28', 'readFirstChild', 'link-28');">readFirstChild</a></tt> </tt>
<a name="L251"></a><tt class="py-lineno"> 251</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-29" class="py-name"><a title="CedarBackup2" class="py-name" href="#" onclick="return doclink('link-29', 'CedarBackup2', 'link-0');">CedarBackup2</a></tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="CedarBackup2.xmlutil" class="py-name" href="#" onclick="return doclink('link-30', 'xmlutil', 'link-25');">xmlutil</a></tt> <tt class="py-keyword">import</tt> <tt id="link-31" class="py-name" targets="Function CedarBackup2.xmlutil.readStringList()=CedarBackup2.xmlutil-module.html#readStringList"><a title="CedarBackup2.xmlutil.readStringList" class="py-name" href="#" onclick="return doclink('link-31', 'readStringList', 'link-31');">readStringList</a></tt><tt class="py-op">,</tt> <tt id="link-32" class="py-name" targets="Function CedarBackup2.xmlutil.readString()=CedarBackup2.xmlutil-module.html#readString"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-32', 'readString', 'link-32');">readString</a></tt><tt class="py-op">,</tt> <tt id="link-33" class="py-name" targets="Function CedarBackup2.xmlutil.readInteger()=CedarBackup2.xmlutil-module.html#readInteger"><a title="CedarBackup2.xmlutil.readInteger" class="py-name" href="#" onclick="return doclink('link-33', 'readInteger', 'link-33');">readInteger</a></tt><tt class="py-op">,</tt> <tt id="link-34" class="py-name" targets="Function CedarBackup2.xmlutil.readBoolean()=CedarBackup2.xmlutil-module.html#readBoolean"><a title="CedarBackup2.xmlutil.readBoolean" class="py-name" href="#" onclick="return doclink('link-34', 'readBoolean', 'link-34');">readBoolean</a></tt> </tt>
<a name="L252"></a><tt class="py-lineno"> 252</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-35" class="py-name"><a title="CedarBackup2" class="py-name" href="#" onclick="return doclink('link-35', 'CedarBackup2', 'link-0');">CedarBackup2</a></tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="CedarBackup2.xmlutil" class="py-name" href="#" onclick="return doclink('link-36', 'xmlutil', 'link-25');">xmlutil</a></tt> <tt class="py-keyword">import</tt> <tt id="link-37" class="py-name" targets="Function CedarBackup2.xmlutil.addContainerNode()=CedarBackup2.xmlutil-module.html#addContainerNode"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-37', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">,</tt> <tt id="link-38" class="py-name" targets="Function CedarBackup2.xmlutil.addStringNode()=CedarBackup2.xmlutil-module.html#addStringNode"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-38', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">,</tt> <tt id="link-39" class="py-name" targets="Function CedarBackup2.xmlutil.addIntegerNode()=CedarBackup2.xmlutil-module.html#addIntegerNode"><a title="CedarBackup2.xmlutil.addIntegerNode" class="py-name" href="#" onclick="return doclink('link-39', 'addIntegerNode', 'link-39');">addIntegerNode</a></tt><tt class="py-op">,</tt> <tt id="link-40" class="py-name" targets="Function CedarBackup2.xmlutil.addBooleanNode()=CedarBackup2.xmlutil-module.html#addBooleanNode"><a title="CedarBackup2.xmlutil.addBooleanNode" class="py-name" href="#" onclick="return doclink('link-40', 'addBooleanNode', 'link-40');">addBooleanNode</a></tt> </tt>
<a name="L253"></a><tt class="py-lineno"> 253</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-41" class="py-name"><a title="CedarBackup2" class="py-name" href="#" onclick="return doclink('link-41', 'CedarBackup2', 'link-0');">CedarBackup2</a></tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="CedarBackup2.xmlutil" class="py-name" href="#" onclick="return doclink('link-42', 'xmlutil', 'link-25');">xmlutil</a></tt> <tt class="py-keyword">import</tt> <tt id="link-43" class="py-name" targets="Function CedarBackup2.xmlutil.createInputDom()=CedarBackup2.xmlutil-module.html#createInputDom"><a title="CedarBackup2.xmlutil.createInputDom" class="py-name" href="#" onclick="return doclink('link-43', 'createInputDom', 'link-43');">createInputDom</a></tt><tt class="py-op">,</tt> <tt id="link-44" class="py-name" targets="Function CedarBackup2.xmlutil.createOutputDom()=CedarBackup2.xmlutil-module.html#createOutputDom"><a title="CedarBackup2.xmlutil.createOutputDom" class="py-name" href="#" onclick="return doclink('link-44', 'createOutputDom', 'link-44');">createOutputDom</a></tt><tt class="py-op">,</tt> <tt id="link-45" class="py-name" targets="Function CedarBackup2.xmlutil.serializeDom()=CedarBackup2.xmlutil-module.html#serializeDom"><a title="CedarBackup2.xmlutil.serializeDom" class="py-name" href="#" onclick="return doclink('link-45', 'serializeDom', 'link-45');">serializeDom</a></tt> </tt>
<a name="L254"></a><tt class="py-lineno"> 254</tt> <tt class="py-line"> </tt>
<a name="L255"></a><tt class="py-lineno"> 255</tt> <tt class="py-line"> </tt>
<a name="L256"></a><tt class="py-lineno"> 256</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L257"></a><tt class="py-lineno"> 257</tt> <tt class="py-line"><tt class="py-comment"># Module-wide constants and variables</tt> </tt>
<a name="L258"></a><tt class="py-lineno"> 258</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L259"></a><tt class="py-lineno"> 259</tt> <tt class="py-line"> </tt>
<a name="L260"></a><tt class="py-lineno"> 260</tt> <tt class="py-line"><tt id="link-46" class="py-name" targets="Variable CedarBackup2.actions.collect.logger=CedarBackup2.actions.collect-module.html#logger,Variable CedarBackup2.actions.initialize.logger=CedarBackup2.actions.initialize-module.html#logger,Variable CedarBackup2.actions.purge.logger=CedarBackup2.actions.purge-module.html#logger,Variable CedarBackup2.actions.rebuild.logger=CedarBackup2.actions.rebuild-module.html#logger,Variable CedarBackup2.actions.stage.logger=CedarBackup2.actions.stage-module.html#logger,Variable CedarBackup2.actions.store.logger=CedarBackup2.actions.store-module.html#logger,Variable CedarBackup2.actions.util.logger=CedarBackup2.actions.util-module.html#logger,Variable CedarBackup2.actions.validate.logger=CedarBackup2.actions.validate-module.html#logger,Variable CedarBackup2.cli.logger=CedarBackup2.cli-module.html#logger,Variable CedarBackup2.config.logger=CedarBackup2.config-module.html#logger,Variable CedarBackup2.customize.logger=CedarBackup2.customize-module.html#logger,Variable CedarBackup2.extend.capacity.logger=CedarBackup2.extend.capacity-module.html#logger,Variable CedarBackup2.extend.encrypt.logger=CedarBackup2.extend.encrypt-module.html#logger,Variable CedarBackup2.extend.mbox.logger=CedarBackup2.extend.mbox-module.html#logger,Variable CedarBackup2.extend.mysql.logger=CedarBackup2.extend.mysql-module.html#logger,Variable CedarBackup2.extend.postgresql.logger=CedarBackup2.extend.postgresql-module.html#logger,Variable CedarBackup2.extend.split.logger=CedarBackup2.extend.split-module.html#logger,Variable CedarBackup2.extend.subversion.logger=CedarBackup2.extend.subversion-module.html#logger,Variable CedarBackup2.extend.sysinfo.logger=CedarBackup2.extend.sysinfo-module.html#logger,Variable CedarBackup2.filesystem.logger=CedarBackup2.filesystem-module.html#logger,Variable CedarBackup2.peer.logger=CedarBackup2.peer-module.html#logger,Variable CedarBackup2.tools.span.logger=CedarBackup2.tools.span-module.html#logger,Variable CedarBackup2.util.logger=CedarBackup2.util-module.html#logger,Variable CedarBackup2.writers.cdwriter.logger=CedarBackup2.writers.cdwriter-module.html#logger,Variable CedarBackup2.writers.dvdwriter.logger=CedarBackup2.writers.dvdwriter-module.html#logger,Variable CedarBackup2.writers.util.logger=CedarBackup2.writers.util-module.html#logger,Variable CedarBackup2.xmlutil.logger=CedarBackup2.xmlutil-module.html#logger"><a title="CedarBackup2.actions.collect.logger
CedarBackup2.actions.initialize.logger
CedarBackup2.actions.purge.logger
CedarBackup2.actions.rebuild.logger
CedarBackup2.actions.stage.logger
CedarBackup2.actions.store.logger
CedarBackup2.actions.util.logger
CedarBackup2.actions.validate.logger
CedarBackup2.cli.logger
CedarBackup2.config.logger
CedarBackup2.customize.logger
CedarBackup2.extend.capacity.logger
CedarBackup2.extend.encrypt.logger
CedarBackup2.extend.mbox.logger
CedarBackup2.extend.mysql.logger
CedarBackup2.extend.postgresql.logger
CedarBackup2.extend.split.logger
CedarBackup2.extend.subversion.logger
CedarBackup2.extend.sysinfo.logger
CedarBackup2.filesystem.logger
CedarBackup2.peer.logger
CedarBackup2.tools.span.logger
CedarBackup2.util.logger
CedarBackup2.writers.cdwriter.logger
CedarBackup2.writers.dvdwriter.logger
CedarBackup2.writers.util.logger
CedarBackup2.xmlutil.logger" class="py-name" href="#" onclick="return doclink('link-46', 'logger', 'link-46');">logger</a></tt> <tt class="py-op">=</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">getLogger</tt><tt class="py-op">(</tt><tt class="py-string">"CedarBackup2.log.config"</tt><tt class="py-op">)</tt> </tt>
<a name="L261"></a><tt class="py-lineno"> 261</tt> <tt class="py-line"> </tt>
<a name="L262"></a><tt class="py-lineno"> 262</tt> <tt class="py-line"><tt id="link-47" class="py-name" targets="Variable CedarBackup2.config.DEFAULT_DEVICE_TYPE=CedarBackup2.config-module.html#DEFAULT_DEVICE_TYPE"><a title="CedarBackup2.config.DEFAULT_DEVICE_TYPE" class="py-name" href="#" onclick="return doclink('link-47', 'DEFAULT_DEVICE_TYPE', 'link-47');">DEFAULT_DEVICE_TYPE</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"cdwriter"</tt> </tt>
<a name="L263"></a><tt class="py-lineno"> 263</tt> <tt class="py-line"><tt id="link-48" class="py-name" targets="Variable CedarBackup2.config.DEFAULT_MEDIA_TYPE=CedarBackup2.config-module.html#DEFAULT_MEDIA_TYPE"><a title="CedarBackup2.config.DEFAULT_MEDIA_TYPE" class="py-name" href="#" onclick="return doclink('link-48', 'DEFAULT_MEDIA_TYPE', 'link-48');">DEFAULT_MEDIA_TYPE</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"cdrw-74"</tt> </tt>
<a name="L264"></a><tt class="py-lineno"> 264</tt> <tt class="py-line"> </tt>
<a name="L265"></a><tt class="py-lineno"> 265</tt> <tt class="py-line"><tt id="link-49" class="py-name" targets="Variable CedarBackup2.config.VALID_DEVICE_TYPES=CedarBackup2.config-module.html#VALID_DEVICE_TYPES"><a title="CedarBackup2.config.VALID_DEVICE_TYPES" class="py-name" href="#" onclick="return doclink('link-49', 'VALID_DEVICE_TYPES', 'link-49');">VALID_DEVICE_TYPES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"cdwriter"</tt><tt class="py-op">,</tt> <tt class="py-string">"dvdwriter"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L266"></a><tt class="py-lineno"> 266</tt> <tt class="py-line"><tt id="link-50" class="py-name" targets="Variable CedarBackup2.config.VALID_CD_MEDIA_TYPES=CedarBackup2.config-module.html#VALID_CD_MEDIA_TYPES"><a title="CedarBackup2.config.VALID_CD_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-50', 'VALID_CD_MEDIA_TYPES', 'link-50');">VALID_CD_MEDIA_TYPES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"cdr-74"</tt><tt class="py-op">,</tt> <tt class="py-string">"cdrw-74"</tt><tt class="py-op">,</tt> <tt class="py-string">"cdr-80"</tt><tt class="py-op">,</tt> <tt class="py-string">"cdrw-80"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L267"></a><tt class="py-lineno"> 267</tt> <tt class="py-line"><tt id="link-51" class="py-name" targets="Variable CedarBackup2.config.VALID_DVD_MEDIA_TYPES=CedarBackup2.config-module.html#VALID_DVD_MEDIA_TYPES"><a title="CedarBackup2.config.VALID_DVD_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-51', 'VALID_DVD_MEDIA_TYPES', 'link-51');">VALID_DVD_MEDIA_TYPES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"dvd+r"</tt><tt class="py-op">,</tt> <tt class="py-string">"dvd+rw"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L268"></a><tt class="py-lineno"> 268</tt> <tt class="py-line"><tt id="link-52" class="py-name" targets="Variable CedarBackup2.config.VALID_MEDIA_TYPES=CedarBackup2.config-module.html#VALID_MEDIA_TYPES"><a title="CedarBackup2.config.VALID_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-52', 'VALID_MEDIA_TYPES', 'link-52');">VALID_MEDIA_TYPES</a></tt> <tt class="py-op">=</tt> <tt id="link-53" class="py-name"><a title="CedarBackup2.config.VALID_CD_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-53', 'VALID_CD_MEDIA_TYPES', 'link-50');">VALID_CD_MEDIA_TYPES</a></tt> <tt class="py-op">+</tt> <tt id="link-54" class="py-name"><a title="CedarBackup2.config.VALID_DVD_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-54', 'VALID_DVD_MEDIA_TYPES', 'link-51');">VALID_DVD_MEDIA_TYPES</a></tt> </tt>
<a name="L269"></a><tt class="py-lineno"> 269</tt> <tt class="py-line"><tt id="link-55" class="py-name" targets="Variable CedarBackup2.config.VALID_COLLECT_MODES=CedarBackup2.config-module.html#VALID_COLLECT_MODES"><a title="CedarBackup2.config.VALID_COLLECT_MODES" class="py-name" href="#" onclick="return doclink('link-55', 'VALID_COLLECT_MODES', 'link-55');">VALID_COLLECT_MODES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"daily"</tt><tt class="py-op">,</tt> <tt class="py-string">"weekly"</tt><tt class="py-op">,</tt> <tt class="py-string">"incr"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L270"></a><tt class="py-lineno"> 270</tt> <tt class="py-line"><tt id="link-56" class="py-name" targets="Variable CedarBackup2.config.VALID_ARCHIVE_MODES=CedarBackup2.config-module.html#VALID_ARCHIVE_MODES"><a title="CedarBackup2.config.VALID_ARCHIVE_MODES" class="py-name" href="#" onclick="return doclink('link-56', 'VALID_ARCHIVE_MODES', 'link-56');">VALID_ARCHIVE_MODES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"tar"</tt><tt class="py-op">,</tt> <tt class="py-string">"targz"</tt><tt class="py-op">,</tt> <tt class="py-string">"tarbz2"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L271"></a><tt class="py-lineno"> 271</tt> <tt class="py-line"><tt id="link-57" class="py-name" targets="Variable CedarBackup2.config.VALID_COMPRESS_MODES=CedarBackup2.config-module.html#VALID_COMPRESS_MODES"><a title="CedarBackup2.config.VALID_COMPRESS_MODES" class="py-name" href="#" onclick="return doclink('link-57', 'VALID_COMPRESS_MODES', 'link-57');">VALID_COMPRESS_MODES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"none"</tt><tt class="py-op">,</tt> <tt class="py-string">"gzip"</tt><tt class="py-op">,</tt> <tt class="py-string">"bzip2"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L272"></a><tt class="py-lineno"> 272</tt> <tt class="py-line"><tt id="link-58" class="py-name" targets="Variable CedarBackup2.config.VALID_ORDER_MODES=CedarBackup2.config-module.html#VALID_ORDER_MODES"><a title="CedarBackup2.config.VALID_ORDER_MODES" class="py-name" href="#" onclick="return doclink('link-58', 'VALID_ORDER_MODES', 'link-58');">VALID_ORDER_MODES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"index"</tt><tt class="py-op">,</tt> <tt class="py-string">"dependency"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L273"></a><tt class="py-lineno"> 273</tt> <tt class="py-line"><tt id="link-59" class="py-name" targets="Variable CedarBackup2.config.VALID_BLANK_MODES=CedarBackup2.config-module.html#VALID_BLANK_MODES"><a title="CedarBackup2.config.VALID_BLANK_MODES" class="py-name" href="#" onclick="return doclink('link-59', 'VALID_BLANK_MODES', 'link-59');">VALID_BLANK_MODES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"daily"</tt><tt class="py-op">,</tt> <tt class="py-string">"weekly"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L274"></a><tt class="py-lineno"> 274</tt> <tt class="py-line"><tt id="link-60" class="py-name" targets="Variable CedarBackup2.config.VALID_BYTE_UNITS=CedarBackup2.config-module.html#VALID_BYTE_UNITS"><a title="CedarBackup2.config.VALID_BYTE_UNITS" class="py-name" href="#" onclick="return doclink('link-60', 'VALID_BYTE_UNITS', 'link-60');">VALID_BYTE_UNITS</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt id="link-61" class="py-name"><a title="CedarBackup2.util.UNIT_BYTES" class="py-name" href="#" onclick="return doclink('link-61', 'UNIT_BYTES', 'link-20');">UNIT_BYTES</a></tt><tt class="py-op">,</tt> <tt id="link-62" class="py-name"><a title="CedarBackup2.util.UNIT_KBYTES" class="py-name" href="#" onclick="return doclink('link-62', 'UNIT_KBYTES', 'link-21');">UNIT_KBYTES</a></tt><tt class="py-op">,</tt> <tt id="link-63" class="py-name"><a title="CedarBackup2.util.UNIT_MBYTES" class="py-name" href="#" onclick="return doclink('link-63', 'UNIT_MBYTES', 'link-22');">UNIT_MBYTES</a></tt><tt class="py-op">,</tt> <tt id="link-64" class="py-name"><a title="CedarBackup2.util.UNIT_GBYTES" class="py-name" href="#" onclick="return doclink('link-64', 'UNIT_GBYTES', 'link-23');">UNIT_GBYTES</a></tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L275"></a><tt class="py-lineno"> 275</tt> <tt class="py-line"><tt id="link-65" class="py-name" targets="Variable CedarBackup2.config.VALID_FAILURE_MODES=CedarBackup2.config-module.html#VALID_FAILURE_MODES"><a title="CedarBackup2.config.VALID_FAILURE_MODES" class="py-name" href="#" onclick="return doclink('link-65', 'VALID_FAILURE_MODES', 'link-65');">VALID_FAILURE_MODES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"none"</tt><tt class="py-op">,</tt> <tt class="py-string">"all"</tt><tt class="py-op">,</tt> <tt class="py-string">"daily"</tt><tt class="py-op">,</tt> <tt class="py-string">"weekly"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L276"></a><tt class="py-lineno"> 276</tt> <tt class="py-line"> </tt>
<a name="L277"></a><tt class="py-lineno"> 277</tt> <tt class="py-line"><tt id="link-66" class="py-name" targets="Variable CedarBackup2.config.REWRITABLE_MEDIA_TYPES=CedarBackup2.config-module.html#REWRITABLE_MEDIA_TYPES"><a title="CedarBackup2.config.REWRITABLE_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-66', 'REWRITABLE_MEDIA_TYPES', 'link-66');">REWRITABLE_MEDIA_TYPES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">"cdrw-74"</tt><tt class="py-op">,</tt> <tt class="py-string">"cdrw-80"</tt><tt class="py-op">,</tt> <tt class="py-string">"dvd+rw"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L278"></a><tt class="py-lineno"> 278</tt> <tt class="py-line"> </tt>
<a name="L279"></a><tt class="py-lineno"> 279</tt> <tt class="py-line"><tt id="link-67" class="py-name" targets="Variable CedarBackup2.config.ACTION_NAME_REGEX=CedarBackup2.config-module.html#ACTION_NAME_REGEX"><a title="CedarBackup2.config.ACTION_NAME_REGEX" class="py-name" href="#" onclick="return doclink('link-67', 'ACTION_NAME_REGEX', 'link-67');">ACTION_NAME_REGEX</a></tt> <tt class="py-op">=</tt> <tt class="py-string">r"^[a-z0-9]*$"</tt> </tt>
<a name="ByteQuantity"></a><div id="ByteQuantity-def"><a name="L280"></a><tt class="py-lineno"> 280</tt> <tt class="py-line"> </tt>
<a name="L281"></a><tt class="py-lineno"> 281</tt> <tt class="py-line"> </tt>
<a name="L282"></a><tt class="py-lineno"> 282</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L283"></a><tt class="py-lineno"> 283</tt> <tt class="py-line"><tt class="py-comment"># ByteQuantity class definition</tt> </tt>
<a name="L284"></a><tt class="py-lineno"> 284</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L285"></a><tt class="py-lineno"> 285</tt> <tt class="py-line"> </tt>
<a name="L286"></a><tt class="py-lineno"> 286</tt> <a class="py-toggle" href="#" id="ByteQuantity-toggle" onclick="return toggle('ByteQuantity');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html">ByteQuantity</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ByteQuantity-expanded"><a name="L287"></a><tt class="py-lineno"> 287</tt> <tt class="py-line"> </tt>
<a name="L288"></a><tt class="py-lineno"> 288</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L289"></a><tt class="py-lineno"> 289</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a byte quantity.</tt> </tt>
<a name="L290"></a><tt class="py-lineno"> 290</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L291"></a><tt class="py-lineno"> 291</tt> <tt class="py-line"><tt class="py-docstring"> A byte quantity has both a quantity and a byte-related unit. Units are</tt> </tt>
<a name="L292"></a><tt class="py-lineno"> 292</tt> <tt class="py-line"><tt class="py-docstring"> maintained using the constants from util.py.</tt> </tt>
<a name="L293"></a><tt class="py-lineno"> 293</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L294"></a><tt class="py-lineno"> 294</tt> <tt class="py-line"><tt class="py-docstring"> The quantity is maintained internally as a string so that issues of</tt> </tt>
<a name="L295"></a><tt class="py-lineno"> 295</tt> <tt class="py-line"><tt class="py-docstring"> precision can be avoided. It really isn't possible to store a floating</tt> </tt>
<a name="L296"></a><tt class="py-lineno"> 296</tt> <tt class="py-line"><tt class="py-docstring"> point number here while being able to losslessly translate back and forth</tt> </tt>
<a name="L297"></a><tt class="py-lineno"> 297</tt> <tt class="py-line"><tt class="py-docstring"> between XML and object representations. (Perhaps the Python 2.4 Decimal</tt> </tt>
<a name="L298"></a><tt class="py-lineno"> 298</tt> <tt class="py-line"><tt class="py-docstring"> class would have been an option, but I originally wanted to stay compatible </tt> </tt>
<a name="L299"></a><tt class="py-lineno"> 299</tt> <tt class="py-line"><tt class="py-docstring"> with Python 2.3.)</tt> </tt>
<a name="L300"></a><tt class="py-lineno"> 300</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L301"></a><tt class="py-lineno"> 301</tt> <tt class="py-line"><tt class="py-docstring"> Even though the quantity is maintained as a string, the string must be in a</tt> </tt>
<a name="L302"></a><tt class="py-lineno"> 302</tt> <tt class="py-line"><tt class="py-docstring"> valid floating point positive number. Technically, any floating point</tt> </tt>
<a name="L303"></a><tt class="py-lineno"> 303</tt> <tt class="py-line"><tt class="py-docstring"> string format supported by Python is allowble. However, it does not make</tt> </tt>
<a name="L304"></a><tt class="py-lineno"> 304</tt> <tt class="py-line"><tt class="py-docstring"> sense to have a negative quantity of bytes in this context. </tt> </tt>
<a name="L305"></a><tt class="py-lineno"> 305</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L306"></a><tt class="py-lineno"> 306</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, quantity, units</tt> </tt>
<a name="L307"></a><tt class="py-lineno"> 307</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L308"></a><tt class="py-lineno"> 308</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity.__init__"></a><div id="ByteQuantity.__init__-def"><a name="L309"></a><tt class="py-lineno"> 309</tt> <a class="py-toggle" href="#" id="ByteQuantity.__init__-toggle" onclick="return toggle('ByteQuantity.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">quantity</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">units</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity.__init__-expanded"><a name="L310"></a><tt class="py-lineno"> 310</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L311"></a><tt class="py-lineno"> 311</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{ByteQuantity} class.</tt> </tt>
<a name="L312"></a><tt class="py-lineno"> 312</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L313"></a><tt class="py-lineno"> 313</tt> <tt class="py-line"><tt class="py-docstring"> @param quantity: Quantity of bytes, as string ("1.25")</tt> </tt>
<a name="L314"></a><tt class="py-lineno"> 314</tt> <tt class="py-line"><tt class="py-docstring"> @param units: Unit of bytes, one of VALID_BYTE_UNITS</tt> </tt>
<a name="L315"></a><tt class="py-lineno"> 315</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L316"></a><tt class="py-lineno"> 316</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L317"></a><tt class="py-lineno"> 317</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L318"></a><tt class="py-lineno"> 318</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_quantity</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L319"></a><tt class="py-lineno"> 319</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_units</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L320"></a><tt class="py-lineno"> 320</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-68" class="py-name" targets="Variable CedarBackup2.config.ByteQuantity.quantity=CedarBackup2.config.ByteQuantity-class.html#quantity,Variable CedarBackup2.extend.capacity.PercentageQuantity.quantity=CedarBackup2.extend.capacity.PercentageQuantity-class.html#quantity"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-68', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-op">=</tt> <tt id="link-69" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-69', 'quantity', 'link-68');">quantity</a></tt> </tt>
<a name="L321"></a><tt class="py-lineno"> 321</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name" targets="Variable CedarBackup2.config.ByteQuantity.units=CedarBackup2.config.ByteQuantity-class.html#units"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-70', 'units', 'link-70');">units</a></tt> <tt class="py-op">=</tt> <tt id="link-71" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-71', 'units', 'link-70');">units</a></tt> </tt>
</div><a name="L322"></a><tt class="py-lineno"> 322</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity.__repr__"></a><div id="ByteQuantity.__repr__-def"><a name="L323"></a><tt class="py-lineno"> 323</tt> <a class="py-toggle" href="#" id="ByteQuantity.__repr__-toggle" onclick="return toggle('ByteQuantity.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity.__repr__-expanded"><a name="L324"></a><tt class="py-lineno"> 324</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L325"></a><tt class="py-lineno"> 325</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L326"></a><tt class="py-lineno"> 326</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L327"></a><tt class="py-lineno"> 327</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"ByteQuantity(%s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-72" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-72', 'quantity', 'link-68');">quantity</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-73', 'units', 'link-70');">units</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L328"></a><tt class="py-lineno"> 328</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity.__str__"></a><div id="ByteQuantity.__str__-def"><a name="L329"></a><tt class="py-lineno"> 329</tt> <a class="py-toggle" href="#" id="ByteQuantity.__str__-toggle" onclick="return toggle('ByteQuantity.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity.__str__-expanded"><a name="L330"></a><tt class="py-lineno"> 330</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L331"></a><tt class="py-lineno"> 331</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L332"></a><tt class="py-lineno"> 332</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L333"></a><tt class="py-lineno"> 333</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-74" class="py-name" targets="Method CedarBackup2.cli.Options.__repr__()=CedarBackup2.cli.Options-class.html#__repr__,Method CedarBackup2.config.ActionDependencies.__repr__()=CedarBackup2.config.ActionDependencies-class.html#__repr__,Method CedarBackup2.config.ActionHook.__repr__()=CedarBackup2.config.ActionHook-class.html#__repr__,Method CedarBackup2.config.BlankBehavior.__repr__()=CedarBackup2.config.BlankBehavior-class.html#__repr__,Method CedarBackup2.config.ByteQuantity.__repr__()=CedarBackup2.config.ByteQuantity-class.html#__repr__,Method CedarBackup2.config.CollectConfig.__repr__()=CedarBackup2.config.CollectConfig-class.html#__repr__,Method CedarBackup2.config.CollectDir.__repr__()=CedarBackup2.config.CollectDir-class.html#__repr__,Method CedarBackup2.config.CollectFile.__repr__()=CedarBackup2.config.CollectFile-class.html#__repr__,Method CedarBackup2.config.CommandOverride.__repr__()=CedarBackup2.config.CommandOverride-class.html#__repr__,Method CedarBackup2.config.Config.__repr__()=CedarBackup2.config.Config-class.html#__repr__,Method CedarBackup2.config.ExtendedAction.__repr__()=CedarBackup2.config.ExtendedAction-class.html#__repr__,Method CedarBackup2.config.ExtensionsConfig.__repr__()=CedarBackup2.config.ExtensionsConfig-class.html#__repr__,Method CedarBackup2.config.LocalPeer.__repr__()=CedarBackup2.config.LocalPeer-class.html#__repr__,Method CedarBackup2.config.OptionsConfig.__repr__()=CedarBackup2.config.OptionsConfig-class.html#__repr__,Method CedarBackup2.config.PeersConfig.__repr__()=CedarBackup2.config.PeersConfig-class.html#__repr__,Method CedarBackup2.config.PostActionHook.__repr__()=CedarBackup2.config.PostActionHook-class.html#__repr__,Method CedarBackup2.config.PreActionHook.__repr__()=CedarBackup2.config.PreActionHook-class.html#__repr__,Method CedarBackup2.config.PurgeConfig.__repr__()=CedarBackup2.config.PurgeConfig-class.html#__repr__,Method CedarBackup2.config.PurgeDir.__repr__()=CedarBackup2.config.PurgeDir-class.html#__repr__,Method CedarBackup2.config.ReferenceConfig.__repr__()=CedarBackup2.config.ReferenceConfig-class.html#__repr__,Method CedarBackup2.config.RemotePeer.__repr__()=CedarBackup2.config.RemotePeer-class.html#__repr__,Method CedarBackup2.config.StageConfig.__repr__()=CedarBackup2.config.StageConfig-class.html#__repr__,Method CedarBackup2.config.StoreConfig.__repr__()=CedarBackup2.config.StoreConfig-class.html#__repr__,Method CedarBackup2.extend.capacity.CapacityConfig.__repr__()=CedarBackup2.extend.capacity.CapacityConfig-class.html#__repr__,Method CedarBackup2.extend.capacity.LocalConfig.__repr__()=CedarBackup2.extend.capacity.LocalConfig-class.html#__repr__,Method CedarBackup2.extend.capacity.PercentageQuantity.__repr__()=CedarBackup2.extend.capacity.PercentageQuantity-class.html#__repr__,Method CedarBackup2.extend.encrypt.EncryptConfig.__repr__()=CedarBackup2.extend.encrypt.EncryptConfig-class.html#__repr__,Method CedarBackup2.extend.encrypt.LocalConfig.__repr__()=CedarBackup2.extend.encrypt.LocalConfig-class.html#__repr__,Method CedarBackup2.extend.mbox.LocalConfig.__repr__()=CedarBackup2.extend.mbox.LocalConfig-class.html#__repr__,Method CedarBackup2.extend.mbox.MboxConfig.__repr__()=CedarBackup2.extend.mbox.MboxConfig-class.html#__repr__,Method CedarBackup2.extend.mbox.MboxDir.__repr__()=CedarBackup2.extend.mbox.MboxDir-class.html#__repr__,Method CedarBackup2.extend.mbox.MboxFile.__repr__()=CedarBackup2.extend.mbox.MboxFile-class.html#__repr__,Method CedarBackup2.extend.mysql.LocalConfig.__repr__()=CedarBackup2.extend.mysql.LocalConfig-class.html#__repr__,Method CedarBackup2.extend.mysql.MysqlConfig.__repr__()=CedarBackup2.extend.mysql.MysqlConfig-class.html#__repr__,Method CedarBackup2.extend.postgresql.LocalConfig.__repr__()=CedarBackup2.extend.postgresql.LocalConfig-class.html#__repr__,Method CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__()=CedarBackup2.extend.postgresql.PostgresqlConfig-class.html#__repr__,Method CedarBackup2.extend.split.LocalConfig.__repr__()=CedarBackup2.extend.split.LocalConfig-class.html#__repr__,Method CedarBackup2.extend.split.SplitConfig.__repr__()=CedarBackup2.extend.split.SplitConfig-class.html#__repr__,Method CedarBackup2.extend.subversion.BDBRepository.__repr__()=CedarBackup2.extend.subversion.BDBRepository-class.html#__repr__,Method CedarBackup2.extend.subversion.FSFSRepository.__repr__()=CedarBackup2.extend.subversion.FSFSRepository-class.html#__repr__,Method CedarBackup2.extend.subversion.LocalConfig.__repr__()=CedarBackup2.extend.subversion.LocalConfig-class.html#__repr__,Method CedarBackup2.extend.subversion.Repository.__repr__()=CedarBackup2.extend.subversion.Repository-class.html#__repr__,Method CedarBackup2.extend.subversion.RepositoryDir.__repr__()=CedarBackup2.extend.subversion.RepositoryDir-class.html#__repr__,Method CedarBackup2.extend.subversion.SubversionConfig.__repr__()=CedarBackup2.extend.subversion.SubversionConfig-class.html#__repr__,Method CedarBackup2.util.Diagnostics.__repr__()=CedarBackup2.util.Diagnostics-class.html#__repr__,Method CedarBackup2.util.DirectedGraph.__repr__()=CedarBackup2.util.DirectedGraph-class.html#__repr__"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-74', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L334"></a><tt class="py-lineno"> 334</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity.__cmp__"></a><div id="ByteQuantity.__cmp__-def"><a name="L335"></a><tt class="py-lineno"> 335</tt> <a class="py-toggle" href="#" id="ByteQuantity.__cmp__-toggle" onclick="return toggle('ByteQuantity.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity.__cmp__-expanded"><a name="L336"></a><tt class="py-lineno"> 336</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L337"></a><tt class="py-lineno"> 337</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L338"></a><tt class="py-lineno"> 338</tt> <tt class="py-line"><tt class="py-docstring"> Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L339"></a><tt class="py-lineno"> 339</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L340"></a><tt class="py-lineno"> 340</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L341"></a><tt class="py-lineno"> 341</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L342"></a><tt class="py-lineno"> 342</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L343"></a><tt class="py-lineno"> 343</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L344"></a><tt class="py-lineno"> 344</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-75" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-75', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-76" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-76', 'quantity', 'link-68');">quantity</a></tt><tt class="py-op">:</tt> </tt>
<a name="L345"></a><tt class="py-lineno"> 345</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-77" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-77', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-78" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-78', 'quantity', 'link-68');">quantity</a></tt><tt class="py-op">:</tt> </tt>
<a name="L346"></a><tt class="py-lineno"> 346</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L347"></a><tt class="py-lineno"> 347</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L348"></a><tt class="py-lineno"> 348</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L349"></a><tt class="py-lineno"> 349</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-79" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-79', 'units', 'link-70');">units</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-80', 'units', 'link-70');">units</a></tt><tt class="py-op">:</tt> </tt>
<a name="L350"></a><tt class="py-lineno"> 350</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-81" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-81', 'units', 'link-70');">units</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-82', 'units', 'link-70');">units</a></tt><tt class="py-op">:</tt> </tt>
<a name="L351"></a><tt class="py-lineno"> 351</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L352"></a><tt class="py-lineno"> 352</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L353"></a><tt class="py-lineno"> 353</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L354"></a><tt class="py-lineno"> 354</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L355"></a><tt class="py-lineno"> 355</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity._setQuantity"></a><div id="ByteQuantity._setQuantity-def"><a name="L356"></a><tt class="py-lineno"> 356</tt> <a class="py-toggle" href="#" id="ByteQuantity._setQuantity-toggle" onclick="return toggle('ByteQuantity._setQuantity');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#_setQuantity">_setQuantity</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity._setQuantity-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity._setQuantity-expanded"><a name="L357"></a><tt class="py-lineno"> 357</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L358"></a><tt class="py-lineno"> 358</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the quantity</tt> </tt>
<a name="L359"></a><tt class="py-lineno"> 359</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L360"></a><tt class="py-lineno"> 360</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L361"></a><tt class="py-lineno"> 361</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a valid floating point number</tt> </tt>
<a name="L362"></a><tt class="py-lineno"> 362</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is less than zero</tt> </tt>
<a name="L363"></a><tt class="py-lineno"> 363</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L364"></a><tt class="py-lineno"> 364</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L365"></a><tt class="py-lineno"> 365</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L366"></a><tt class="py-lineno"> 366</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Quantity must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L367"></a><tt class="py-lineno"> 367</tt> <tt class="py-line"> <tt class="py-name">floatValue</tt> <tt class="py-op">=</tt> <tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L368"></a><tt class="py-lineno"> 368</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">floatValue</tt> <tt class="py-op"><</tt> <tt class="py-number">0.0</tt><tt class="py-op">:</tt> </tt>
<a name="L369"></a><tt class="py-lineno"> 369</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Quantity cannot be negative."</tt><tt class="py-op">)</tt> </tt>
<a name="L370"></a><tt class="py-lineno"> 370</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_quantity</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> <tt class="py-comment"># keep around string</tt> </tt>
</div><a name="L371"></a><tt class="py-lineno"> 371</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity._getQuantity"></a><div id="ByteQuantity._getQuantity-def"><a name="L372"></a><tt class="py-lineno"> 372</tt> <a class="py-toggle" href="#" id="ByteQuantity._getQuantity-toggle" onclick="return toggle('ByteQuantity._getQuantity');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#_getQuantity">_getQuantity</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity._getQuantity-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity._getQuantity-expanded"><a name="L373"></a><tt class="py-lineno"> 373</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L374"></a><tt class="py-lineno"> 374</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the quantity.</tt> </tt>
<a name="L375"></a><tt class="py-lineno"> 375</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L376"></a><tt class="py-lineno"> 376</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_quantity</tt> </tt>
</div><a name="L377"></a><tt class="py-lineno"> 377</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity._setUnits"></a><div id="ByteQuantity._setUnits-def"><a name="L378"></a><tt class="py-lineno"> 378</tt> <a class="py-toggle" href="#" id="ByteQuantity._setUnits-toggle" onclick="return toggle('ByteQuantity._setUnits');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#_setUnits">_setUnits</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity._setUnits-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity._setUnits-expanded"><a name="L379"></a><tt class="py-lineno"> 379</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L380"></a><tt class="py-lineno"> 380</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the units value.</tt> </tt>
<a name="L381"></a><tt class="py-lineno"> 381</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the units value must be one of the values in L{VALID_BYTE_UNITS}.</tt> </tt>
<a name="L382"></a><tt class="py-lineno"> 382</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L383"></a><tt class="py-lineno"> 383</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L384"></a><tt class="py-lineno"> 384</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L385"></a><tt class="py-lineno"> 385</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-83" class="py-name"><a title="CedarBackup2.config.VALID_BYTE_UNITS" class="py-name" href="#" onclick="return doclink('link-83', 'VALID_BYTE_UNITS', 'link-60');">VALID_BYTE_UNITS</a></tt><tt class="py-op">:</tt> </tt>
<a name="L386"></a><tt class="py-lineno"> 386</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Units value must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-84" class="py-name"><a title="CedarBackup2.config.VALID_BYTE_UNITS" class="py-name" href="#" onclick="return doclink('link-84', 'VALID_BYTE_UNITS', 'link-60');">VALID_BYTE_UNITS</a></tt><tt class="py-op">)</tt> </tt>
<a name="L387"></a><tt class="py-lineno"> 387</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_units</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L388"></a><tt class="py-lineno"> 388</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity._getUnits"></a><div id="ByteQuantity._getUnits-def"><a name="L389"></a><tt class="py-lineno"> 389</tt> <a class="py-toggle" href="#" id="ByteQuantity._getUnits-toggle" onclick="return toggle('ByteQuantity._getUnits');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#_getUnits">_getUnits</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity._getUnits-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity._getUnits-expanded"><a name="L390"></a><tt class="py-lineno"> 390</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L391"></a><tt class="py-lineno"> 391</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the units value.</tt> </tt>
<a name="L392"></a><tt class="py-lineno"> 392</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L393"></a><tt class="py-lineno"> 393</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_units</tt> </tt>
</div><a name="L394"></a><tt class="py-lineno"> 394</tt> <tt class="py-line"> </tt>
<a name="ByteQuantity._getBytes"></a><div id="ByteQuantity._getBytes-def"><a name="L395"></a><tt class="py-lineno"> 395</tt> <a class="py-toggle" href="#" id="ByteQuantity._getBytes-toggle" onclick="return toggle('ByteQuantity._getBytes');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ByteQuantity-class.html#_getBytes">_getBytes</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ByteQuantity._getBytes-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ByteQuantity._getBytes-expanded"><a name="L396"></a><tt class="py-lineno"> 396</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L397"></a><tt class="py-lineno"> 397</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to return the byte quantity as a floating point number.</tt> </tt>
<a name="L398"></a><tt class="py-lineno"> 398</tt> <tt class="py-line"><tt class="py-docstring"> If there is no quantity set, then a value of 0.0 is returned.</tt> </tt>
<a name="L399"></a><tt class="py-lineno"> 399</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L400"></a><tt class="py-lineno"> 400</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-85" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-85', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-86" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-86', 'units', 'link-70');">units</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L401"></a><tt class="py-lineno"> 401</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-87" class="py-name"><a title="CedarBackup2.util.convertSize" class="py-name" href="#" onclick="return doclink('link-87', 'convertSize', 'link-19');">convertSize</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-88', 'quantity', 'link-68');">quantity</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-89', 'units', 'link-70');">units</a></tt><tt class="py-op">,</tt> <tt id="link-90" class="py-name"><a title="CedarBackup2.util.UNIT_BYTES" class="py-name" href="#" onclick="return doclink('link-90', 'UNIT_BYTES', 'link-20');">UNIT_BYTES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L402"></a><tt class="py-lineno"> 402</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0.0</tt> </tt>
</div><a name="L403"></a><tt class="py-lineno"> 403</tt> <tt class="py-line"> </tt>
<a name="L404"></a><tt class="py-lineno"> 404</tt> <tt class="py-line"> <tt id="link-91" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-91', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-92" class="py-name" targets="Method CedarBackup2.config.ByteQuantity._getQuantity()=CedarBackup2.config.ByteQuantity-class.html#_getQuantity,Method CedarBackup2.extend.capacity.PercentageQuantity._getQuantity()=CedarBackup2.extend.capacity.PercentageQuantity-class.html#_getQuantity"><a title="CedarBackup2.config.ByteQuantity._getQuantity
CedarBackup2.extend.capacity.PercentageQuantity._getQuantity" class="py-name" href="#" onclick="return doclink('link-92', '_getQuantity', 'link-92');">_getQuantity</a></tt><tt class="py-op">,</tt> <tt id="link-93" class="py-name" targets="Method CedarBackup2.config.ByteQuantity._setQuantity()=CedarBackup2.config.ByteQuantity-class.html#_setQuantity,Method CedarBackup2.extend.capacity.PercentageQuantity._setQuantity()=CedarBackup2.extend.capacity.PercentageQuantity-class.html#_setQuantity"><a title="CedarBackup2.config.ByteQuantity._setQuantity
CedarBackup2.extend.capacity.PercentageQuantity._setQuantity" class="py-name" href="#" onclick="return doclink('link-93', '_setQuantity', 'link-93');">_setQuantity</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Byte quantity, as a string"</tt><tt class="py-op">)</tt> </tt>
<a name="L405"></a><tt class="py-lineno"> 405</tt> <tt class="py-line"> <tt id="link-94" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-94', 'units', 'link-70');">units</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-95" class="py-name" targets="Method CedarBackup2.config.ByteQuantity._getUnits()=CedarBackup2.config.ByteQuantity-class.html#_getUnits"><a title="CedarBackup2.config.ByteQuantity._getUnits" class="py-name" href="#" onclick="return doclink('link-95', '_getUnits', 'link-95');">_getUnits</a></tt><tt class="py-op">,</tt> <tt id="link-96" class="py-name" targets="Method CedarBackup2.config.ByteQuantity._setUnits()=CedarBackup2.config.ByteQuantity-class.html#_setUnits"><a title="CedarBackup2.config.ByteQuantity._setUnits" class="py-name" href="#" onclick="return doclink('link-96', '_setUnits', 'link-96');">_setUnits</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Units for byte quantity, for instance UNIT_BYTES"</tt><tt class="py-op">)</tt> </tt>
<a name="L406"></a><tt class="py-lineno"> 406</tt> <tt class="py-line"> <tt id="link-97" class="py-name" targets="Variable CedarBackup2.config.ByteQuantity.bytes=CedarBackup2.config.ByteQuantity-class.html#bytes"><a title="CedarBackup2.config.ByteQuantity.bytes" class="py-name" href="#" onclick="return doclink('link-97', 'bytes', 'link-97');">bytes</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-98" class="py-name" targets="Method CedarBackup2.config.ByteQuantity._getBytes()=CedarBackup2.config.ByteQuantity-class.html#_getBytes"><a title="CedarBackup2.config.ByteQuantity._getBytes" class="py-name" href="#" onclick="return doclink('link-98', '_getBytes', 'link-98');">_getBytes</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Byte quantity, as a floating point number."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L407"></a><tt class="py-lineno"> 407</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies"></a><div id="ActionDependencies-def"><a name="L408"></a><tt class="py-lineno"> 408</tt> <tt class="py-line"> </tt>
<a name="L409"></a><tt class="py-lineno"> 409</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L410"></a><tt class="py-lineno"> 410</tt> <tt class="py-line"><tt class="py-comment"># ActionDependencies class definition</tt> </tt>
<a name="L411"></a><tt class="py-lineno"> 411</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L412"></a><tt class="py-lineno"> 412</tt> <tt class="py-line"> </tt>
<a name="L413"></a><tt class="py-lineno"> 413</tt> <a class="py-toggle" href="#" id="ActionDependencies-toggle" onclick="return toggle('ActionDependencies');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html">ActionDependencies</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ActionDependencies-expanded"><a name="L414"></a><tt class="py-lineno"> 414</tt> <tt class="py-line"> </tt>
<a name="L415"></a><tt class="py-lineno"> 415</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L416"></a><tt class="py-lineno"> 416</tt> <tt class="py-line"><tt class="py-docstring"> Class representing dependencies associated with an extended action.</tt> </tt>
<a name="L417"></a><tt class="py-lineno"> 417</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L418"></a><tt class="py-lineno"> 418</tt> <tt class="py-line"><tt class="py-docstring"> Execution ordering for extended actions is done in one of two ways: either by using</tt> </tt>
<a name="L419"></a><tt class="py-lineno"> 419</tt> <tt class="py-line"><tt class="py-docstring"> index values (lower index gets run first) or by having the extended action specify</tt> </tt>
<a name="L420"></a><tt class="py-lineno"> 420</tt> <tt class="py-line"><tt class="py-docstring"> dependencies in terms of other named actions. This class encapsulates the dependency</tt> </tt>
<a name="L421"></a><tt class="py-lineno"> 421</tt> <tt class="py-line"><tt class="py-docstring"> information for an extended action.</tt> </tt>
<a name="L422"></a><tt class="py-lineno"> 422</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L423"></a><tt class="py-lineno"> 423</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L424"></a><tt class="py-lineno"> 424</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L425"></a><tt class="py-lineno"> 425</tt> <tt class="py-line"><tt class="py-docstring"> - Any action name must be a non-empty string matching C{ACTION_NAME_REGEX}</tt> </tt>
<a name="L426"></a><tt class="py-lineno"> 426</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L427"></a><tt class="py-lineno"> 427</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, beforeList, afterList</tt> </tt>
<a name="L428"></a><tt class="py-lineno"> 428</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L429"></a><tt class="py-lineno"> 429</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies.__init__"></a><div id="ActionDependencies.__init__-def"><a name="L430"></a><tt class="py-lineno"> 430</tt> <a class="py-toggle" href="#" id="ActionDependencies.__init__-toggle" onclick="return toggle('ActionDependencies.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">beforeList</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">afterList</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionDependencies.__init__-expanded"><a name="L431"></a><tt class="py-lineno"> 431</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L432"></a><tt class="py-lineno"> 432</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{ActionDependencies} class.</tt> </tt>
<a name="L433"></a><tt class="py-lineno"> 433</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L434"></a><tt class="py-lineno"> 434</tt> <tt class="py-line"><tt class="py-docstring"> @param beforeList: List of named actions that this action must be run before</tt> </tt>
<a name="L435"></a><tt class="py-lineno"> 435</tt> <tt class="py-line"><tt class="py-docstring"> @param afterList: List of named actions that this action must be run after</tt> </tt>
<a name="L436"></a><tt class="py-lineno"> 436</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L437"></a><tt class="py-lineno"> 437</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L438"></a><tt class="py-lineno"> 438</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L439"></a><tt class="py-lineno"> 439</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_beforeList</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L440"></a><tt class="py-lineno"> 440</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_afterList</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L441"></a><tt class="py-lineno"> 441</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name" targets="Variable CedarBackup2.config.ActionDependencies.beforeList=CedarBackup2.config.ActionDependencies-class.html#beforeList"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-99', 'beforeList', 'link-99');">beforeList</a></tt> <tt class="py-op">=</tt> <tt id="link-100" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-100', 'beforeList', 'link-99');">beforeList</a></tt> </tt>
<a name="L442"></a><tt class="py-lineno"> 442</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-101" class="py-name" targets="Variable CedarBackup2.config.ActionDependencies.afterList=CedarBackup2.config.ActionDependencies-class.html#afterList"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-101', 'afterList', 'link-101');">afterList</a></tt> <tt class="py-op">=</tt> <tt id="link-102" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-102', 'afterList', 'link-101');">afterList</a></tt> </tt>
</div><a name="L443"></a><tt class="py-lineno"> 443</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies.__repr__"></a><div id="ActionDependencies.__repr__-def"><a name="L444"></a><tt class="py-lineno"> 444</tt> <a class="py-toggle" href="#" id="ActionDependencies.__repr__-toggle" onclick="return toggle('ActionDependencies.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionDependencies.__repr__-expanded"><a name="L445"></a><tt class="py-lineno"> 445</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L446"></a><tt class="py-lineno"> 446</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L447"></a><tt class="py-lineno"> 447</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L448"></a><tt class="py-lineno"> 448</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"ActionDependencies(%s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-103', 'beforeList', 'link-99');">beforeList</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-104" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-104', 'afterList', 'link-101');">afterList</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L449"></a><tt class="py-lineno"> 449</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies.__str__"></a><div id="ActionDependencies.__str__-def"><a name="L450"></a><tt class="py-lineno"> 450</tt> <a class="py-toggle" href="#" id="ActionDependencies.__str__-toggle" onclick="return toggle('ActionDependencies.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionDependencies.__str__-expanded"><a name="L451"></a><tt class="py-lineno"> 451</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L452"></a><tt class="py-lineno"> 452</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L453"></a><tt class="py-lineno"> 453</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L454"></a><tt class="py-lineno"> 454</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-105" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-105', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L455"></a><tt class="py-lineno"> 455</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies.__cmp__"></a><div id="ActionDependencies.__cmp__-def"><a name="L456"></a><tt class="py-lineno"> 456</tt> <a class="py-toggle" href="#" id="ActionDependencies.__cmp__-toggle" onclick="return toggle('ActionDependencies.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionDependencies.__cmp__-expanded"><a name="L457"></a><tt class="py-lineno"> 457</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L458"></a><tt class="py-lineno"> 458</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L459"></a><tt class="py-lineno"> 459</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L460"></a><tt class="py-lineno"> 460</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L461"></a><tt class="py-lineno"> 461</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L462"></a><tt class="py-lineno"> 462</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L463"></a><tt class="py-lineno"> 463</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L464"></a><tt class="py-lineno"> 464</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-106" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-106', 'beforeList', 'link-99');">beforeList</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-107" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-107', 'beforeList', 'link-99');">beforeList</a></tt><tt class="py-op">:</tt> </tt>
<a name="L465"></a><tt class="py-lineno"> 465</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-108" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-108', 'beforeList', 'link-99');">beforeList</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-109" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-109', 'beforeList', 'link-99');">beforeList</a></tt><tt class="py-op">:</tt> </tt>
<a name="L466"></a><tt class="py-lineno"> 466</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L467"></a><tt class="py-lineno"> 467</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L468"></a><tt class="py-lineno"> 468</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L469"></a><tt class="py-lineno"> 469</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-110" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-110', 'afterList', 'link-101');">afterList</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-111" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-111', 'afterList', 'link-101');">afterList</a></tt><tt class="py-op">:</tt> </tt>
<a name="L470"></a><tt class="py-lineno"> 470</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-112" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-112', 'afterList', 'link-101');">afterList</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-113" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-113', 'afterList', 'link-101');">afterList</a></tt><tt class="py-op">:</tt> </tt>
<a name="L471"></a><tt class="py-lineno"> 471</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L472"></a><tt class="py-lineno"> 472</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L473"></a><tt class="py-lineno"> 473</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L474"></a><tt class="py-lineno"> 474</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L475"></a><tt class="py-lineno"> 475</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies._setBeforeList"></a><div id="ActionDependencies._setBeforeList-def"><a name="L476"></a><tt class="py-lineno"> 476</tt> <a class="py-toggle" href="#" id="ActionDependencies._setBeforeList-toggle" onclick="return toggle('ActionDependencies._setBeforeList');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html#_setBeforeList">_setBeforeList</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies._setBeforeList-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionDependencies._setBeforeList-expanded"><a name="L477"></a><tt class="py-lineno"> 477</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L478"></a><tt class="py-lineno"> 478</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the "run before" list.</tt> </tt>
<a name="L479"></a><tt class="py-lineno"> 479</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a string matching ACTION_NAME_REGEX.</tt> </tt>
<a name="L480"></a><tt class="py-lineno"> 480</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value does not match the regular expression.</tt> </tt>
<a name="L481"></a><tt class="py-lineno"> 481</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L482"></a><tt class="py-lineno"> 482</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L483"></a><tt class="py-lineno"> 483</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_beforeList</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L484"></a><tt class="py-lineno"> 484</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L485"></a><tt class="py-lineno"> 485</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L486"></a><tt class="py-lineno"> 486</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_beforeList</tt> </tt>
<a name="L487"></a><tt class="py-lineno"> 487</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_beforeList</tt> <tt class="py-op">=</tt> <tt id="link-114" class="py-name"><a title="CedarBackup2.util.RegexMatchList" class="py-name" href="#" onclick="return doclink('link-114', 'RegexMatchList', 'link-13');">RegexMatchList</a></tt><tt class="py-op">(</tt><tt id="link-115" class="py-name"><a title="CedarBackup2.config.ACTION_NAME_REGEX" class="py-name" href="#" onclick="return doclink('link-115', 'ACTION_NAME_REGEX', 'link-67');">ACTION_NAME_REGEX</a></tt><tt class="py-op">,</tt> <tt class="py-name">emptyAllowed</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-name">prefix</tt><tt class="py-op">=</tt><tt class="py-string">"Action name"</tt><tt class="py-op">)</tt> </tt>
<a name="L488"></a><tt class="py-lineno"> 488</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_beforeList</tt><tt class="py-op">.</tt><tt id="link-116" class="py-name" targets="Package CedarBackup2.extend=CedarBackup2.extend-module.html,Method CedarBackup2.util.AbsolutePathList.extend()=CedarBackup2.util.AbsolutePathList-class.html#extend,Method CedarBackup2.util.ObjectTypeList.extend()=CedarBackup2.util.ObjectTypeList-class.html#extend,Method CedarBackup2.util.RegexList.extend()=CedarBackup2.util.RegexList-class.html#extend,Method CedarBackup2.util.RegexMatchList.extend()=CedarBackup2.util.RegexMatchList-class.html#extend,Method CedarBackup2.util.RestrictedContentList.extend()=CedarBackup2.util.RestrictedContentList-class.html#extend"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-116', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L489"></a><tt class="py-lineno"> 489</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L490"></a><tt class="py-lineno"> 490</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_beforeList</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L491"></a><tt class="py-lineno"> 491</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L492"></a><tt class="py-lineno"> 492</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies._getBeforeList"></a><div id="ActionDependencies._getBeforeList-def"><a name="L493"></a><tt class="py-lineno"> 493</tt> <a class="py-toggle" href="#" id="ActionDependencies._getBeforeList-toggle" onclick="return toggle('ActionDependencies._getBeforeList');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html#_getBeforeList">_getBeforeList</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies._getBeforeList-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionDependencies._getBeforeList-expanded"><a name="L494"></a><tt class="py-lineno"> 494</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L495"></a><tt class="py-lineno"> 495</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the "run before" list.</tt> </tt>
<a name="L496"></a><tt class="py-lineno"> 496</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L497"></a><tt class="py-lineno"> 497</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_beforeList</tt> </tt>
</div><a name="L498"></a><tt class="py-lineno"> 498</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies._setAfterList"></a><div id="ActionDependencies._setAfterList-def"><a name="L499"></a><tt class="py-lineno"> 499</tt> <a class="py-toggle" href="#" id="ActionDependencies._setAfterList-toggle" onclick="return toggle('ActionDependencies._setAfterList');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html#_setAfterList">_setAfterList</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies._setAfterList-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionDependencies._setAfterList-expanded"><a name="L500"></a><tt class="py-lineno"> 500</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L501"></a><tt class="py-lineno"> 501</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the "run after" list.</tt> </tt>
<a name="L502"></a><tt class="py-lineno"> 502</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a string matching ACTION_NAME_REGEX.</tt> </tt>
<a name="L503"></a><tt class="py-lineno"> 503</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value does not match the regular expression.</tt> </tt>
<a name="L504"></a><tt class="py-lineno"> 504</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L505"></a><tt class="py-lineno"> 505</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L506"></a><tt class="py-lineno"> 506</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_afterList</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L507"></a><tt class="py-lineno"> 507</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L508"></a><tt class="py-lineno"> 508</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L509"></a><tt class="py-lineno"> 509</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_afterList</tt> </tt>
<a name="L510"></a><tt class="py-lineno"> 510</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_afterList</tt> <tt class="py-op">=</tt> <tt id="link-117" class="py-name"><a title="CedarBackup2.util.RegexMatchList" class="py-name" href="#" onclick="return doclink('link-117', 'RegexMatchList', 'link-13');">RegexMatchList</a></tt><tt class="py-op">(</tt><tt id="link-118" class="py-name"><a title="CedarBackup2.config.ACTION_NAME_REGEX" class="py-name" href="#" onclick="return doclink('link-118', 'ACTION_NAME_REGEX', 'link-67');">ACTION_NAME_REGEX</a></tt><tt class="py-op">,</tt> <tt class="py-name">emptyAllowed</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-name">prefix</tt><tt class="py-op">=</tt><tt class="py-string">"Action name"</tt><tt class="py-op">)</tt> </tt>
<a name="L511"></a><tt class="py-lineno"> 511</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_afterList</tt><tt class="py-op">.</tt><tt id="link-119" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-119', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L512"></a><tt class="py-lineno"> 512</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L513"></a><tt class="py-lineno"> 513</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_afterList</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L514"></a><tt class="py-lineno"> 514</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L515"></a><tt class="py-lineno"> 515</tt> <tt class="py-line"> </tt>
<a name="ActionDependencies._getAfterList"></a><div id="ActionDependencies._getAfterList-def"><a name="L516"></a><tt class="py-lineno"> 516</tt> <a class="py-toggle" href="#" id="ActionDependencies._getAfterList-toggle" onclick="return toggle('ActionDependencies._getAfterList');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionDependencies-class.html#_getAfterList">_getAfterList</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionDependencies._getAfterList-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionDependencies._getAfterList-expanded"><a name="L517"></a><tt class="py-lineno"> 517</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L518"></a><tt class="py-lineno"> 518</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the "run after" list.</tt> </tt>
<a name="L519"></a><tt class="py-lineno"> 519</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L520"></a><tt class="py-lineno"> 520</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_afterList</tt> </tt>
</div><a name="L521"></a><tt class="py-lineno"> 521</tt> <tt class="py-line"> </tt>
<a name="L522"></a><tt class="py-lineno"> 522</tt> <tt class="py-line"> <tt id="link-120" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-120', 'beforeList', 'link-99');">beforeList</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-121" class="py-name" targets="Method CedarBackup2.config.ActionDependencies._getBeforeList()=CedarBackup2.config.ActionDependencies-class.html#_getBeforeList"><a title="CedarBackup2.config.ActionDependencies._getBeforeList" class="py-name" href="#" onclick="return doclink('link-121', '_getBeforeList', 'link-121');">_getBeforeList</a></tt><tt class="py-op">,</tt> <tt id="link-122" class="py-name" targets="Method CedarBackup2.config.ActionDependencies._setBeforeList()=CedarBackup2.config.ActionDependencies-class.html#_setBeforeList"><a title="CedarBackup2.config.ActionDependencies._setBeforeList" class="py-name" href="#" onclick="return doclink('link-122', '_setBeforeList', 'link-122');">_setBeforeList</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of named actions that this action must be run before."</tt><tt class="py-op">)</tt> </tt>
<a name="L523"></a><tt class="py-lineno"> 523</tt> <tt class="py-line"> <tt id="link-123" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-123', 'afterList', 'link-101');">afterList</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-124" class="py-name" targets="Method CedarBackup2.config.ActionDependencies._getAfterList()=CedarBackup2.config.ActionDependencies-class.html#_getAfterList"><a title="CedarBackup2.config.ActionDependencies._getAfterList" class="py-name" href="#" onclick="return doclink('link-124', '_getAfterList', 'link-124');">_getAfterList</a></tt><tt class="py-op">,</tt> <tt id="link-125" class="py-name" targets="Method CedarBackup2.config.ActionDependencies._setAfterList()=CedarBackup2.config.ActionDependencies-class.html#_setAfterList"><a title="CedarBackup2.config.ActionDependencies._setAfterList" class="py-name" href="#" onclick="return doclink('link-125', '_setAfterList', 'link-125');">_setAfterList</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of named actions that this action must be run after."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L524"></a><tt class="py-lineno"> 524</tt> <tt class="py-line"> </tt>
<a name="ActionHook"></a><div id="ActionHook-def"><a name="L525"></a><tt class="py-lineno"> 525</tt> <tt class="py-line"> </tt>
<a name="L526"></a><tt class="py-lineno"> 526</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L527"></a><tt class="py-lineno"> 527</tt> <tt class="py-line"><tt class="py-comment"># ActionHook class definition</tt> </tt>
<a name="L528"></a><tt class="py-lineno"> 528</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L529"></a><tt class="py-lineno"> 529</tt> <tt class="py-line"> </tt>
<a name="L530"></a><tt class="py-lineno"> 530</tt> <a class="py-toggle" href="#" id="ActionHook-toggle" onclick="return toggle('ActionHook');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html">ActionHook</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ActionHook-expanded"><a name="L531"></a><tt class="py-lineno"> 531</tt> <tt class="py-line"> </tt>
<a name="L532"></a><tt class="py-lineno"> 532</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L533"></a><tt class="py-lineno"> 533</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a hook associated with an action.</tt> </tt>
<a name="L534"></a><tt class="py-lineno"> 534</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L535"></a><tt class="py-lineno"> 535</tt> <tt class="py-line"><tt class="py-docstring"> A hook associated with an action is a shell command to be executed either</tt> </tt>
<a name="L536"></a><tt class="py-lineno"> 536</tt> <tt class="py-line"><tt class="py-docstring"> before or after a named action is executed. </tt> </tt>
<a name="L537"></a><tt class="py-lineno"> 537</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L538"></a><tt class="py-lineno"> 538</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L539"></a><tt class="py-lineno"> 539</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L540"></a><tt class="py-lineno"> 540</tt> <tt class="py-line"><tt class="py-docstring"> - The action name must be a non-empty string matching C{ACTION_NAME_REGEX}</tt> </tt>
<a name="L541"></a><tt class="py-lineno"> 541</tt> <tt class="py-line"><tt class="py-docstring"> - The shell command must be a non-empty string.</tt> </tt>
<a name="L542"></a><tt class="py-lineno"> 542</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L543"></a><tt class="py-lineno"> 543</tt> <tt class="py-line"><tt class="py-docstring"> The internal C{before} and C{after} instance variables are always set to</tt> </tt>
<a name="L544"></a><tt class="py-lineno"> 544</tt> <tt class="py-line"><tt class="py-docstring"> False in this parent class.</tt> </tt>
<a name="L545"></a><tt class="py-lineno"> 545</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L546"></a><tt class="py-lineno"> 546</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, action, command, before, after</tt> </tt>
<a name="L547"></a><tt class="py-lineno"> 547</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L548"></a><tt class="py-lineno"> 548</tt> <tt class="py-line"> </tt>
<a name="ActionHook.__init__"></a><div id="ActionHook.__init__-def"><a name="L549"></a><tt class="py-lineno"> 549</tt> <a class="py-toggle" href="#" id="ActionHook.__init__-toggle" onclick="return toggle('ActionHook.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">action</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook.__init__-expanded"><a name="L550"></a><tt class="py-lineno"> 550</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L551"></a><tt class="py-lineno"> 551</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{ActionHook} class.</tt> </tt>
<a name="L552"></a><tt class="py-lineno"> 552</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L553"></a><tt class="py-lineno"> 553</tt> <tt class="py-line"><tt class="py-docstring"> @param action: Action this hook is associated with</tt> </tt>
<a name="L554"></a><tt class="py-lineno"> 554</tt> <tt class="py-line"><tt class="py-docstring"> @param command: Shell command to execute</tt> </tt>
<a name="L555"></a><tt class="py-lineno"> 555</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L556"></a><tt class="py-lineno"> 556</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L557"></a><tt class="py-lineno"> 557</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L558"></a><tt class="py-lineno"> 558</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_action</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L559"></a><tt class="py-lineno"> 559</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_command</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L560"></a><tt class="py-lineno"> 560</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_before</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L561"></a><tt class="py-lineno"> 561</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_after</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L562"></a><tt class="py-lineno"> 562</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-126" class="py-name" targets="Module CedarBackup2.action=CedarBackup2.action-module.html,Variable CedarBackup2.config.ActionHook.action=CedarBackup2.config.ActionHook-class.html#action"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-126', 'action', 'link-126');">action</a></tt> <tt class="py-op">=</tt> <tt id="link-127" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-127', 'action', 'link-126');">action</a></tt> </tt>
<a name="L563"></a><tt class="py-lineno"> 563</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-128" class="py-name" targets="Variable CedarBackup2.config.ActionHook.command=CedarBackup2.config.ActionHook-class.html#command,Variable CedarBackup2.config.CommandOverride.command=CedarBackup2.config.CommandOverride-class.html#command"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-128', 'command', 'link-128');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-129" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-129', 'command', 'link-128');">command</a></tt> </tt>
</div><a name="L564"></a><tt class="py-lineno"> 564</tt> <tt class="py-line"> </tt>
<a name="ActionHook.__repr__"></a><div id="ActionHook.__repr__-def"><a name="L565"></a><tt class="py-lineno"> 565</tt> <a class="py-toggle" href="#" id="ActionHook.__repr__-toggle" onclick="return toggle('ActionHook.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook.__repr__-expanded"><a name="L566"></a><tt class="py-lineno"> 566</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L567"></a><tt class="py-lineno"> 567</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L568"></a><tt class="py-lineno"> 568</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L569"></a><tt class="py-lineno"> 569</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"ActionHook(%s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-130" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-130', 'action', 'link-126');">action</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-131" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-131', 'command', 'link-128');">command</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-132" class="py-name" targets="Variable CedarBackup2.config.ActionHook.before=CedarBackup2.config.ActionHook-class.html#before"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-132', 'before', 'link-132');">before</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-133" class="py-name" targets="Variable CedarBackup2.config.ActionHook.after=CedarBackup2.config.ActionHook-class.html#after"><a title="CedarBackup2.config.ActionHook.after" class="py-name" href="#" onclick="return doclink('link-133', 'after', 'link-133');">after</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L570"></a><tt class="py-lineno"> 570</tt> <tt class="py-line"> </tt>
<a name="ActionHook.__str__"></a><div id="ActionHook.__str__-def"><a name="L571"></a><tt class="py-lineno"> 571</tt> <a class="py-toggle" href="#" id="ActionHook.__str__-toggle" onclick="return toggle('ActionHook.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook.__str__-expanded"><a name="L572"></a><tt class="py-lineno"> 572</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L573"></a><tt class="py-lineno"> 573</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L574"></a><tt class="py-lineno"> 574</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L575"></a><tt class="py-lineno"> 575</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-134" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-134', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L576"></a><tt class="py-lineno"> 576</tt> <tt class="py-line"> </tt>
<a name="ActionHook.__cmp__"></a><div id="ActionHook.__cmp__-def"><a name="L577"></a><tt class="py-lineno"> 577</tt> <a class="py-toggle" href="#" id="ActionHook.__cmp__-toggle" onclick="return toggle('ActionHook.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook.__cmp__-expanded"><a name="L578"></a><tt class="py-lineno"> 578</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L579"></a><tt class="py-lineno"> 579</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L580"></a><tt class="py-lineno"> 580</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L581"></a><tt class="py-lineno"> 581</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L582"></a><tt class="py-lineno"> 582</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L583"></a><tt class="py-lineno"> 583</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L584"></a><tt class="py-lineno"> 584</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L585"></a><tt class="py-lineno"> 585</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-135" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-135', 'action', 'link-126');">action</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-136" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-136', 'action', 'link-126');">action</a></tt><tt class="py-op">:</tt> </tt>
<a name="L586"></a><tt class="py-lineno"> 586</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-137" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-137', 'action', 'link-126');">action</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-138" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-138', 'action', 'link-126');">action</a></tt><tt class="py-op">:</tt> </tt>
<a name="L587"></a><tt class="py-lineno"> 587</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L588"></a><tt class="py-lineno"> 588</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L589"></a><tt class="py-lineno"> 589</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L590"></a><tt class="py-lineno"> 590</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-139" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-139', 'command', 'link-128');">command</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-140" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-140', 'command', 'link-128');">command</a></tt><tt class="py-op">:</tt> </tt>
<a name="L591"></a><tt class="py-lineno"> 591</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-141" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-141', 'command', 'link-128');">command</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-142" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-142', 'command', 'link-128');">command</a></tt><tt class="py-op">:</tt> </tt>
<a name="L592"></a><tt class="py-lineno"> 592</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L593"></a><tt class="py-lineno"> 593</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L594"></a><tt class="py-lineno"> 594</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L595"></a><tt class="py-lineno"> 595</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-143" class="py-name"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-143', 'before', 'link-132');">before</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-144" class="py-name"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-144', 'before', 'link-132');">before</a></tt><tt class="py-op">:</tt> </tt>
<a name="L596"></a><tt class="py-lineno"> 596</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-145" class="py-name"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-145', 'before', 'link-132');">before</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-146" class="py-name"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-146', 'before', 'link-132');">before</a></tt><tt class="py-op">:</tt> </tt>
<a name="L597"></a><tt class="py-lineno"> 597</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L598"></a><tt class="py-lineno"> 598</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L599"></a><tt class="py-lineno"> 599</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L600"></a><tt class="py-lineno"> 600</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-147" class="py-name"><a title="CedarBackup2.config.ActionHook.after" class="py-name" href="#" onclick="return doclink('link-147', 'after', 'link-133');">after</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-148" class="py-name"><a title="CedarBackup2.config.ActionHook.after" class="py-name" href="#" onclick="return doclink('link-148', 'after', 'link-133');">after</a></tt><tt class="py-op">:</tt> </tt>
<a name="L601"></a><tt class="py-lineno"> 601</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-149" class="py-name"><a title="CedarBackup2.config.ActionHook.after" class="py-name" href="#" onclick="return doclink('link-149', 'after', 'link-133');">after</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-150" class="py-name"><a title="CedarBackup2.config.ActionHook.after" class="py-name" href="#" onclick="return doclink('link-150', 'after', 'link-133');">after</a></tt><tt class="py-op">:</tt> </tt>
<a name="L602"></a><tt class="py-lineno"> 602</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L603"></a><tt class="py-lineno"> 603</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L604"></a><tt class="py-lineno"> 604</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L605"></a><tt class="py-lineno"> 605</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L606"></a><tt class="py-lineno"> 606</tt> <tt class="py-line"> </tt>
<a name="ActionHook._setAction"></a><div id="ActionHook._setAction-def"><a name="L607"></a><tt class="py-lineno"> 607</tt> <a class="py-toggle" href="#" id="ActionHook._setAction-toggle" onclick="return toggle('ActionHook._setAction');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#_setAction">_setAction</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook._setAction-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook._setAction-expanded"><a name="L608"></a><tt class="py-lineno"> 608</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L609"></a><tt class="py-lineno"> 609</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the action name.</tt> </tt>
<a name="L610"></a><tt class="py-lineno"> 610</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L611"></a><tt class="py-lineno"> 611</tt> <tt class="py-line"><tt class="py-docstring"> It must also consist only of lower-case letters and digits.</tt> </tt>
<a name="L612"></a><tt class="py-lineno"> 612</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L613"></a><tt class="py-lineno"> 613</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L614"></a><tt class="py-lineno"> 614</tt> <tt class="py-line"> <tt class="py-name">pattern</tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt id="link-151" class="py-name"><a title="CedarBackup2.config.ACTION_NAME_REGEX" class="py-name" href="#" onclick="return doclink('link-151', 'ACTION_NAME_REGEX', 'link-67');">ACTION_NAME_REGEX</a></tt><tt class="py-op">)</tt> </tt>
<a name="L615"></a><tt class="py-lineno"> 615</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L616"></a><tt class="py-lineno"> 616</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L617"></a><tt class="py-lineno"> 617</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The action name must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L618"></a><tt class="py-lineno"> 618</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">pattern</tt><tt class="py-op">.</tt><tt class="py-name">search</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L619"></a><tt class="py-lineno"> 619</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The action name must consist of only lower-case letters and digits."</tt><tt class="py-op">)</tt> </tt>
<a name="L620"></a><tt class="py-lineno"> 620</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_action</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L621"></a><tt class="py-lineno"> 621</tt> <tt class="py-line"> </tt>
<a name="ActionHook._getAction"></a><div id="ActionHook._getAction-def"><a name="L622"></a><tt class="py-lineno"> 622</tt> <a class="py-toggle" href="#" id="ActionHook._getAction-toggle" onclick="return toggle('ActionHook._getAction');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#_getAction">_getAction</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook._getAction-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook._getAction-expanded"><a name="L623"></a><tt class="py-lineno"> 623</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L624"></a><tt class="py-lineno"> 624</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the action name.</tt> </tt>
<a name="L625"></a><tt class="py-lineno"> 625</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L626"></a><tt class="py-lineno"> 626</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_action</tt> </tt>
</div><a name="L627"></a><tt class="py-lineno"> 627</tt> <tt class="py-line"> </tt>
<a name="ActionHook._setCommand"></a><div id="ActionHook._setCommand-def"><a name="L628"></a><tt class="py-lineno"> 628</tt> <a class="py-toggle" href="#" id="ActionHook._setCommand-toggle" onclick="return toggle('ActionHook._setCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#_setCommand">_setCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook._setCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook._setCommand-expanded"><a name="L629"></a><tt class="py-lineno"> 629</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L630"></a><tt class="py-lineno"> 630</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the command.</tt> </tt>
<a name="L631"></a><tt class="py-lineno"> 631</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L632"></a><tt class="py-lineno"> 632</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L633"></a><tt class="py-lineno"> 633</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L634"></a><tt class="py-lineno"> 634</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L635"></a><tt class="py-lineno"> 635</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L636"></a><tt class="py-lineno"> 636</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The command must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L637"></a><tt class="py-lineno"> 637</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_command</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L638"></a><tt class="py-lineno"> 638</tt> <tt class="py-line"> </tt>
<a name="ActionHook._getCommand"></a><div id="ActionHook._getCommand-def"><a name="L639"></a><tt class="py-lineno"> 639</tt> <a class="py-toggle" href="#" id="ActionHook._getCommand-toggle" onclick="return toggle('ActionHook._getCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#_getCommand">_getCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook._getCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook._getCommand-expanded"><a name="L640"></a><tt class="py-lineno"> 640</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L641"></a><tt class="py-lineno"> 641</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the command.</tt> </tt>
<a name="L642"></a><tt class="py-lineno"> 642</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L643"></a><tt class="py-lineno"> 643</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_command</tt> </tt>
</div><a name="L644"></a><tt class="py-lineno"> 644</tt> <tt class="py-line"> </tt>
<a name="ActionHook._getBefore"></a><div id="ActionHook._getBefore-def"><a name="L645"></a><tt class="py-lineno"> 645</tt> <a class="py-toggle" href="#" id="ActionHook._getBefore-toggle" onclick="return toggle('ActionHook._getBefore');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#_getBefore">_getBefore</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook._getBefore-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook._getBefore-expanded"><a name="L646"></a><tt class="py-lineno"> 646</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L647"></a><tt class="py-lineno"> 647</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the before flag.</tt> </tt>
<a name="L648"></a><tt class="py-lineno"> 648</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L649"></a><tt class="py-lineno"> 649</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_before</tt> </tt>
</div><a name="L650"></a><tt class="py-lineno"> 650</tt> <tt class="py-line"> </tt>
<a name="ActionHook._getAfter"></a><div id="ActionHook._getAfter-def"><a name="L651"></a><tt class="py-lineno"> 651</tt> <a class="py-toggle" href="#" id="ActionHook._getAfter-toggle" onclick="return toggle('ActionHook._getAfter');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ActionHook-class.html#_getAfter">_getAfter</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ActionHook._getAfter-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ActionHook._getAfter-expanded"><a name="L652"></a><tt class="py-lineno"> 652</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L653"></a><tt class="py-lineno"> 653</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the after flag.</tt> </tt>
<a name="L654"></a><tt class="py-lineno"> 654</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L655"></a><tt class="py-lineno"> 655</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_after</tt> </tt>
</div><a name="L656"></a><tt class="py-lineno"> 656</tt> <tt class="py-line"> </tt>
<a name="L657"></a><tt class="py-lineno"> 657</tt> <tt class="py-line"> <tt id="link-152" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-152', 'action', 'link-126');">action</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-153" class="py-name" targets="Method CedarBackup2.config.ActionHook._getAction()=CedarBackup2.config.ActionHook-class.html#_getAction"><a title="CedarBackup2.config.ActionHook._getAction" class="py-name" href="#" onclick="return doclink('link-153', '_getAction', 'link-153');">_getAction</a></tt><tt class="py-op">,</tt> <tt id="link-154" class="py-name" targets="Method CedarBackup2.config.ActionHook._setAction()=CedarBackup2.config.ActionHook-class.html#_setAction"><a title="CedarBackup2.config.ActionHook._setAction" class="py-name" href="#" onclick="return doclink('link-154', '_setAction', 'link-154');">_setAction</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Action this hook is associated with."</tt><tt class="py-op">)</tt> </tt>
<a name="L658"></a><tt class="py-lineno"> 658</tt> <tt class="py-line"> <tt id="link-155" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-155', 'command', 'link-128');">command</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-156" class="py-name" targets="Method CedarBackup2.config.ActionHook._getCommand()=CedarBackup2.config.ActionHook-class.html#_getCommand,Method CedarBackup2.config.CommandOverride._getCommand()=CedarBackup2.config.CommandOverride-class.html#_getCommand"><a title="CedarBackup2.config.ActionHook._getCommand
CedarBackup2.config.CommandOverride._getCommand" class="py-name" href="#" onclick="return doclink('link-156', '_getCommand', 'link-156');">_getCommand</a></tt><tt class="py-op">,</tt> <tt id="link-157" class="py-name" targets="Method CedarBackup2.config.ActionHook._setCommand()=CedarBackup2.config.ActionHook-class.html#_setCommand,Method CedarBackup2.config.CommandOverride._setCommand()=CedarBackup2.config.CommandOverride-class.html#_setCommand"><a title="CedarBackup2.config.ActionHook._setCommand
CedarBackup2.config.CommandOverride._setCommand" class="py-name" href="#" onclick="return doclink('link-157', '_setCommand', 'link-157');">_setCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Shell command to execute."</tt><tt class="py-op">)</tt> </tt>
<a name="L659"></a><tt class="py-lineno"> 659</tt> <tt class="py-line"> <tt id="link-158" class="py-name"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-158', 'before', 'link-132');">before</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-159" class="py-name" targets="Method CedarBackup2.config.ActionHook._getBefore()=CedarBackup2.config.ActionHook-class.html#_getBefore"><a title="CedarBackup2.config.ActionHook._getBefore" class="py-name" href="#" onclick="return doclink('link-159', '_getBefore', 'link-159');">_getBefore</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Indicates whether command should be executed before action."</tt><tt class="py-op">)</tt> </tt>
<a name="L660"></a><tt class="py-lineno"> 660</tt> <tt class="py-line"> <tt id="link-160" class="py-name"><a title="CedarBackup2.config.ActionHook.after" class="py-name" href="#" onclick="return doclink('link-160', 'after', 'link-133');">after</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-161" class="py-name" targets="Method CedarBackup2.config.ActionHook._getAfter()=CedarBackup2.config.ActionHook-class.html#_getAfter"><a title="CedarBackup2.config.ActionHook._getAfter" class="py-name" href="#" onclick="return doclink('link-161', '_getAfter', 'link-161');">_getAfter</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Indicates whether command should be executed after action."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L661"></a><tt class="py-lineno"> 661</tt> <tt class="py-line"> </tt>
<a name="PreActionHook"></a><div id="PreActionHook-def"><a name="L662"></a><tt class="py-lineno"> 662</tt> <a class="py-toggle" href="#" id="PreActionHook-toggle" onclick="return toggle('PreActionHook');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.PreActionHook-class.html">PreActionHook</a><tt class="py-op">(</tt><tt class="py-base-class">ActionHook</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PreActionHook-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="PreActionHook-expanded"><a name="L663"></a><tt class="py-lineno"> 663</tt> <tt class="py-line"> </tt>
<a name="L664"></a><tt class="py-lineno"> 664</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L665"></a><tt class="py-lineno"> 665</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a pre-action hook associated with an action.</tt> </tt>
<a name="L666"></a><tt class="py-lineno"> 666</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L667"></a><tt class="py-lineno"> 667</tt> <tt class="py-line"><tt class="py-docstring"> A hook associated with an action is a shell command to be executed either</tt> </tt>
<a name="L668"></a><tt class="py-lineno"> 668</tt> <tt class="py-line"><tt class="py-docstring"> before or after a named action is executed. In this case, a pre-action hook</tt> </tt>
<a name="L669"></a><tt class="py-lineno"> 669</tt> <tt class="py-line"><tt class="py-docstring"> is executed before the named action.</tt> </tt>
<a name="L670"></a><tt class="py-lineno"> 670</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L671"></a><tt class="py-lineno"> 671</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L672"></a><tt class="py-lineno"> 672</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L673"></a><tt class="py-lineno"> 673</tt> <tt class="py-line"><tt class="py-docstring"> - The action name must be a non-empty string consisting of lower-case letters and digits.</tt> </tt>
<a name="L674"></a><tt class="py-lineno"> 674</tt> <tt class="py-line"><tt class="py-docstring"> - The shell command must be a non-empty string.</tt> </tt>
<a name="L675"></a><tt class="py-lineno"> 675</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L676"></a><tt class="py-lineno"> 676</tt> <tt class="py-line"><tt class="py-docstring"> The internal C{before} instance variable is always set to True in this</tt> </tt>
<a name="L677"></a><tt class="py-lineno"> 677</tt> <tt class="py-line"><tt class="py-docstring"> class.</tt> </tt>
<a name="L678"></a><tt class="py-lineno"> 678</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L679"></a><tt class="py-lineno"> 679</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, action, command, before, after</tt> </tt>
<a name="L680"></a><tt class="py-lineno"> 680</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L681"></a><tt class="py-lineno"> 681</tt> <tt class="py-line"> </tt>
<a name="PreActionHook.__init__"></a><div id="PreActionHook.__init__-def"><a name="L682"></a><tt class="py-lineno"> 682</tt> <a class="py-toggle" href="#" id="PreActionHook.__init__-toggle" onclick="return toggle('PreActionHook.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PreActionHook-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">action</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PreActionHook.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PreActionHook.__init__-expanded"><a name="L683"></a><tt class="py-lineno"> 683</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L684"></a><tt class="py-lineno"> 684</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{PreActionHook} class.</tt> </tt>
<a name="L685"></a><tt class="py-lineno"> 685</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L686"></a><tt class="py-lineno"> 686</tt> <tt class="py-line"><tt class="py-docstring"> @param action: Action this hook is associated with</tt> </tt>
<a name="L687"></a><tt class="py-lineno"> 687</tt> <tt class="py-line"><tt class="py-docstring"> @param command: Shell command to execute</tt> </tt>
<a name="L688"></a><tt class="py-lineno"> 688</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L689"></a><tt class="py-lineno"> 689</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L690"></a><tt class="py-lineno"> 690</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L691"></a><tt class="py-lineno"> 691</tt> <tt class="py-line"> <tt id="link-162" class="py-name" targets="Class CedarBackup2.config.ActionHook=CedarBackup2.config.ActionHook-class.html"><a title="CedarBackup2.config.ActionHook" class="py-name" href="#" onclick="return doclink('link-162', 'ActionHook', 'link-162');">ActionHook</a></tt><tt class="py-op">.</tt><tt id="link-163" class="py-name" targets="Method CedarBackup2.cli.Options.__init__()=CedarBackup2.cli.Options-class.html#__init__,Method CedarBackup2.cli._ActionItem.__init__()=CedarBackup2.cli._ActionItem-class.html#__init__,Method CedarBackup2.cli._ActionSet.__init__()=CedarBackup2.cli._ActionSet-class.html#__init__,Method CedarBackup2.cli._ManagedActionItem.__init__()=CedarBackup2.cli._ManagedActionItem-class.html#__init__,Method CedarBackup2.config.ActionDependencies.__init__()=CedarBackup2.config.ActionDependencies-class.html#__init__,Method CedarBackup2.config.ActionHook.__init__()=CedarBackup2.config.ActionHook-class.html#__init__,Method CedarBackup2.config.BlankBehavior.__init__()=CedarBackup2.config.BlankBehavior-class.html#__init__,Method CedarBackup2.config.ByteQuantity.__init__()=CedarBackup2.config.ByteQuantity-class.html#__init__,Method CedarBackup2.config.CollectConfig.__init__()=CedarBackup2.config.CollectConfig-class.html#__init__,Method CedarBackup2.config.CollectDir.__init__()=CedarBackup2.config.CollectDir-class.html#__init__,Method CedarBackup2.config.CollectFile.__init__()=CedarBackup2.config.CollectFile-class.html#__init__,Method CedarBackup2.config.CommandOverride.__init__()=CedarBackup2.config.CommandOverride-class.html#__init__,Method CedarBackup2.config.Config.__init__()=CedarBackup2.config.Config-class.html#__init__,Method CedarBackup2.config.ExtendedAction.__init__()=CedarBackup2.config.ExtendedAction-class.html#__init__,Method CedarBackup2.config.ExtensionsConfig.__init__()=CedarBackup2.config.ExtensionsConfig-class.html#__init__,Method CedarBackup2.config.LocalPeer.__init__()=CedarBackup2.config.LocalPeer-class.html#__init__,Method CedarBackup2.config.OptionsConfig.__init__()=CedarBackup2.config.OptionsConfig-class.html#__init__,Method CedarBackup2.config.PeersConfig.__init__()=CedarBackup2.config.PeersConfig-class.html#__init__,Method CedarBackup2.config.PostActionHook.__init__()=CedarBackup2.config.PostActionHook-class.html#__init__,Method CedarBackup2.config.PreActionHook.__init__()=CedarBackup2.config.PreActionHook-class.html#__init__,Method CedarBackup2.config.PurgeConfig.__init__()=CedarBackup2.config.PurgeConfig-class.html#__init__,Method CedarBackup2.config.PurgeDir.__init__()=CedarBackup2.config.PurgeDir-class.html#__init__,Method CedarBackup2.config.ReferenceConfig.__init__()=CedarBackup2.config.ReferenceConfig-class.html#__init__,Method CedarBackup2.config.RemotePeer.__init__()=CedarBackup2.config.RemotePeer-class.html#__init__,Method CedarBackup2.config.StageConfig.__init__()=CedarBackup2.config.StageConfig-class.html#__init__,Method CedarBackup2.config.StoreConfig.__init__()=CedarBackup2.config.StoreConfig-class.html#__init__,Method CedarBackup2.extend.capacity.CapacityConfig.__init__()=CedarBackup2.extend.capacity.CapacityConfig-class.html#__init__,Method CedarBackup2.extend.capacity.LocalConfig.__init__()=CedarBackup2.extend.capacity.LocalConfig-class.html#__init__,Method CedarBackup2.extend.capacity.PercentageQuantity.__init__()=CedarBackup2.extend.capacity.PercentageQuantity-class.html#__init__,Method CedarBackup2.extend.encrypt.EncryptConfig.__init__()=CedarBackup2.extend.encrypt.EncryptConfig-class.html#__init__,Method CedarBackup2.extend.encrypt.LocalConfig.__init__()=CedarBackup2.extend.encrypt.LocalConfig-class.html#__init__,Method CedarBackup2.extend.mbox.LocalConfig.__init__()=CedarBackup2.extend.mbox.LocalConfig-class.html#__init__,Method CedarBackup2.extend.mbox.MboxConfig.__init__()=CedarBackup2.extend.mbox.MboxConfig-class.html#__init__,Method CedarBackup2.extend.mbox.MboxDir.__init__()=CedarBackup2.extend.mbox.MboxDir-class.html#__init__,Method CedarBackup2.extend.mbox.MboxFile.__init__()=CedarBackup2.extend.mbox.MboxFile-class.html#__init__,Method CedarBackup2.extend.mysql.LocalConfig.__init__()=CedarBackup2.extend.mysql.LocalConfig-class.html#__init__,Method CedarBackup2.extend.mysql.MysqlConfig.__init__()=CedarBackup2.extend.mysql.MysqlConfig-class.html#__init__,Method CedarBackup2.extend.postgresql.LocalConfig.__init__()=CedarBackup2.extend.postgresql.LocalConfig-class.html#__init__,Method CedarBackup2.extend.postgresql.PostgresqlConfig.__init__()=CedarBackup2.extend.postgresql.PostgresqlConfig-class.html#__init__,Method CedarBackup2.extend.split.LocalConfig.__init__()=CedarBackup2.extend.split.LocalConfig-class.html#__init__,Method CedarBackup2.extend.split.SplitConfig.__init__()=CedarBackup2.extend.split.SplitConfig-class.html#__init__,Method CedarBackup2.extend.subversion.BDBRepository.__init__()=CedarBackup2.extend.subversion.BDBRepository-class.html#__init__,Method CedarBackup2.extend.subversion.FSFSRepository.__init__()=CedarBackup2.extend.subversion.FSFSRepository-class.html#__init__,Method CedarBackup2.extend.subversion.LocalConfig.__init__()=CedarBackup2.extend.subversion.LocalConfig-class.html#__init__,Method CedarBackup2.extend.subversion.Repository.__init__()=CedarBackup2.extend.subversion.Repository-class.html#__init__,Method CedarBackup2.extend.subversion.RepositoryDir.__init__()=CedarBackup2.extend.subversion.RepositoryDir-class.html#__init__,Method CedarBackup2.extend.subversion.SubversionConfig.__init__()=CedarBackup2.extend.subversion.SubversionConfig-class.html#__init__,Method CedarBackup2.filesystem.BackupFileList.__init__()=CedarBackup2.filesystem.BackupFileList-class.html#__init__,Method CedarBackup2.filesystem.FilesystemList.__init__()=CedarBackup2.filesystem.FilesystemList-class.html#__init__,Method CedarBackup2.filesystem.PurgeItemList.__init__()=CedarBackup2.filesystem.PurgeItemList-class.html#__init__,Method CedarBackup2.filesystem.SpanItem.__init__()=CedarBackup2.filesystem.SpanItem-class.html#__init__,Method CedarBackup2.peer.LocalPeer.__init__()=CedarBackup2.peer.LocalPeer-class.html#__init__,Method CedarBackup2.peer.RemotePeer.__init__()=CedarBackup2.peer.RemotePeer-class.html#__init__,Method CedarBackup2.util.Diagnostics.__init__()=CedarBackup2.util.Diagnostics-class.html#__init__,Method CedarBackup2.util.DirectedGraph.__init__()=CedarBackup2.util.DirectedGraph-class.html#__init__,Method CedarBackup2.util.ObjectTypeList.__init__()=CedarBackup2.util.ObjectTypeList-class.html#__init__,Method CedarBackup2.util.PathResolverSingleton._Helper.__init__()=CedarBackup2.util.PathResolverSingleton._Helper-class.html#__init__,Method CedarBackup2.util.PathResolverSingleton.__init__()=CedarBackup2.util.PathResolverSingleton-class.html#__init__,Method CedarBackup2.util.Pipe.__init__()=CedarBackup2.util.Pipe-class.html#__init__,Method CedarBackup2.util.RegexMatchList.__init__()=CedarBackup2.util.RegexMatchList-class.html#__init__,Method CedarBackup2.util.RestrictedContentList.__init__()=CedarBackup2.util.RestrictedContentList-class.html#__init__,Method CedarBackup2.util._Vertex.__init__()=CedarBackup2.util._Vertex-class.html#__init__,Method CedarBackup2.writers.cdwriter.CdWriter.__init__()=CedarBackup2.writers.cdwriter.CdWriter-class.html#__init__,Method CedarBackup2.writers.cdwriter.MediaCapacity.__init__()=CedarBackup2.writers.cdwriter.MediaCapacity-class.html#__init__,Method CedarBackup2.writers.cdwriter.MediaDefinition.__init__()=CedarBackup2.writers.cdwriter.MediaDefinition-class.html#__init__,Method CedarBackup2.writers.cdwriter._ImageProperties.__init__()=CedarBackup2.writers.cdwriter._ImageProperties-class.html#__init__,Method CedarBackup2.writers.dvdwriter.DvdWriter.__init__()=CedarBackup2.writers.dvdwriter.DvdWriter-class.html#__init__,Method CedarBackup2.writers.dvdwriter.MediaCapacity.__init__()=CedarBackup2.writers.dvdwriter.MediaCapacity-class.html#__init__,Method CedarBackup2.writers.dvdwriter.MediaDefinition.__init__()=CedarBackup2.writers.dvdwriter.MediaDefinition-class.html#__init__,Method CedarBackup2.writers.dvdwriter._ImageProperties.__init__()=CedarBackup2.writers.dvdwriter._ImageProperties-class.html#__init__,Method CedarBackup2.writers.util.IsoImage.__init__()=CedarBackup2.writers.util.IsoImage-class.html#__init__,Method CedarBackup2.xmlutil.Serializer.__init__()=CedarBackup2.xmlutil.Serializer-class.html#__init__"><a title="CedarBackup2.cli.Options.__init__
CedarBackup2.cli._ActionItem.__init__
CedarBackup2.cli._ActionSet.__init__
CedarBackup2.cli._ManagedActionItem.__init__
CedarBackup2.config.ActionDependencies.__init__
CedarBackup2.config.ActionHook.__init__
CedarBackup2.config.BlankBehavior.__init__
CedarBackup2.config.ByteQuantity.__init__
CedarBackup2.config.CollectConfig.__init__
CedarBackup2.config.CollectDir.__init__
CedarBackup2.config.CollectFile.__init__
CedarBackup2.config.CommandOverride.__init__
CedarBackup2.config.Config.__init__
CedarBackup2.config.ExtendedAction.__init__
CedarBackup2.config.ExtensionsConfig.__init__
CedarBackup2.config.LocalPeer.__init__
CedarBackup2.config.OptionsConfig.__init__
CedarBackup2.config.PeersConfig.__init__
CedarBackup2.config.PostActionHook.__init__
CedarBackup2.config.PreActionHook.__init__
CedarBackup2.config.PurgeConfig.__init__
CedarBackup2.config.PurgeDir.__init__
CedarBackup2.config.ReferenceConfig.__init__
CedarBackup2.config.RemotePeer.__init__
CedarBackup2.config.StageConfig.__init__
CedarBackup2.config.StoreConfig.__init__
CedarBackup2.extend.capacity.CapacityConfig.__init__
CedarBackup2.extend.capacity.LocalConfig.__init__
CedarBackup2.extend.capacity.PercentageQuantity.__init__
CedarBackup2.extend.encrypt.EncryptConfig.__init__
CedarBackup2.extend.encrypt.LocalConfig.__init__
CedarBackup2.extend.mbox.LocalConfig.__init__
CedarBackup2.extend.mbox.MboxConfig.__init__
CedarBackup2.extend.mbox.MboxDir.__init__
CedarBackup2.extend.mbox.MboxFile.__init__
CedarBackup2.extend.mysql.LocalConfig.__init__
CedarBackup2.extend.mysql.MysqlConfig.__init__
CedarBackup2.extend.postgresql.LocalConfig.__init__
CedarBackup2.extend.postgresql.PostgresqlConfig.__init__
CedarBackup2.extend.split.LocalConfig.__init__
CedarBackup2.extend.split.SplitConfig.__init__
CedarBackup2.extend.subversion.BDBRepository.__init__
CedarBackup2.extend.subversion.FSFSRepository.__init__
CedarBackup2.extend.subversion.LocalConfig.__init__
CedarBackup2.extend.subversion.Repository.__init__
CedarBackup2.extend.subversion.RepositoryDir.__init__
CedarBackup2.extend.subversion.SubversionConfig.__init__
CedarBackup2.filesystem.BackupFileList.__init__
CedarBackup2.filesystem.FilesystemList.__init__
CedarBackup2.filesystem.PurgeItemList.__init__
CedarBackup2.filesystem.SpanItem.__init__
CedarBackup2.peer.LocalPeer.__init__
CedarBackup2.peer.RemotePeer.__init__
CedarBackup2.util.Diagnostics.__init__
CedarBackup2.util.DirectedGraph.__init__
CedarBackup2.util.ObjectTypeList.__init__
CedarBackup2.util.PathResolverSingleton._Helper.__init__
CedarBackup2.util.PathResolverSingleton.__init__
CedarBackup2.util.Pipe.__init__
CedarBackup2.util.RegexMatchList.__init__
CedarBackup2.util.RestrictedContentList.__init__
CedarBackup2.util._Vertex.__init__
CedarBackup2.writers.cdwriter.CdWriter.__init__
CedarBackup2.writers.cdwriter.MediaCapacity.__init__
CedarBackup2.writers.cdwriter.MediaDefinition.__init__
CedarBackup2.writers.cdwriter._ImageProperties.__init__
CedarBackup2.writers.dvdwriter.DvdWriter.__init__
CedarBackup2.writers.dvdwriter.MediaCapacity.__init__
CedarBackup2.writers.dvdwriter.MediaDefinition.__init__
CedarBackup2.writers.dvdwriter._ImageProperties.__init__
CedarBackup2.writers.util.IsoImage.__init__
CedarBackup2.xmlutil.Serializer.__init__" class="py-name" href="#" onclick="return doclink('link-163', '__init__', 'link-163');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-164" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-164', 'action', 'link-126');">action</a></tt><tt class="py-op">,</tt> <tt id="link-165" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-165', 'command', 'link-128');">command</a></tt><tt class="py-op">)</tt> </tt>
<a name="L692"></a><tt class="py-lineno"> 692</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_before</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
</div><a name="L693"></a><tt class="py-lineno"> 693</tt> <tt class="py-line"> </tt>
<a name="PreActionHook.__repr__"></a><div id="PreActionHook.__repr__-def"><a name="L694"></a><tt class="py-lineno"> 694</tt> <a class="py-toggle" href="#" id="PreActionHook.__repr__-toggle" onclick="return toggle('PreActionHook.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PreActionHook-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PreActionHook.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PreActionHook.__repr__-expanded"><a name="L695"></a><tt class="py-lineno"> 695</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L696"></a><tt class="py-lineno"> 696</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L697"></a><tt class="py-lineno"> 697</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L698"></a><tt class="py-lineno"> 698</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"PreActionHook(%s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-166" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-166', 'action', 'link-126');">action</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-167" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-167', 'command', 'link-128');">command</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-168" class="py-name"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-168', 'before', 'link-132');">before</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-169" class="py-name"><a title="CedarBackup2.config.ActionHook.after" class="py-name" href="#" onclick="return doclink('link-169', 'after', 'link-133');">after</a></tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L699"></a><tt class="py-lineno"> 699</tt> <tt class="py-line"> </tt>
<a name="PostActionHook"></a><div id="PostActionHook-def"><a name="L700"></a><tt class="py-lineno"> 700</tt> <a class="py-toggle" href="#" id="PostActionHook-toggle" onclick="return toggle('PostActionHook');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.PostActionHook-class.html">PostActionHook</a><tt class="py-op">(</tt><tt class="py-base-class">ActionHook</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PostActionHook-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="PostActionHook-expanded"><a name="L701"></a><tt class="py-lineno"> 701</tt> <tt class="py-line"> </tt>
<a name="L702"></a><tt class="py-lineno"> 702</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L703"></a><tt class="py-lineno"> 703</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a pre-action hook associated with an action.</tt> </tt>
<a name="L704"></a><tt class="py-lineno"> 704</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L705"></a><tt class="py-lineno"> 705</tt> <tt class="py-line"><tt class="py-docstring"> A hook associated with an action is a shell command to be executed either</tt> </tt>
<a name="L706"></a><tt class="py-lineno"> 706</tt> <tt class="py-line"><tt class="py-docstring"> before or after a named action is executed. In this case, a post-action hook</tt> </tt>
<a name="L707"></a><tt class="py-lineno"> 707</tt> <tt class="py-line"><tt class="py-docstring"> is executed after the named action.</tt> </tt>
<a name="L708"></a><tt class="py-lineno"> 708</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L709"></a><tt class="py-lineno"> 709</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L710"></a><tt class="py-lineno"> 710</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L711"></a><tt class="py-lineno"> 711</tt> <tt class="py-line"><tt class="py-docstring"> - The action name must be a non-empty string consisting of lower-case letters and digits.</tt> </tt>
<a name="L712"></a><tt class="py-lineno"> 712</tt> <tt class="py-line"><tt class="py-docstring"> - The shell command must be a non-empty string.</tt> </tt>
<a name="L713"></a><tt class="py-lineno"> 713</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L714"></a><tt class="py-lineno"> 714</tt> <tt class="py-line"><tt class="py-docstring"> The internal C{before} instance variable is always set to True in this</tt> </tt>
<a name="L715"></a><tt class="py-lineno"> 715</tt> <tt class="py-line"><tt class="py-docstring"> class.</tt> </tt>
<a name="L716"></a><tt class="py-lineno"> 716</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L717"></a><tt class="py-lineno"> 717</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, action, command, before, after</tt> </tt>
<a name="L718"></a><tt class="py-lineno"> 718</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L719"></a><tt class="py-lineno"> 719</tt> <tt class="py-line"> </tt>
<a name="PostActionHook.__init__"></a><div id="PostActionHook.__init__-def"><a name="L720"></a><tt class="py-lineno"> 720</tt> <a class="py-toggle" href="#" id="PostActionHook.__init__-toggle" onclick="return toggle('PostActionHook.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PostActionHook-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">action</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PostActionHook.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PostActionHook.__init__-expanded"><a name="L721"></a><tt class="py-lineno"> 721</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L722"></a><tt class="py-lineno"> 722</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{PostActionHook} class.</tt> </tt>
<a name="L723"></a><tt class="py-lineno"> 723</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L724"></a><tt class="py-lineno"> 724</tt> <tt class="py-line"><tt class="py-docstring"> @param action: Action this hook is associated with</tt> </tt>
<a name="L725"></a><tt class="py-lineno"> 725</tt> <tt class="py-line"><tt class="py-docstring"> @param command: Shell command to execute</tt> </tt>
<a name="L726"></a><tt class="py-lineno"> 726</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L727"></a><tt class="py-lineno"> 727</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L728"></a><tt class="py-lineno"> 728</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L729"></a><tt class="py-lineno"> 729</tt> <tt class="py-line"> <tt id="link-170" class="py-name"><a title="CedarBackup2.config.ActionHook" class="py-name" href="#" onclick="return doclink('link-170', 'ActionHook', 'link-162');">ActionHook</a></tt><tt class="py-op">.</tt><tt id="link-171" class="py-name"><a title="CedarBackup2.cli.Options.__init__
CedarBackup2.cli._ActionItem.__init__
CedarBackup2.cli._ActionSet.__init__
CedarBackup2.cli._ManagedActionItem.__init__
CedarBackup2.config.ActionDependencies.__init__
CedarBackup2.config.ActionHook.__init__
CedarBackup2.config.BlankBehavior.__init__
CedarBackup2.config.ByteQuantity.__init__
CedarBackup2.config.CollectConfig.__init__
CedarBackup2.config.CollectDir.__init__
CedarBackup2.config.CollectFile.__init__
CedarBackup2.config.CommandOverride.__init__
CedarBackup2.config.Config.__init__
CedarBackup2.config.ExtendedAction.__init__
CedarBackup2.config.ExtensionsConfig.__init__
CedarBackup2.config.LocalPeer.__init__
CedarBackup2.config.OptionsConfig.__init__
CedarBackup2.config.PeersConfig.__init__
CedarBackup2.config.PostActionHook.__init__
CedarBackup2.config.PreActionHook.__init__
CedarBackup2.config.PurgeConfig.__init__
CedarBackup2.config.PurgeDir.__init__
CedarBackup2.config.ReferenceConfig.__init__
CedarBackup2.config.RemotePeer.__init__
CedarBackup2.config.StageConfig.__init__
CedarBackup2.config.StoreConfig.__init__
CedarBackup2.extend.capacity.CapacityConfig.__init__
CedarBackup2.extend.capacity.LocalConfig.__init__
CedarBackup2.extend.capacity.PercentageQuantity.__init__
CedarBackup2.extend.encrypt.EncryptConfig.__init__
CedarBackup2.extend.encrypt.LocalConfig.__init__
CedarBackup2.extend.mbox.LocalConfig.__init__
CedarBackup2.extend.mbox.MboxConfig.__init__
CedarBackup2.extend.mbox.MboxDir.__init__
CedarBackup2.extend.mbox.MboxFile.__init__
CedarBackup2.extend.mysql.LocalConfig.__init__
CedarBackup2.extend.mysql.MysqlConfig.__init__
CedarBackup2.extend.postgresql.LocalConfig.__init__
CedarBackup2.extend.postgresql.PostgresqlConfig.__init__
CedarBackup2.extend.split.LocalConfig.__init__
CedarBackup2.extend.split.SplitConfig.__init__
CedarBackup2.extend.subversion.BDBRepository.__init__
CedarBackup2.extend.subversion.FSFSRepository.__init__
CedarBackup2.extend.subversion.LocalConfig.__init__
CedarBackup2.extend.subversion.Repository.__init__
CedarBackup2.extend.subversion.RepositoryDir.__init__
CedarBackup2.extend.subversion.SubversionConfig.__init__
CedarBackup2.filesystem.BackupFileList.__init__
CedarBackup2.filesystem.FilesystemList.__init__
CedarBackup2.filesystem.PurgeItemList.__init__
CedarBackup2.filesystem.SpanItem.__init__
CedarBackup2.peer.LocalPeer.__init__
CedarBackup2.peer.RemotePeer.__init__
CedarBackup2.util.Diagnostics.__init__
CedarBackup2.util.DirectedGraph.__init__
CedarBackup2.util.ObjectTypeList.__init__
CedarBackup2.util.PathResolverSingleton._Helper.__init__
CedarBackup2.util.PathResolverSingleton.__init__
CedarBackup2.util.Pipe.__init__
CedarBackup2.util.RegexMatchList.__init__
CedarBackup2.util.RestrictedContentList.__init__
CedarBackup2.util._Vertex.__init__
CedarBackup2.writers.cdwriter.CdWriter.__init__
CedarBackup2.writers.cdwriter.MediaCapacity.__init__
CedarBackup2.writers.cdwriter.MediaDefinition.__init__
CedarBackup2.writers.cdwriter._ImageProperties.__init__
CedarBackup2.writers.dvdwriter.DvdWriter.__init__
CedarBackup2.writers.dvdwriter.MediaCapacity.__init__
CedarBackup2.writers.dvdwriter.MediaDefinition.__init__
CedarBackup2.writers.dvdwriter._ImageProperties.__init__
CedarBackup2.writers.util.IsoImage.__init__
CedarBackup2.xmlutil.Serializer.__init__" class="py-name" href="#" onclick="return doclink('link-171', '__init__', 'link-163');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-172" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-172', 'action', 'link-126');">action</a></tt><tt class="py-op">,</tt> <tt id="link-173" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-173', 'command', 'link-128');">command</a></tt><tt class="py-op">)</tt> </tt>
<a name="L730"></a><tt class="py-lineno"> 730</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_after</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
</div><a name="L731"></a><tt class="py-lineno"> 731</tt> <tt class="py-line"> </tt>
<a name="PostActionHook.__repr__"></a><div id="PostActionHook.__repr__-def"><a name="L732"></a><tt class="py-lineno"> 732</tt> <a class="py-toggle" href="#" id="PostActionHook.__repr__-toggle" onclick="return toggle('PostActionHook.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PostActionHook-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PostActionHook.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PostActionHook.__repr__-expanded"><a name="L733"></a><tt class="py-lineno"> 733</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L734"></a><tt class="py-lineno"> 734</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L735"></a><tt class="py-lineno"> 735</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L736"></a><tt class="py-lineno"> 736</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"PostActionHook(%s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-174" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-174', 'action', 'link-126');">action</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-175" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-175', 'command', 'link-128');">command</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-176" class="py-name"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-176', 'before', 'link-132');">before</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-177" class="py-name"><a title="CedarBackup2.config.ActionHook.after" class="py-name" href="#" onclick="return doclink('link-177', 'after', 'link-133');">after</a></tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L737"></a><tt class="py-lineno"> 737</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior"></a><div id="BlankBehavior-def"><a name="L738"></a><tt class="py-lineno"> 738</tt> <tt class="py-line"> </tt>
<a name="L739"></a><tt class="py-lineno"> 739</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L740"></a><tt class="py-lineno"> 740</tt> <tt class="py-line"><tt class="py-comment"># BlankBehavior class definition</tt> </tt>
<a name="L741"></a><tt class="py-lineno"> 741</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L742"></a><tt class="py-lineno"> 742</tt> <tt class="py-line"> </tt>
<a name="L743"></a><tt class="py-lineno"> 743</tt> <a class="py-toggle" href="#" id="BlankBehavior-toggle" onclick="return toggle('BlankBehavior');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html">BlankBehavior</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="BlankBehavior-expanded"><a name="L744"></a><tt class="py-lineno"> 744</tt> <tt class="py-line"> </tt>
<a name="L745"></a><tt class="py-lineno"> 745</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L746"></a><tt class="py-lineno"> 746</tt> <tt class="py-line"><tt class="py-docstring"> Class representing optimized store-action media blanking behavior.</tt> </tt>
<a name="L747"></a><tt class="py-lineno"> 747</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L748"></a><tt class="py-lineno"> 748</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L749"></a><tt class="py-lineno"> 749</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L750"></a><tt class="py-lineno"> 750</tt> <tt class="py-line"><tt class="py-docstring"> - The blanking mode must be a one of the values in L{VALID_BLANK_MODES}</tt> </tt>
<a name="L751"></a><tt class="py-lineno"> 751</tt> <tt class="py-line"><tt class="py-docstring"> - The blanking factor must be a positive floating point number</tt> </tt>
<a name="L752"></a><tt class="py-lineno"> 752</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L753"></a><tt class="py-lineno"> 753</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, blankMode, blankFactor</tt> </tt>
<a name="L754"></a><tt class="py-lineno"> 754</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L755"></a><tt class="py-lineno"> 755</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior.__init__"></a><div id="BlankBehavior.__init__-def"><a name="L756"></a><tt class="py-lineno"> 756</tt> <a class="py-toggle" href="#" id="BlankBehavior.__init__-toggle" onclick="return toggle('BlankBehavior.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">blankMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">blankFactor</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="BlankBehavior.__init__-expanded"><a name="L757"></a><tt class="py-lineno"> 757</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L758"></a><tt class="py-lineno"> 758</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{BlankBehavior} class.</tt> </tt>
<a name="L759"></a><tt class="py-lineno"> 759</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L760"></a><tt class="py-lineno"> 760</tt> <tt class="py-line"><tt class="py-docstring"> @param blankMode: Blanking mode</tt> </tt>
<a name="L761"></a><tt class="py-lineno"> 761</tt> <tt class="py-line"><tt class="py-docstring"> @param blankFactor: Blanking factor</tt> </tt>
<a name="L762"></a><tt class="py-lineno"> 762</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L763"></a><tt class="py-lineno"> 763</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L764"></a><tt class="py-lineno"> 764</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L765"></a><tt class="py-lineno"> 765</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L766"></a><tt class="py-lineno"> 766</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankFactor</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L767"></a><tt class="py-lineno"> 767</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-178" class="py-name" targets="Variable CedarBackup2.config.BlankBehavior.blankMode=CedarBackup2.config.BlankBehavior-class.html#blankMode"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-178', 'blankMode', 'link-178');">blankMode</a></tt> <tt class="py-op">=</tt> <tt id="link-179" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-179', 'blankMode', 'link-178');">blankMode</a></tt> </tt>
<a name="L768"></a><tt class="py-lineno"> 768</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-180" class="py-name" targets="Variable CedarBackup2.config.BlankBehavior.blankFactor=CedarBackup2.config.BlankBehavior-class.html#blankFactor"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-180', 'blankFactor', 'link-180');">blankFactor</a></tt> <tt class="py-op">=</tt> <tt id="link-181" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-181', 'blankFactor', 'link-180');">blankFactor</a></tt> </tt>
</div><a name="L769"></a><tt class="py-lineno"> 769</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior.__repr__"></a><div id="BlankBehavior.__repr__-def"><a name="L770"></a><tt class="py-lineno"> 770</tt> <a class="py-toggle" href="#" id="BlankBehavior.__repr__-toggle" onclick="return toggle('BlankBehavior.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="BlankBehavior.__repr__-expanded"><a name="L771"></a><tt class="py-lineno"> 771</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L772"></a><tt class="py-lineno"> 772</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L773"></a><tt class="py-lineno"> 773</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L774"></a><tt class="py-lineno"> 774</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"BlankBehavior(%s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-182" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-182', 'blankMode', 'link-178');">blankMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-183" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-183', 'blankFactor', 'link-180');">blankFactor</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L775"></a><tt class="py-lineno"> 775</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior.__str__"></a><div id="BlankBehavior.__str__-def"><a name="L776"></a><tt class="py-lineno"> 776</tt> <a class="py-toggle" href="#" id="BlankBehavior.__str__-toggle" onclick="return toggle('BlankBehavior.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="BlankBehavior.__str__-expanded"><a name="L777"></a><tt class="py-lineno"> 777</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L778"></a><tt class="py-lineno"> 778</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L779"></a><tt class="py-lineno"> 779</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L780"></a><tt class="py-lineno"> 780</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-184" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-184', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L781"></a><tt class="py-lineno"> 781</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior.__cmp__"></a><div id="BlankBehavior.__cmp__-def"><a name="L782"></a><tt class="py-lineno"> 782</tt> <a class="py-toggle" href="#" id="BlankBehavior.__cmp__-toggle" onclick="return toggle('BlankBehavior.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="BlankBehavior.__cmp__-expanded"><a name="L783"></a><tt class="py-lineno"> 783</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L784"></a><tt class="py-lineno"> 784</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L785"></a><tt class="py-lineno"> 785</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L786"></a><tt class="py-lineno"> 786</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L787"></a><tt class="py-lineno"> 787</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L788"></a><tt class="py-lineno"> 788</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L789"></a><tt class="py-lineno"> 789</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L790"></a><tt class="py-lineno"> 790</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-185" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-185', 'blankMode', 'link-178');">blankMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-186" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-186', 'blankMode', 'link-178');">blankMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L791"></a><tt class="py-lineno"> 791</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-187" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-187', 'blankMode', 'link-178');">blankMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-188" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-188', 'blankMode', 'link-178');">blankMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L792"></a><tt class="py-lineno"> 792</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L793"></a><tt class="py-lineno"> 793</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L794"></a><tt class="py-lineno"> 794</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L795"></a><tt class="py-lineno"> 795</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-189" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-189', 'blankFactor', 'link-180');">blankFactor</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-190" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-190', 'blankFactor', 'link-180');">blankFactor</a></tt><tt class="py-op">:</tt> </tt>
<a name="L796"></a><tt class="py-lineno"> 796</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-191" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-191', 'blankFactor', 'link-180');">blankFactor</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-192" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-192', 'blankFactor', 'link-180');">blankFactor</a></tt><tt class="py-op">:</tt> </tt>
<a name="L797"></a><tt class="py-lineno"> 797</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L798"></a><tt class="py-lineno"> 798</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L799"></a><tt class="py-lineno"> 799</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L800"></a><tt class="py-lineno"> 800</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L801"></a><tt class="py-lineno"> 801</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior._setBlankMode"></a><div id="BlankBehavior._setBlankMode-def"><a name="L802"></a><tt class="py-lineno"> 802</tt> <a class="py-toggle" href="#" id="BlankBehavior._setBlankMode-toggle" onclick="return toggle('BlankBehavior._setBlankMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html#_setBlankMode">_setBlankMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior._setBlankMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="BlankBehavior._setBlankMode-expanded"><a name="L803"></a><tt class="py-lineno"> 803</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L804"></a><tt class="py-lineno"> 804</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the blanking mode.</tt> </tt>
<a name="L805"></a><tt class="py-lineno"> 805</tt> <tt class="py-line"><tt class="py-docstring"> The value must be one of L{VALID_BLANK_MODES}.</tt> </tt>
<a name="L806"></a><tt class="py-lineno"> 806</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L807"></a><tt class="py-lineno"> 807</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L808"></a><tt class="py-lineno"> 808</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L809"></a><tt class="py-lineno"> 809</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-193" class="py-name"><a title="CedarBackup2.config.VALID_BLANK_MODES" class="py-name" href="#" onclick="return doclink('link-193', 'VALID_BLANK_MODES', 'link-59');">VALID_BLANK_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L810"></a><tt class="py-lineno"> 810</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Blanking mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-194" class="py-name"><a title="CedarBackup2.config.VALID_BLANK_MODES" class="py-name" href="#" onclick="return doclink('link-194', 'VALID_BLANK_MODES', 'link-59');">VALID_BLANK_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L811"></a><tt class="py-lineno"> 811</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L812"></a><tt class="py-lineno"> 812</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior._getBlankMode"></a><div id="BlankBehavior._getBlankMode-def"><a name="L813"></a><tt class="py-lineno"> 813</tt> <a class="py-toggle" href="#" id="BlankBehavior._getBlankMode-toggle" onclick="return toggle('BlankBehavior._getBlankMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html#_getBlankMode">_getBlankMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior._getBlankMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="BlankBehavior._getBlankMode-expanded"><a name="L814"></a><tt class="py-lineno"> 814</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L815"></a><tt class="py-lineno"> 815</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the blanking mode.</tt> </tt>
<a name="L816"></a><tt class="py-lineno"> 816</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L817"></a><tt class="py-lineno"> 817</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankMode</tt> </tt>
</div><a name="L818"></a><tt class="py-lineno"> 818</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior._setBlankFactor"></a><div id="BlankBehavior._setBlankFactor-def"><a name="L819"></a><tt class="py-lineno"> 819</tt> <a class="py-toggle" href="#" id="BlankBehavior._setBlankFactor-toggle" onclick="return toggle('BlankBehavior._setBlankFactor');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html#_setBlankFactor">_setBlankFactor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior._setBlankFactor-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="BlankBehavior._setBlankFactor-expanded"><a name="L820"></a><tt class="py-lineno"> 820</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L821"></a><tt class="py-lineno"> 821</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the blanking factor.</tt> </tt>
<a name="L822"></a><tt class="py-lineno"> 822</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L823"></a><tt class="py-lineno"> 823</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L824"></a><tt class="py-lineno"> 824</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a valid floating point number</tt> </tt>
<a name="L825"></a><tt class="py-lineno"> 825</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is less than zero</tt> </tt>
<a name="L826"></a><tt class="py-lineno"> 826</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L827"></a><tt class="py-lineno"> 827</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L828"></a><tt class="py-lineno"> 828</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L829"></a><tt class="py-lineno"> 829</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Blanking factor must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L830"></a><tt class="py-lineno"> 830</tt> <tt class="py-line"> <tt class="py-name">floatValue</tt> <tt class="py-op">=</tt> <tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L831"></a><tt class="py-lineno"> 831</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">floatValue</tt> <tt class="py-op"><</tt> <tt class="py-number">0.0</tt><tt class="py-op">:</tt> </tt>
<a name="L832"></a><tt class="py-lineno"> 832</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Blanking factor cannot be negative."</tt><tt class="py-op">)</tt> </tt>
<a name="L833"></a><tt class="py-lineno"> 833</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankFactor</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> <tt class="py-comment"># keep around string</tt> </tt>
</div><a name="L834"></a><tt class="py-lineno"> 834</tt> <tt class="py-line"> </tt>
<a name="BlankBehavior._getBlankFactor"></a><div id="BlankBehavior._getBlankFactor-def"><a name="L835"></a><tt class="py-lineno"> 835</tt> <a class="py-toggle" href="#" id="BlankBehavior._getBlankFactor-toggle" onclick="return toggle('BlankBehavior._getBlankFactor');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.BlankBehavior-class.html#_getBlankFactor">_getBlankFactor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BlankBehavior._getBlankFactor-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="BlankBehavior._getBlankFactor-expanded"><a name="L836"></a><tt class="py-lineno"> 836</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L837"></a><tt class="py-lineno"> 837</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the blanking factor.</tt> </tt>
<a name="L838"></a><tt class="py-lineno"> 838</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L839"></a><tt class="py-lineno"> 839</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankFactor</tt> </tt>
</div><a name="L840"></a><tt class="py-lineno"> 840</tt> <tt class="py-line"> </tt>
<a name="L841"></a><tt class="py-lineno"> 841</tt> <tt class="py-line"> <tt id="link-195" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-195', 'blankMode', 'link-178');">blankMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-196" class="py-name" targets="Method CedarBackup2.config.BlankBehavior._getBlankMode()=CedarBackup2.config.BlankBehavior-class.html#_getBlankMode"><a title="CedarBackup2.config.BlankBehavior._getBlankMode" class="py-name" href="#" onclick="return doclink('link-196', '_getBlankMode', 'link-196');">_getBlankMode</a></tt><tt class="py-op">,</tt> <tt id="link-197" class="py-name" targets="Method CedarBackup2.config.BlankBehavior._setBlankMode()=CedarBackup2.config.BlankBehavior-class.html#_setBlankMode"><a title="CedarBackup2.config.BlankBehavior._setBlankMode" class="py-name" href="#" onclick="return doclink('link-197', '_setBlankMode', 'link-197');">_setBlankMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Blanking mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L842"></a><tt class="py-lineno"> 842</tt> <tt class="py-line"> <tt id="link-198" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-198', 'blankFactor', 'link-180');">blankFactor</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-199" class="py-name" targets="Method CedarBackup2.config.BlankBehavior._getBlankFactor()=CedarBackup2.config.BlankBehavior-class.html#_getBlankFactor"><a title="CedarBackup2.config.BlankBehavior._getBlankFactor" class="py-name" href="#" onclick="return doclink('link-199', '_getBlankFactor', 'link-199');">_getBlankFactor</a></tt><tt class="py-op">,</tt> <tt id="link-200" class="py-name" targets="Method CedarBackup2.config.BlankBehavior._setBlankFactor()=CedarBackup2.config.BlankBehavior-class.html#_setBlankFactor"><a title="CedarBackup2.config.BlankBehavior._setBlankFactor" class="py-name" href="#" onclick="return doclink('link-200', '_setBlankFactor', 'link-200');">_setBlankFactor</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Blanking factor"</tt><tt class="py-op">)</tt> </tt>
</div><a name="L843"></a><tt class="py-lineno"> 843</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction"></a><div id="ExtendedAction-def"><a name="L844"></a><tt class="py-lineno"> 844</tt> <tt class="py-line"> </tt>
<a name="L845"></a><tt class="py-lineno"> 845</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L846"></a><tt class="py-lineno"> 846</tt> <tt class="py-line"><tt class="py-comment"># ExtendedAction class definition</tt> </tt>
<a name="L847"></a><tt class="py-lineno"> 847</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L848"></a><tt class="py-lineno"> 848</tt> <tt class="py-line"> </tt>
<a name="L849"></a><tt class="py-lineno"> 849</tt> <a class="py-toggle" href="#" id="ExtendedAction-toggle" onclick="return toggle('ExtendedAction');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html">ExtendedAction</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ExtendedAction-expanded"><a name="L850"></a><tt class="py-lineno"> 850</tt> <tt class="py-line"> </tt>
<a name="L851"></a><tt class="py-lineno"> 851</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L852"></a><tt class="py-lineno"> 852</tt> <tt class="py-line"><tt class="py-docstring"> Class representing an extended action.</tt> </tt>
<a name="L853"></a><tt class="py-lineno"> 853</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L854"></a><tt class="py-lineno"> 854</tt> <tt class="py-line"><tt class="py-docstring"> Essentially, an extended action needs to allow the following to happen::</tt> </tt>
<a name="L855"></a><tt class="py-lineno"> 855</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L856"></a><tt class="py-lineno"> 856</tt> <tt class="py-line"><tt class="py-docstring"> exec("from %s import %s" % (module, function))</tt> </tt>
<a name="L857"></a><tt class="py-lineno"> 857</tt> <tt class="py-line"><tt class="py-docstring"> exec("%s(action, configPath")" % function)</tt> </tt>
<a name="L858"></a><tt class="py-lineno"> 858</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L859"></a><tt class="py-lineno"> 859</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L860"></a><tt class="py-lineno"> 860</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L861"></a><tt class="py-lineno"> 861</tt> <tt class="py-line"><tt class="py-docstring"> - The action name must be a non-empty string consisting of lower-case letters and digits.</tt> </tt>
<a name="L862"></a><tt class="py-lineno"> 862</tt> <tt class="py-line"><tt class="py-docstring"> - The module must be a non-empty string and a valid Python identifier.</tt> </tt>
<a name="L863"></a><tt class="py-lineno"> 863</tt> <tt class="py-line"><tt class="py-docstring"> - The function must be an on-empty string and a valid Python identifier.</tt> </tt>
<a name="L864"></a><tt class="py-lineno"> 864</tt> <tt class="py-line"><tt class="py-docstring"> - If set, the index must be a positive integer.</tt> </tt>
<a name="L865"></a><tt class="py-lineno"> 865</tt> <tt class="py-line"><tt class="py-docstring"> - If set, the dependencies attribute must be an C{ActionDependencies} object.</tt> </tt>
<a name="L866"></a><tt class="py-lineno"> 866</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L867"></a><tt class="py-lineno"> 867</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, name, module, function, index, dependencies</tt> </tt>
<a name="L868"></a><tt class="py-lineno"> 868</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L869"></a><tt class="py-lineno"> 869</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction.__init__"></a><div id="ExtendedAction.__init__-def"><a name="L870"></a><tt class="py-lineno"> 870</tt> <a class="py-toggle" href="#" id="ExtendedAction.__init__-toggle" onclick="return toggle('ExtendedAction.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">module</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">function</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">index</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">dependencies</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction.__init__-expanded"><a name="L871"></a><tt class="py-lineno"> 871</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L872"></a><tt class="py-lineno"> 872</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{ExtendedAction} class.</tt> </tt>
<a name="L873"></a><tt class="py-lineno"> 873</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L874"></a><tt class="py-lineno"> 874</tt> <tt class="py-line"><tt class="py-docstring"> @param name: Name of the extended action</tt> </tt>
<a name="L875"></a><tt class="py-lineno"> 875</tt> <tt class="py-line"><tt class="py-docstring"> @param module: Name of the module containing the extended action function</tt> </tt>
<a name="L876"></a><tt class="py-lineno"> 876</tt> <tt class="py-line"><tt class="py-docstring"> @param function: Name of the extended action function</tt> </tt>
<a name="L877"></a><tt class="py-lineno"> 877</tt> <tt class="py-line"><tt class="py-docstring"> @param index: Index of action, used for execution ordering</tt> </tt>
<a name="L878"></a><tt class="py-lineno"> 878</tt> <tt class="py-line"><tt class="py-docstring"> @param dependencies: Dependencies for action, used for execution ordering</tt> </tt>
<a name="L879"></a><tt class="py-lineno"> 879</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L880"></a><tt class="py-lineno"> 880</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L881"></a><tt class="py-lineno"> 881</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L882"></a><tt class="py-lineno"> 882</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L883"></a><tt class="py-lineno"> 883</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_module</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L884"></a><tt class="py-lineno"> 884</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_function</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L885"></a><tt class="py-lineno"> 885</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_index</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L886"></a><tt class="py-lineno"> 886</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dependencies</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L887"></a><tt class="py-lineno"> 887</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-201" class="py-name" targets="Variable CedarBackup2.config.ExtendedAction.name=CedarBackup2.config.ExtendedAction-class.html#name,Variable CedarBackup2.config.LocalPeer.name=CedarBackup2.config.LocalPeer-class.html#name,Variable CedarBackup2.config.RemotePeer.name=CedarBackup2.config.RemotePeer-class.html#name,Variable CedarBackup2.peer.LocalPeer.name=CedarBackup2.peer.LocalPeer-class.html#name,Variable CedarBackup2.peer.RemotePeer.name=CedarBackup2.peer.RemotePeer-class.html#name,Variable CedarBackup2.util.DirectedGraph.name=CedarBackup2.util.DirectedGraph-class.html#name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-201', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-202" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-202', 'name', 'link-201');">name</a></tt> </tt>
<a name="L888"></a><tt class="py-lineno"> 888</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-203" class="py-name" targets="Variable CedarBackup2.config.ExtendedAction.module=CedarBackup2.config.ExtendedAction-class.html#module"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-203', 'module', 'link-203');">module</a></tt> <tt class="py-op">=</tt> <tt id="link-204" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-204', 'module', 'link-203');">module</a></tt> </tt>
<a name="L889"></a><tt class="py-lineno"> 889</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-205" class="py-name" targets="Variable CedarBackup2.config.ExtendedAction.function=CedarBackup2.config.ExtendedAction-class.html#function"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-205', 'function', 'link-205');">function</a></tt> <tt class="py-op">=</tt> <tt id="link-206" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-206', 'function', 'link-205');">function</a></tt> </tt>
<a name="L890"></a><tt class="py-lineno"> 890</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-207" class="py-name" targets="Variable CedarBackup2.config.ExtendedAction.index=CedarBackup2.config.ExtendedAction-class.html#index"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-207', 'index', 'link-207');">index</a></tt> <tt class="py-op">=</tt> <tt id="link-208" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-208', 'index', 'link-207');">index</a></tt> </tt>
<a name="L891"></a><tt class="py-lineno"> 891</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-209" class="py-name" targets="Variable CedarBackup2.config.ExtendedAction.dependencies=CedarBackup2.config.ExtendedAction-class.html#dependencies"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-209', 'dependencies', 'link-209');">dependencies</a></tt> <tt class="py-op">=</tt> <tt id="link-210" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-210', 'dependencies', 'link-209');">dependencies</a></tt> </tt>
</div><a name="L892"></a><tt class="py-lineno"> 892</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction.__repr__"></a><div id="ExtendedAction.__repr__-def"><a name="L893"></a><tt class="py-lineno"> 893</tt> <a class="py-toggle" href="#" id="ExtendedAction.__repr__-toggle" onclick="return toggle('ExtendedAction.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction.__repr__-expanded"><a name="L894"></a><tt class="py-lineno"> 894</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L895"></a><tt class="py-lineno"> 895</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L896"></a><tt class="py-lineno"> 896</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L897"></a><tt class="py-lineno"> 897</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"ExtendedAction(%s, %s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-211" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-211', 'name', 'link-201');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-212" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-212', 'module', 'link-203');">module</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-213" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-213', 'function', 'link-205');">function</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-214" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-214', 'index', 'link-207');">index</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-215" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-215', 'dependencies', 'link-209');">dependencies</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L898"></a><tt class="py-lineno"> 898</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction.__str__"></a><div id="ExtendedAction.__str__-def"><a name="L899"></a><tt class="py-lineno"> 899</tt> <a class="py-toggle" href="#" id="ExtendedAction.__str__-toggle" onclick="return toggle('ExtendedAction.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction.__str__-expanded"><a name="L900"></a><tt class="py-lineno"> 900</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L901"></a><tt class="py-lineno"> 901</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L902"></a><tt class="py-lineno"> 902</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L903"></a><tt class="py-lineno"> 903</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-216" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-216', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L904"></a><tt class="py-lineno"> 904</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction.__cmp__"></a><div id="ExtendedAction.__cmp__-def"><a name="L905"></a><tt class="py-lineno"> 905</tt> <a class="py-toggle" href="#" id="ExtendedAction.__cmp__-toggle" onclick="return toggle('ExtendedAction.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction.__cmp__-expanded"><a name="L906"></a><tt class="py-lineno"> 906</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L907"></a><tt class="py-lineno"> 907</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L908"></a><tt class="py-lineno"> 908</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L909"></a><tt class="py-lineno"> 909</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L910"></a><tt class="py-lineno"> 910</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L911"></a><tt class="py-lineno"> 911</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L912"></a><tt class="py-lineno"> 912</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L913"></a><tt class="py-lineno"> 913</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-217" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-217', 'name', 'link-201');">name</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-218" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-218', 'name', 'link-201');">name</a></tt><tt class="py-op">:</tt> </tt>
<a name="L914"></a><tt class="py-lineno"> 914</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-219" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-219', 'name', 'link-201');">name</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-220" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-220', 'name', 'link-201');">name</a></tt><tt class="py-op">:</tt> </tt>
<a name="L915"></a><tt class="py-lineno"> 915</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L916"></a><tt class="py-lineno"> 916</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L917"></a><tt class="py-lineno"> 917</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L918"></a><tt class="py-lineno"> 918</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-221" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-221', 'module', 'link-203');">module</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-222" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-222', 'module', 'link-203');">module</a></tt><tt class="py-op">:</tt> </tt>
<a name="L919"></a><tt class="py-lineno"> 919</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-223" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-223', 'module', 'link-203');">module</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-224" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-224', 'module', 'link-203');">module</a></tt><tt class="py-op">:</tt> </tt>
<a name="L920"></a><tt class="py-lineno"> 920</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L921"></a><tt class="py-lineno"> 921</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L922"></a><tt class="py-lineno"> 922</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L923"></a><tt class="py-lineno"> 923</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-225" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-225', 'function', 'link-205');">function</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-226" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-226', 'function', 'link-205');">function</a></tt><tt class="py-op">:</tt> </tt>
<a name="L924"></a><tt class="py-lineno"> 924</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-227" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-227', 'function', 'link-205');">function</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-228" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-228', 'function', 'link-205');">function</a></tt><tt class="py-op">:</tt> </tt>
<a name="L925"></a><tt class="py-lineno"> 925</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L926"></a><tt class="py-lineno"> 926</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L927"></a><tt class="py-lineno"> 927</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L928"></a><tt class="py-lineno"> 928</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-229" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-229', 'index', 'link-207');">index</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-230" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-230', 'index', 'link-207');">index</a></tt><tt class="py-op">:</tt> </tt>
<a name="L929"></a><tt class="py-lineno"> 929</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-231" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-231', 'index', 'link-207');">index</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-232" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-232', 'index', 'link-207');">index</a></tt><tt class="py-op">:</tt> </tt>
<a name="L930"></a><tt class="py-lineno"> 930</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L931"></a><tt class="py-lineno"> 931</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L932"></a><tt class="py-lineno"> 932</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L933"></a><tt class="py-lineno"> 933</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-233" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-233', 'dependencies', 'link-209');">dependencies</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-234" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-234', 'dependencies', 'link-209');">dependencies</a></tt><tt class="py-op">:</tt> </tt>
<a name="L934"></a><tt class="py-lineno"> 934</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-235" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-235', 'dependencies', 'link-209');">dependencies</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-236" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-236', 'dependencies', 'link-209');">dependencies</a></tt><tt class="py-op">:</tt> </tt>
<a name="L935"></a><tt class="py-lineno"> 935</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L936"></a><tt class="py-lineno"> 936</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L937"></a><tt class="py-lineno"> 937</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L938"></a><tt class="py-lineno"> 938</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L939"></a><tt class="py-lineno"> 939</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._setName"></a><div id="ExtendedAction._setName-def"><a name="L940"></a><tt class="py-lineno"> 940</tt> <a class="py-toggle" href="#" id="ExtendedAction._setName-toggle" onclick="return toggle('ExtendedAction._setName');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_setName">_setName</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._setName-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._setName-expanded"><a name="L941"></a><tt class="py-lineno"> 941</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L942"></a><tt class="py-lineno"> 942</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the action name.</tt> </tt>
<a name="L943"></a><tt class="py-lineno"> 943</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L944"></a><tt class="py-lineno"> 944</tt> <tt class="py-line"><tt class="py-docstring"> It must also consist only of lower-case letters and digits.</tt> </tt>
<a name="L945"></a><tt class="py-lineno"> 945</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L946"></a><tt class="py-lineno"> 946</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L947"></a><tt class="py-lineno"> 947</tt> <tt class="py-line"> <tt class="py-name">pattern</tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt id="link-237" class="py-name"><a title="CedarBackup2.config.ACTION_NAME_REGEX" class="py-name" href="#" onclick="return doclink('link-237', 'ACTION_NAME_REGEX', 'link-67');">ACTION_NAME_REGEX</a></tt><tt class="py-op">)</tt> </tt>
<a name="L948"></a><tt class="py-lineno"> 948</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L949"></a><tt class="py-lineno"> 949</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L950"></a><tt class="py-lineno"> 950</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The action name must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L951"></a><tt class="py-lineno"> 951</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">pattern</tt><tt class="py-op">.</tt><tt class="py-name">search</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L952"></a><tt class="py-lineno"> 952</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The action name must consist of only lower-case letters and digits."</tt><tt class="py-op">)</tt> </tt>
<a name="L953"></a><tt class="py-lineno"> 953</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L954"></a><tt class="py-lineno"> 954</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._getName"></a><div id="ExtendedAction._getName-def"><a name="L955"></a><tt class="py-lineno"> 955</tt> <a class="py-toggle" href="#" id="ExtendedAction._getName-toggle" onclick="return toggle('ExtendedAction._getName');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_getName">_getName</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._getName-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._getName-expanded"><a name="L956"></a><tt class="py-lineno"> 956</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L957"></a><tt class="py-lineno"> 957</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the action name.</tt> </tt>
<a name="L958"></a><tt class="py-lineno"> 958</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L959"></a><tt class="py-lineno"> 959</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> </tt>
</div><a name="L960"></a><tt class="py-lineno"> 960</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._setModule"></a><div id="ExtendedAction._setModule-def"><a name="L961"></a><tt class="py-lineno"> 961</tt> <a class="py-toggle" href="#" id="ExtendedAction._setModule-toggle" onclick="return toggle('ExtendedAction._setModule');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_setModule">_setModule</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._setModule-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._setModule-expanded"><a name="L962"></a><tt class="py-lineno"> 962</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L963"></a><tt class="py-lineno"> 963</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the module name.</tt> </tt>
<a name="L964"></a><tt class="py-lineno"> 964</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L965"></a><tt class="py-lineno"> 965</tt> <tt class="py-line"><tt class="py-docstring"> It must also be a valid Python identifier.</tt> </tt>
<a name="L966"></a><tt class="py-lineno"> 966</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L967"></a><tt class="py-lineno"> 967</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L968"></a><tt class="py-lineno"> 968</tt> <tt class="py-line"> <tt class="py-name">pattern</tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt class="py-string">r"^([A-Za-z_][A-Za-z0-9_]*)(\.[A-Za-z_][A-Za-z0-9_]*)*$"</tt><tt class="py-op">)</tt> </tt>
<a name="L969"></a><tt class="py-lineno"> 969</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L970"></a><tt class="py-lineno"> 970</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L971"></a><tt class="py-lineno"> 971</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The module name must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L972"></a><tt class="py-lineno"> 972</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">pattern</tt><tt class="py-op">.</tt><tt class="py-name">search</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L973"></a><tt class="py-lineno"> 973</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The module name must be a valid Python identifier."</tt><tt class="py-op">)</tt> </tt>
<a name="L974"></a><tt class="py-lineno"> 974</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_module</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L975"></a><tt class="py-lineno"> 975</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._getModule"></a><div id="ExtendedAction._getModule-def"><a name="L976"></a><tt class="py-lineno"> 976</tt> <a class="py-toggle" href="#" id="ExtendedAction._getModule-toggle" onclick="return toggle('ExtendedAction._getModule');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_getModule">_getModule</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._getModule-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._getModule-expanded"><a name="L977"></a><tt class="py-lineno"> 977</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L978"></a><tt class="py-lineno"> 978</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the module name.</tt> </tt>
<a name="L979"></a><tt class="py-lineno"> 979</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L980"></a><tt class="py-lineno"> 980</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_module</tt> </tt>
</div><a name="L981"></a><tt class="py-lineno"> 981</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._setFunction"></a><div id="ExtendedAction._setFunction-def"><a name="L982"></a><tt class="py-lineno"> 982</tt> <a class="py-toggle" href="#" id="ExtendedAction._setFunction-toggle" onclick="return toggle('ExtendedAction._setFunction');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_setFunction">_setFunction</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._setFunction-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._setFunction-expanded"><a name="L983"></a><tt class="py-lineno"> 983</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L984"></a><tt class="py-lineno"> 984</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the function name.</tt> </tt>
<a name="L985"></a><tt class="py-lineno"> 985</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L986"></a><tt class="py-lineno"> 986</tt> <tt class="py-line"><tt class="py-docstring"> It must also be a valid Python identifier.</tt> </tt>
<a name="L987"></a><tt class="py-lineno"> 987</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L988"></a><tt class="py-lineno"> 988</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L989"></a><tt class="py-lineno"> 989</tt> <tt class="py-line"> <tt class="py-name">pattern</tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt class="py-string">r"^[A-Za-z_][A-Za-z0-9_]*$"</tt><tt class="py-op">)</tt> </tt>
<a name="L990"></a><tt class="py-lineno"> 990</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L991"></a><tt class="py-lineno"> 991</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L992"></a><tt class="py-lineno"> 992</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The function name must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L993"></a><tt class="py-lineno"> 993</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">pattern</tt><tt class="py-op">.</tt><tt class="py-name">search</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L994"></a><tt class="py-lineno"> 994</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The function name must be a valid Python identifier."</tt><tt class="py-op">)</tt> </tt>
<a name="L995"></a><tt class="py-lineno"> 995</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_function</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L996"></a><tt class="py-lineno"> 996</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._getFunction"></a><div id="ExtendedAction._getFunction-def"><a name="L997"></a><tt class="py-lineno"> 997</tt> <a class="py-toggle" href="#" id="ExtendedAction._getFunction-toggle" onclick="return toggle('ExtendedAction._getFunction');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_getFunction">_getFunction</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._getFunction-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._getFunction-expanded"><a name="L998"></a><tt class="py-lineno"> 998</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L999"></a><tt class="py-lineno"> 999</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the function name.</tt> </tt>
<a name="L1000"></a><tt class="py-lineno">1000</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1001"></a><tt class="py-lineno">1001</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_function</tt> </tt>
</div><a name="L1002"></a><tt class="py-lineno">1002</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._setIndex"></a><div id="ExtendedAction._setIndex-def"><a name="L1003"></a><tt class="py-lineno">1003</tt> <a class="py-toggle" href="#" id="ExtendedAction._setIndex-toggle" onclick="return toggle('ExtendedAction._setIndex');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_setIndex">_setIndex</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._setIndex-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._setIndex-expanded"><a name="L1004"></a><tt class="py-lineno">1004</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1005"></a><tt class="py-lineno">1005</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the action index.</tt> </tt>
<a name="L1006"></a><tt class="py-lineno">1006</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an integer >= 0.</tt> </tt>
<a name="L1007"></a><tt class="py-lineno">1007</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1008"></a><tt class="py-lineno">1008</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1009"></a><tt class="py-lineno">1009</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1010"></a><tt class="py-lineno">1010</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_index</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1011"></a><tt class="py-lineno">1011</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1012"></a><tt class="py-lineno">1012</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L1013"></a><tt class="py-lineno">1013</tt> <tt class="py-line"> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1014"></a><tt class="py-lineno">1014</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">TypeError</tt><tt class="py-op">:</tt> </tt>
<a name="L1015"></a><tt class="py-lineno">1015</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Action index value must be an integer >= 0."</tt><tt class="py-op">)</tt> </tt>
<a name="L1016"></a><tt class="py-lineno">1016</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-op"><</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L1017"></a><tt class="py-lineno">1017</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Action index value must be an integer >= 0."</tt><tt class="py-op">)</tt> </tt>
<a name="L1018"></a><tt class="py-lineno">1018</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_index</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1019"></a><tt class="py-lineno">1019</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._getIndex"></a><div id="ExtendedAction._getIndex-def"><a name="L1020"></a><tt class="py-lineno">1020</tt> <a class="py-toggle" href="#" id="ExtendedAction._getIndex-toggle" onclick="return toggle('ExtendedAction._getIndex');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_getIndex">_getIndex</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._getIndex-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._getIndex-expanded"><a name="L1021"></a><tt class="py-lineno">1021</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1022"></a><tt class="py-lineno">1022</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the action index.</tt> </tt>
<a name="L1023"></a><tt class="py-lineno">1023</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1024"></a><tt class="py-lineno">1024</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_index</tt> </tt>
</div><a name="L1025"></a><tt class="py-lineno">1025</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._setDependencies"></a><div id="ExtendedAction._setDependencies-def"><a name="L1026"></a><tt class="py-lineno">1026</tt> <a class="py-toggle" href="#" id="ExtendedAction._setDependencies-toggle" onclick="return toggle('ExtendedAction._setDependencies');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_setDependencies">_setDependencies</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._setDependencies-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._setDependencies-expanded"><a name="L1027"></a><tt class="py-lineno">1027</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1028"></a><tt class="py-lineno">1028</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the action dependencies information.</tt> </tt>
<a name="L1029"></a><tt class="py-lineno">1029</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be a C{ActionDependecies} object.</tt> </tt>
<a name="L1030"></a><tt class="py-lineno">1030</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{ActionDependencies} object.</tt> </tt>
<a name="L1031"></a><tt class="py-lineno">1031</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1032"></a><tt class="py-lineno">1032</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1033"></a><tt class="py-lineno">1033</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dependencies</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1034"></a><tt class="py-lineno">1034</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1035"></a><tt class="py-lineno">1035</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-238" class="py-name" targets="Class CedarBackup2.config.ActionDependencies=CedarBackup2.config.ActionDependencies-class.html"><a title="CedarBackup2.config.ActionDependencies" class="py-name" href="#" onclick="return doclink('link-238', 'ActionDependencies', 'link-238');">ActionDependencies</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L1036"></a><tt class="py-lineno">1036</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{ActionDependencies} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L1037"></a><tt class="py-lineno">1037</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dependencies</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1038"></a><tt class="py-lineno">1038</tt> <tt class="py-line"> </tt>
<a name="ExtendedAction._getDependencies"></a><div id="ExtendedAction._getDependencies-def"><a name="L1039"></a><tt class="py-lineno">1039</tt> <a class="py-toggle" href="#" id="ExtendedAction._getDependencies-toggle" onclick="return toggle('ExtendedAction._getDependencies');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtendedAction-class.html#_getDependencies">_getDependencies</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtendedAction._getDependencies-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtendedAction._getDependencies-expanded"><a name="L1040"></a><tt class="py-lineno">1040</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1041"></a><tt class="py-lineno">1041</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get action dependencies information.</tt> </tt>
<a name="L1042"></a><tt class="py-lineno">1042</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1043"></a><tt class="py-lineno">1043</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dependencies</tt> </tt>
</div><a name="L1044"></a><tt class="py-lineno">1044</tt> <tt class="py-line"> </tt>
<a name="L1045"></a><tt class="py-lineno">1045</tt> <tt class="py-line"> <tt id="link-239" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-239', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-240" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._getName()=CedarBackup2.config.ExtendedAction-class.html#_getName,Method CedarBackup2.config.LocalPeer._getName()=CedarBackup2.config.LocalPeer-class.html#_getName,Method CedarBackup2.config.RemotePeer._getName()=CedarBackup2.config.RemotePeer-class.html#_getName,Method CedarBackup2.peer.LocalPeer._getName()=CedarBackup2.peer.LocalPeer-class.html#_getName,Method CedarBackup2.peer.RemotePeer._getName()=CedarBackup2.peer.RemotePeer-class.html#_getName,Method CedarBackup2.util.DirectedGraph._getName()=CedarBackup2.util.DirectedGraph-class.html#_getName"><a title="CedarBackup2.config.ExtendedAction._getName
CedarBackup2.config.LocalPeer._getName
CedarBackup2.config.RemotePeer._getName
CedarBackup2.peer.LocalPeer._getName
CedarBackup2.peer.RemotePeer._getName
CedarBackup2.util.DirectedGraph._getName" class="py-name" href="#" onclick="return doclink('link-240', '_getName', 'link-240');">_getName</a></tt><tt class="py-op">,</tt> <tt id="link-241" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._setName()=CedarBackup2.config.ExtendedAction-class.html#_setName,Method CedarBackup2.config.LocalPeer._setName()=CedarBackup2.config.LocalPeer-class.html#_setName,Method CedarBackup2.config.RemotePeer._setName()=CedarBackup2.config.RemotePeer-class.html#_setName,Method CedarBackup2.peer.LocalPeer._setName()=CedarBackup2.peer.LocalPeer-class.html#_setName,Method CedarBackup2.peer.RemotePeer._setName()=CedarBackup2.peer.RemotePeer-class.html#_setName"><a title="CedarBackup2.config.ExtendedAction._setName
CedarBackup2.config.LocalPeer._setName
CedarBackup2.config.RemotePeer._setName
CedarBackup2.peer.LocalPeer._setName
CedarBackup2.peer.RemotePeer._setName" class="py-name" href="#" onclick="return doclink('link-241', '_setName', 'link-241');">_setName</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Name of the extended action."</tt><tt class="py-op">)</tt> </tt>
<a name="L1046"></a><tt class="py-lineno">1046</tt> <tt class="py-line"> <tt id="link-242" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-242', 'module', 'link-203');">module</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-243" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._getModule()=CedarBackup2.config.ExtendedAction-class.html#_getModule"><a title="CedarBackup2.config.ExtendedAction._getModule" class="py-name" href="#" onclick="return doclink('link-243', '_getModule', 'link-243');">_getModule</a></tt><tt class="py-op">,</tt> <tt id="link-244" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._setModule()=CedarBackup2.config.ExtendedAction-class.html#_setModule"><a title="CedarBackup2.config.ExtendedAction._setModule" class="py-name" href="#" onclick="return doclink('link-244', '_setModule', 'link-244');">_setModule</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Name of the module containing the extended action function."</tt><tt class="py-op">)</tt> </tt>
<a name="L1047"></a><tt class="py-lineno">1047</tt> <tt class="py-line"> <tt id="link-245" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-245', 'function', 'link-205');">function</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-246" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._getFunction()=CedarBackup2.config.ExtendedAction-class.html#_getFunction"><a title="CedarBackup2.config.ExtendedAction._getFunction" class="py-name" href="#" onclick="return doclink('link-246', '_getFunction', 'link-246');">_getFunction</a></tt><tt class="py-op">,</tt> <tt id="link-247" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._setFunction()=CedarBackup2.config.ExtendedAction-class.html#_setFunction"><a title="CedarBackup2.config.ExtendedAction._setFunction" class="py-name" href="#" onclick="return doclink('link-247', '_setFunction', 'link-247');">_setFunction</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Name of the extended action function."</tt><tt class="py-op">)</tt> </tt>
<a name="L1048"></a><tt class="py-lineno">1048</tt> <tt class="py-line"> <tt id="link-248" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-248', 'index', 'link-207');">index</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-249" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._getIndex()=CedarBackup2.config.ExtendedAction-class.html#_getIndex"><a title="CedarBackup2.config.ExtendedAction._getIndex" class="py-name" href="#" onclick="return doclink('link-249', '_getIndex', 'link-249');">_getIndex</a></tt><tt class="py-op">,</tt> <tt id="link-250" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._setIndex()=CedarBackup2.config.ExtendedAction-class.html#_setIndex"><a title="CedarBackup2.config.ExtendedAction._setIndex" class="py-name" href="#" onclick="return doclink('link-250', '_setIndex', 'link-250');">_setIndex</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Index of action, used for execution ordering."</tt><tt class="py-op">)</tt> </tt>
<a name="L1049"></a><tt class="py-lineno">1049</tt> <tt class="py-line"> <tt id="link-251" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-251', 'dependencies', 'link-209');">dependencies</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-252" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._getDependencies()=CedarBackup2.config.ExtendedAction-class.html#_getDependencies"><a title="CedarBackup2.config.ExtendedAction._getDependencies" class="py-name" href="#" onclick="return doclink('link-252', '_getDependencies', 'link-252');">_getDependencies</a></tt><tt class="py-op">,</tt> <tt id="link-253" class="py-name" targets="Method CedarBackup2.config.ExtendedAction._setDependencies()=CedarBackup2.config.ExtendedAction-class.html#_setDependencies"><a title="CedarBackup2.config.ExtendedAction._setDependencies" class="py-name" href="#" onclick="return doclink('link-253', '_setDependencies', 'link-253');">_setDependencies</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Dependencies for action, used for execution ordering."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1050"></a><tt class="py-lineno">1050</tt> <tt class="py-line"> </tt>
<a name="CommandOverride"></a><div id="CommandOverride-def"><a name="L1051"></a><tt class="py-lineno">1051</tt> <tt class="py-line"> </tt>
<a name="L1052"></a><tt class="py-lineno">1052</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1053"></a><tt class="py-lineno">1053</tt> <tt class="py-line"><tt class="py-comment"># CommandOverride class definition</tt> </tt>
<a name="L1054"></a><tt class="py-lineno">1054</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1055"></a><tt class="py-lineno">1055</tt> <tt class="py-line"> </tt>
<a name="L1056"></a><tt class="py-lineno">1056</tt> <a class="py-toggle" href="#" id="CommandOverride-toggle" onclick="return toggle('CommandOverride');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html">CommandOverride</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="CommandOverride-expanded"><a name="L1057"></a><tt class="py-lineno">1057</tt> <tt class="py-line"> </tt>
<a name="L1058"></a><tt class="py-lineno">1058</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1059"></a><tt class="py-lineno">1059</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a piece of Cedar Backup command override configuration.</tt> </tt>
<a name="L1060"></a><tt class="py-lineno">1060</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1061"></a><tt class="py-lineno">1061</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L1062"></a><tt class="py-lineno">1062</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1063"></a><tt class="py-lineno">1063</tt> <tt class="py-line"><tt class="py-docstring"> - The absolute path must be absolute</tt> </tt>
<a name="L1064"></a><tt class="py-lineno">1064</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1065"></a><tt class="py-lineno">1065</tt> <tt class="py-line"><tt class="py-docstring"> @note: Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L1066"></a><tt class="py-lineno">1066</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1067"></a><tt class="py-lineno">1067</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, command, absolutePath</tt> </tt>
<a name="L1068"></a><tt class="py-lineno">1068</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1069"></a><tt class="py-lineno">1069</tt> <tt class="py-line"> </tt>
<a name="CommandOverride.__init__"></a><div id="CommandOverride.__init__-def"><a name="L1070"></a><tt class="py-lineno">1070</tt> <a class="py-toggle" href="#" id="CommandOverride.__init__-toggle" onclick="return toggle('CommandOverride.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">absolutePath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CommandOverride.__init__-expanded"><a name="L1071"></a><tt class="py-lineno">1071</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1072"></a><tt class="py-lineno">1072</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{CommandOverride} class.</tt> </tt>
<a name="L1073"></a><tt class="py-lineno">1073</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1074"></a><tt class="py-lineno">1074</tt> <tt class="py-line"><tt class="py-docstring"> @param command: Name of command to be overridden.</tt> </tt>
<a name="L1075"></a><tt class="py-lineno">1075</tt> <tt class="py-line"><tt class="py-docstring"> @param absolutePath: Absolute path of the overrridden command.</tt> </tt>
<a name="L1076"></a><tt class="py-lineno">1076</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1077"></a><tt class="py-lineno">1077</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L1078"></a><tt class="py-lineno">1078</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1079"></a><tt class="py-lineno">1079</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_command</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1080"></a><tt class="py-lineno">1080</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1081"></a><tt class="py-lineno">1081</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-254" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-254', 'command', 'link-128');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-255" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-255', 'command', 'link-128');">command</a></tt> </tt>
<a name="L1082"></a><tt class="py-lineno">1082</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-256" class="py-name" targets="Variable CedarBackup2.config.CollectDir.absolutePath=CedarBackup2.config.CollectDir-class.html#absolutePath,Variable CedarBackup2.config.CollectFile.absolutePath=CedarBackup2.config.CollectFile-class.html#absolutePath,Variable CedarBackup2.config.CommandOverride.absolutePath=CedarBackup2.config.CommandOverride-class.html#absolutePath,Variable CedarBackup2.config.PurgeDir.absolutePath=CedarBackup2.config.PurgeDir-class.html#absolutePath,Variable CedarBackup2.extend.mbox.MboxDir.absolutePath=CedarBackup2.extend.mbox.MboxDir-class.html#absolutePath,Variable CedarBackup2.extend.mbox.MboxFile.absolutePath=CedarBackup2.extend.mbox.MboxFile-class.html#absolutePath"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-256', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt id="link-257" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-257', 'absolutePath', 'link-256');">absolutePath</a></tt> </tt>
</div><a name="L1083"></a><tt class="py-lineno">1083</tt> <tt class="py-line"> </tt>
<a name="CommandOverride.__repr__"></a><div id="CommandOverride.__repr__-def"><a name="L1084"></a><tt class="py-lineno">1084</tt> <a class="py-toggle" href="#" id="CommandOverride.__repr__-toggle" onclick="return toggle('CommandOverride.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CommandOverride.__repr__-expanded"><a name="L1085"></a><tt class="py-lineno">1085</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1086"></a><tt class="py-lineno">1086</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L1087"></a><tt class="py-lineno">1087</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1088"></a><tt class="py-lineno">1088</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"CommandOverride(%s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-258" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-258', 'command', 'link-128');">command</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-259" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-259', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L1089"></a><tt class="py-lineno">1089</tt> <tt class="py-line"> </tt>
<a name="CommandOverride.__str__"></a><div id="CommandOverride.__str__-def"><a name="L1090"></a><tt class="py-lineno">1090</tt> <a class="py-toggle" href="#" id="CommandOverride.__str__-toggle" onclick="return toggle('CommandOverride.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CommandOverride.__str__-expanded"><a name="L1091"></a><tt class="py-lineno">1091</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1092"></a><tt class="py-lineno">1092</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L1093"></a><tt class="py-lineno">1093</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1094"></a><tt class="py-lineno">1094</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-260" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-260', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1095"></a><tt class="py-lineno">1095</tt> <tt class="py-line"> </tt>
<a name="CommandOverride.__cmp__"></a><div id="CommandOverride.__cmp__-def"><a name="L1096"></a><tt class="py-lineno">1096</tt> <a class="py-toggle" href="#" id="CommandOverride.__cmp__-toggle" onclick="return toggle('CommandOverride.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CommandOverride.__cmp__-expanded"><a name="L1097"></a><tt class="py-lineno">1097</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1098"></a><tt class="py-lineno">1098</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L1099"></a><tt class="py-lineno">1099</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L1100"></a><tt class="py-lineno">1100</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L1101"></a><tt class="py-lineno">1101</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1102"></a><tt class="py-lineno">1102</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1103"></a><tt class="py-lineno">1103</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1104"></a><tt class="py-lineno">1104</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-261" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-261', 'command', 'link-128');">command</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-262" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-262', 'command', 'link-128');">command</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1105"></a><tt class="py-lineno">1105</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-263" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-263', 'command', 'link-128');">command</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-264" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-264', 'command', 'link-128');">command</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1106"></a><tt class="py-lineno">1106</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1107"></a><tt class="py-lineno">1107</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1108"></a><tt class="py-lineno">1108</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1109"></a><tt class="py-lineno">1109</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-265" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-265', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-266" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-266', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1110"></a><tt class="py-lineno">1110</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-267" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-267', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-268" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-268', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1111"></a><tt class="py-lineno">1111</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1112"></a><tt class="py-lineno">1112</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1113"></a><tt class="py-lineno">1113</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1114"></a><tt class="py-lineno">1114</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L1115"></a><tt class="py-lineno">1115</tt> <tt class="py-line"> </tt>
<a name="CommandOverride._setCommand"></a><div id="CommandOverride._setCommand-def"><a name="L1116"></a><tt class="py-lineno">1116</tt> <a class="py-toggle" href="#" id="CommandOverride._setCommand-toggle" onclick="return toggle('CommandOverride._setCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html#_setCommand">_setCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride._setCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CommandOverride._setCommand-expanded"><a name="L1117"></a><tt class="py-lineno">1117</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1118"></a><tt class="py-lineno">1118</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the command.</tt> </tt>
<a name="L1119"></a><tt class="py-lineno">1119</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L1120"></a><tt class="py-lineno">1120</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L1121"></a><tt class="py-lineno">1121</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1122"></a><tt class="py-lineno">1122</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1123"></a><tt class="py-lineno">1123</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L1124"></a><tt class="py-lineno">1124</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The command must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L1125"></a><tt class="py-lineno">1125</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_command</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1126"></a><tt class="py-lineno">1126</tt> <tt class="py-line"> </tt>
<a name="CommandOverride._getCommand"></a><div id="CommandOverride._getCommand-def"><a name="L1127"></a><tt class="py-lineno">1127</tt> <a class="py-toggle" href="#" id="CommandOverride._getCommand-toggle" onclick="return toggle('CommandOverride._getCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html#_getCommand">_getCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride._getCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CommandOverride._getCommand-expanded"><a name="L1128"></a><tt class="py-lineno">1128</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1129"></a><tt class="py-lineno">1129</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the command.</tt> </tt>
<a name="L1130"></a><tt class="py-lineno">1130</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1131"></a><tt class="py-lineno">1131</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_command</tt> </tt>
</div><a name="L1132"></a><tt class="py-lineno">1132</tt> <tt class="py-line"> </tt>
<a name="CommandOverride._setAbsolutePath"></a><div id="CommandOverride._setAbsolutePath-def"><a name="L1133"></a><tt class="py-lineno">1133</tt> <a class="py-toggle" href="#" id="CommandOverride._setAbsolutePath-toggle" onclick="return toggle('CommandOverride._setAbsolutePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html#_setAbsolutePath">_setAbsolutePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride._setAbsolutePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CommandOverride._setAbsolutePath-expanded"><a name="L1134"></a><tt class="py-lineno">1134</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1135"></a><tt class="py-lineno">1135</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the absolute path.</tt> </tt>
<a name="L1136"></a><tt class="py-lineno">1136</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L1137"></a><tt class="py-lineno">1137</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L1138"></a><tt class="py-lineno">1138</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L1139"></a><tt class="py-lineno">1139</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L1140"></a><tt class="py-lineno">1140</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1141"></a><tt class="py-lineno">1141</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1142"></a><tt class="py-lineno">1142</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L1143"></a><tt class="py-lineno">1143</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Not an absolute path: [%s]"</tt> <tt class="py-op">%</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1144"></a><tt class="py-lineno">1144</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> <tt class="py-op">=</tt> <tt id="link-269" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-269', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1145"></a><tt class="py-lineno">1145</tt> <tt class="py-line"> </tt>
<a name="CommandOverride._getAbsolutePath"></a><div id="CommandOverride._getAbsolutePath-def"><a name="L1146"></a><tt class="py-lineno">1146</tt> <a class="py-toggle" href="#" id="CommandOverride._getAbsolutePath-toggle" onclick="return toggle('CommandOverride._getAbsolutePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CommandOverride-class.html#_getAbsolutePath">_getAbsolutePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CommandOverride._getAbsolutePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CommandOverride._getAbsolutePath-expanded"><a name="L1147"></a><tt class="py-lineno">1147</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1148"></a><tt class="py-lineno">1148</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the absolute path.</tt> </tt>
<a name="L1149"></a><tt class="py-lineno">1149</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1150"></a><tt class="py-lineno">1150</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> </tt>
</div><a name="L1151"></a><tt class="py-lineno">1151</tt> <tt class="py-line"> </tt>
<a name="L1152"></a><tt class="py-lineno">1152</tt> <tt class="py-line"> <tt id="link-270" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-270', 'command', 'link-128');">command</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-271" class="py-name"><a title="CedarBackup2.config.ActionHook._getCommand
CedarBackup2.config.CommandOverride._getCommand" class="py-name" href="#" onclick="return doclink('link-271', '_getCommand', 'link-156');">_getCommand</a></tt><tt class="py-op">,</tt> <tt id="link-272" class="py-name"><a title="CedarBackup2.config.ActionHook._setCommand
CedarBackup2.config.CommandOverride._setCommand" class="py-name" href="#" onclick="return doclink('link-272', '_setCommand', 'link-157');">_setCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Name of command to be overridden."</tt><tt class="py-op">)</tt> </tt>
<a name="L1153"></a><tt class="py-lineno">1153</tt> <tt class="py-line"> <tt id="link-273" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-273', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-274" class="py-name" targets="Method CedarBackup2.config.CollectDir._getAbsolutePath()=CedarBackup2.config.CollectDir-class.html#_getAbsolutePath,Method CedarBackup2.config.CollectFile._getAbsolutePath()=CedarBackup2.config.CollectFile-class.html#_getAbsolutePath,Method CedarBackup2.config.CommandOverride._getAbsolutePath()=CedarBackup2.config.CommandOverride-class.html#_getAbsolutePath,Method CedarBackup2.config.PurgeDir._getAbsolutePath()=CedarBackup2.config.PurgeDir-class.html#_getAbsolutePath,Method CedarBackup2.extend.mbox.MboxDir._getAbsolutePath()=CedarBackup2.extend.mbox.MboxDir-class.html#_getAbsolutePath,Method CedarBackup2.extend.mbox.MboxFile._getAbsolutePath()=CedarBackup2.extend.mbox.MboxFile-class.html#_getAbsolutePath"><a title="CedarBackup2.config.CollectDir._getAbsolutePath
CedarBackup2.config.CollectFile._getAbsolutePath
CedarBackup2.config.CommandOverride._getAbsolutePath
CedarBackup2.config.PurgeDir._getAbsolutePath
CedarBackup2.extend.mbox.MboxDir._getAbsolutePath
CedarBackup2.extend.mbox.MboxFile._getAbsolutePath" class="py-name" href="#" onclick="return doclink('link-274', '_getAbsolutePath', 'link-274');">_getAbsolutePath</a></tt><tt class="py-op">,</tt> <tt id="link-275" class="py-name" targets="Method CedarBackup2.config.CollectDir._setAbsolutePath()=CedarBackup2.config.CollectDir-class.html#_setAbsolutePath,Method CedarBackup2.config.CollectFile._setAbsolutePath()=CedarBackup2.config.CollectFile-class.html#_setAbsolutePath,Method CedarBackup2.config.CommandOverride._setAbsolutePath()=CedarBackup2.config.CommandOverride-class.html#_setAbsolutePath,Method CedarBackup2.config.PurgeDir._setAbsolutePath()=CedarBackup2.config.PurgeDir-class.html#_setAbsolutePath,Method CedarBackup2.extend.mbox.MboxDir._setAbsolutePath()=CedarBackup2.extend.mbox.MboxDir-class.html#_setAbsolutePath,Method CedarBackup2.extend.mbox.MboxFile._setAbsolutePath()=CedarBackup2.extend.mbox.MboxFile-class.html#_setAbsolutePath"><a title="CedarBackup2.config.CollectDir._setAbsolutePath
CedarBackup2.config.CollectFile._setAbsolutePath
CedarBackup2.config.CommandOverride._setAbsolutePath
CedarBackup2.config.PurgeDir._setAbsolutePath
CedarBackup2.extend.mbox.MboxDir._setAbsolutePath
CedarBackup2.extend.mbox.MboxFile._setAbsolutePath" class="py-name" href="#" onclick="return doclink('link-275', '_setAbsolutePath', 'link-275');">_setAbsolutePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Absolute path of the overrridden command."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1154"></a><tt class="py-lineno">1154</tt> <tt class="py-line"> </tt>
<a name="CollectFile"></a><div id="CollectFile-def"><a name="L1155"></a><tt class="py-lineno">1155</tt> <tt class="py-line"> </tt>
<a name="L1156"></a><tt class="py-lineno">1156</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1157"></a><tt class="py-lineno">1157</tt> <tt class="py-line"><tt class="py-comment"># CollectFile class definition</tt> </tt>
<a name="L1158"></a><tt class="py-lineno">1158</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1159"></a><tt class="py-lineno">1159</tt> <tt class="py-line"> </tt>
<a name="L1160"></a><tt class="py-lineno">1160</tt> <a class="py-toggle" href="#" id="CollectFile-toggle" onclick="return toggle('CollectFile');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html">CollectFile</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="CollectFile-expanded"><a name="L1161"></a><tt class="py-lineno">1161</tt> <tt class="py-line"> </tt>
<a name="L1162"></a><tt class="py-lineno">1162</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1163"></a><tt class="py-lineno">1163</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup collect file.</tt> </tt>
<a name="L1164"></a><tt class="py-lineno">1164</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1165"></a><tt class="py-lineno">1165</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L1166"></a><tt class="py-lineno">1166</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1167"></a><tt class="py-lineno">1167</tt> <tt class="py-line"><tt class="py-docstring"> - Absolute paths must be absolute</tt> </tt>
<a name="L1168"></a><tt class="py-lineno">1168</tt> <tt class="py-line"><tt class="py-docstring"> - The collect mode must be one of the values in L{VALID_COLLECT_MODES}.</tt> </tt>
<a name="L1169"></a><tt class="py-lineno">1169</tt> <tt class="py-line"><tt class="py-docstring"> - The archive mode must be one of the values in L{VALID_ARCHIVE_MODES}.</tt> </tt>
<a name="L1170"></a><tt class="py-lineno">1170</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1171"></a><tt class="py-lineno">1171</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, absolutePath, collectMode, archiveMode</tt> </tt>
<a name="L1172"></a><tt class="py-lineno">1172</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1173"></a><tt class="py-lineno">1173</tt> <tt class="py-line"> </tt>
<a name="CollectFile.__init__"></a><div id="CollectFile.__init__-def"><a name="L1174"></a><tt class="py-lineno">1174</tt> <a class="py-toggle" href="#" id="CollectFile.__init__-toggle" onclick="return toggle('CollectFile.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">absolutePath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">collectMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">archiveMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile.__init__-expanded"><a name="L1175"></a><tt class="py-lineno">1175</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1176"></a><tt class="py-lineno">1176</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{CollectFile} class.</tt> </tt>
<a name="L1177"></a><tt class="py-lineno">1177</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1178"></a><tt class="py-lineno">1178</tt> <tt class="py-line"><tt class="py-docstring"> @param absolutePath: Absolute path of the file to collect.</tt> </tt>
<a name="L1179"></a><tt class="py-lineno">1179</tt> <tt class="py-line"><tt class="py-docstring"> @param collectMode: Overridden collect mode for this file.</tt> </tt>
<a name="L1180"></a><tt class="py-lineno">1180</tt> <tt class="py-line"><tt class="py-docstring"> @param archiveMode: Overridden archive mode for this file.</tt> </tt>
<a name="L1181"></a><tt class="py-lineno">1181</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1182"></a><tt class="py-lineno">1182</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L1183"></a><tt class="py-lineno">1183</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1184"></a><tt class="py-lineno">1184</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1185"></a><tt class="py-lineno">1185</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1186"></a><tt class="py-lineno">1186</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1187"></a><tt class="py-lineno">1187</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-276" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-276', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt id="link-277" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-277', 'absolutePath', 'link-256');">absolutePath</a></tt> </tt>
<a name="L1188"></a><tt class="py-lineno">1188</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-278" class="py-name" targets="Variable CedarBackup2.config.CollectConfig.collectMode=CedarBackup2.config.CollectConfig-class.html#collectMode,Variable CedarBackup2.config.CollectDir.collectMode=CedarBackup2.config.CollectDir-class.html#collectMode,Variable CedarBackup2.config.CollectFile.collectMode=CedarBackup2.config.CollectFile-class.html#collectMode,Variable CedarBackup2.extend.mbox.MboxConfig.collectMode=CedarBackup2.extend.mbox.MboxConfig-class.html#collectMode,Variable CedarBackup2.extend.mbox.MboxDir.collectMode=CedarBackup2.extend.mbox.MboxDir-class.html#collectMode,Variable CedarBackup2.extend.mbox.MboxFile.collectMode=CedarBackup2.extend.mbox.MboxFile-class.html#collectMode,Variable CedarBackup2.extend.subversion.Repository.collectMode=CedarBackup2.extend.subversion.Repository-class.html#collectMode,Variable CedarBackup2.extend.subversion.RepositoryDir.collectMode=CedarBackup2.extend.subversion.RepositoryDir-class.html#collectMode,Variable CedarBackup2.extend.subversion.SubversionConfig.collectMode=CedarBackup2.extend.subversion.SubversionConfig-class.html#collectMode"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-278', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt id="link-279" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-279', 'collectMode', 'link-278');">collectMode</a></tt> </tt>
<a name="L1189"></a><tt class="py-lineno">1189</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-280" class="py-name" targets="Variable CedarBackup2.config.CollectConfig.archiveMode=CedarBackup2.config.CollectConfig-class.html#archiveMode,Variable CedarBackup2.config.CollectDir.archiveMode=CedarBackup2.config.CollectDir-class.html#archiveMode,Variable CedarBackup2.config.CollectFile.archiveMode=CedarBackup2.config.CollectFile-class.html#archiveMode"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-280', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt id="link-281" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-281', 'archiveMode', 'link-280');">archiveMode</a></tt> </tt>
</div><a name="L1190"></a><tt class="py-lineno">1190</tt> <tt class="py-line"> </tt>
<a name="CollectFile.__repr__"></a><div id="CollectFile.__repr__-def"><a name="L1191"></a><tt class="py-lineno">1191</tt> <a class="py-toggle" href="#" id="CollectFile.__repr__-toggle" onclick="return toggle('CollectFile.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile.__repr__-expanded"><a name="L1192"></a><tt class="py-lineno">1192</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1193"></a><tt class="py-lineno">1193</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L1194"></a><tt class="py-lineno">1194</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1195"></a><tt class="py-lineno">1195</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"CollectFile(%s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-282" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-282', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-283" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-283', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-284" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-284', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L1196"></a><tt class="py-lineno">1196</tt> <tt class="py-line"> </tt>
<a name="CollectFile.__str__"></a><div id="CollectFile.__str__-def"><a name="L1197"></a><tt class="py-lineno">1197</tt> <a class="py-toggle" href="#" id="CollectFile.__str__-toggle" onclick="return toggle('CollectFile.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile.__str__-expanded"><a name="L1198"></a><tt class="py-lineno">1198</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1199"></a><tt class="py-lineno">1199</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L1200"></a><tt class="py-lineno">1200</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1201"></a><tt class="py-lineno">1201</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-285" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-285', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1202"></a><tt class="py-lineno">1202</tt> <tt class="py-line"> </tt>
<a name="CollectFile.__cmp__"></a><div id="CollectFile.__cmp__-def"><a name="L1203"></a><tt class="py-lineno">1203</tt> <a class="py-toggle" href="#" id="CollectFile.__cmp__-toggle" onclick="return toggle('CollectFile.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile.__cmp__-expanded"><a name="L1204"></a><tt class="py-lineno">1204</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1205"></a><tt class="py-lineno">1205</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L1206"></a><tt class="py-lineno">1206</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L1207"></a><tt class="py-lineno">1207</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L1208"></a><tt class="py-lineno">1208</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1209"></a><tt class="py-lineno">1209</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1210"></a><tt class="py-lineno">1210</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1211"></a><tt class="py-lineno">1211</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-286" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-286', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-287" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-287', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1212"></a><tt class="py-lineno">1212</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-288" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-288', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-289" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-289', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1213"></a><tt class="py-lineno">1213</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1214"></a><tt class="py-lineno">1214</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1215"></a><tt class="py-lineno">1215</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1216"></a><tt class="py-lineno">1216</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-290" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-290', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-291" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-291', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1217"></a><tt class="py-lineno">1217</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-292" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-292', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-293" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-293', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1218"></a><tt class="py-lineno">1218</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1219"></a><tt class="py-lineno">1219</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1220"></a><tt class="py-lineno">1220</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1221"></a><tt class="py-lineno">1221</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-294" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-294', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-295" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-295', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1222"></a><tt class="py-lineno">1222</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-296" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-296', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-297" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-297', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1223"></a><tt class="py-lineno">1223</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1224"></a><tt class="py-lineno">1224</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1225"></a><tt class="py-lineno">1225</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1226"></a><tt class="py-lineno">1226</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L1227"></a><tt class="py-lineno">1227</tt> <tt class="py-line"> </tt>
<a name="CollectFile._setAbsolutePath"></a><div id="CollectFile._setAbsolutePath-def"><a name="L1228"></a><tt class="py-lineno">1228</tt> <a class="py-toggle" href="#" id="CollectFile._setAbsolutePath-toggle" onclick="return toggle('CollectFile._setAbsolutePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#_setAbsolutePath">_setAbsolutePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile._setAbsolutePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile._setAbsolutePath-expanded"><a name="L1229"></a><tt class="py-lineno">1229</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1230"></a><tt class="py-lineno">1230</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the absolute path.</tt> </tt>
<a name="L1231"></a><tt class="py-lineno">1231</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L1232"></a><tt class="py-lineno">1232</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L1233"></a><tt class="py-lineno">1233</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L1234"></a><tt class="py-lineno">1234</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L1235"></a><tt class="py-lineno">1235</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1236"></a><tt class="py-lineno">1236</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1237"></a><tt class="py-lineno">1237</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L1238"></a><tt class="py-lineno">1238</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Not an absolute path: [%s]"</tt> <tt class="py-op">%</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1239"></a><tt class="py-lineno">1239</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> <tt class="py-op">=</tt> <tt id="link-298" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-298', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1240"></a><tt class="py-lineno">1240</tt> <tt class="py-line"> </tt>
<a name="CollectFile._getAbsolutePath"></a><div id="CollectFile._getAbsolutePath-def"><a name="L1241"></a><tt class="py-lineno">1241</tt> <a class="py-toggle" href="#" id="CollectFile._getAbsolutePath-toggle" onclick="return toggle('CollectFile._getAbsolutePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#_getAbsolutePath">_getAbsolutePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile._getAbsolutePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile._getAbsolutePath-expanded"><a name="L1242"></a><tt class="py-lineno">1242</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1243"></a><tt class="py-lineno">1243</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the absolute path.</tt> </tt>
<a name="L1244"></a><tt class="py-lineno">1244</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1245"></a><tt class="py-lineno">1245</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> </tt>
</div><a name="L1246"></a><tt class="py-lineno">1246</tt> <tt class="py-line"> </tt>
<a name="CollectFile._setCollectMode"></a><div id="CollectFile._setCollectMode-def"><a name="L1247"></a><tt class="py-lineno">1247</tt> <a class="py-toggle" href="#" id="CollectFile._setCollectMode-toggle" onclick="return toggle('CollectFile._setCollectMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#_setCollectMode">_setCollectMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile._setCollectMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile._setCollectMode-expanded"><a name="L1248"></a><tt class="py-lineno">1248</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1249"></a><tt class="py-lineno">1249</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the collect mode.</tt> </tt>
<a name="L1250"></a><tt class="py-lineno">1250</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the mode must be one of the values in L{VALID_COLLECT_MODES}.</tt> </tt>
<a name="L1251"></a><tt class="py-lineno">1251</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1252"></a><tt class="py-lineno">1252</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1253"></a><tt class="py-lineno">1253</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1254"></a><tt class="py-lineno">1254</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-299" class="py-name"><a title="CedarBackup2.config.VALID_COLLECT_MODES" class="py-name" href="#" onclick="return doclink('link-299', 'VALID_COLLECT_MODES', 'link-55');">VALID_COLLECT_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1255"></a><tt class="py-lineno">1255</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Collect mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-300" class="py-name"><a title="CedarBackup2.config.VALID_COLLECT_MODES" class="py-name" href="#" onclick="return doclink('link-300', 'VALID_COLLECT_MODES', 'link-55');">VALID_COLLECT_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L1256"></a><tt class="py-lineno">1256</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1257"></a><tt class="py-lineno">1257</tt> <tt class="py-line"> </tt>
<a name="CollectFile._getCollectMode"></a><div id="CollectFile._getCollectMode-def"><a name="L1258"></a><tt class="py-lineno">1258</tt> <a class="py-toggle" href="#" id="CollectFile._getCollectMode-toggle" onclick="return toggle('CollectFile._getCollectMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#_getCollectMode">_getCollectMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile._getCollectMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile._getCollectMode-expanded"><a name="L1259"></a><tt class="py-lineno">1259</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1260"></a><tt class="py-lineno">1260</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the collect mode.</tt> </tt>
<a name="L1261"></a><tt class="py-lineno">1261</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1262"></a><tt class="py-lineno">1262</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> </tt>
</div><a name="L1263"></a><tt class="py-lineno">1263</tt> <tt class="py-line"> </tt>
<a name="CollectFile._setArchiveMode"></a><div id="CollectFile._setArchiveMode-def"><a name="L1264"></a><tt class="py-lineno">1264</tt> <a class="py-toggle" href="#" id="CollectFile._setArchiveMode-toggle" onclick="return toggle('CollectFile._setArchiveMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#_setArchiveMode">_setArchiveMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile._setArchiveMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile._setArchiveMode-expanded"><a name="L1265"></a><tt class="py-lineno">1265</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1266"></a><tt class="py-lineno">1266</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the archive mode.</tt> </tt>
<a name="L1267"></a><tt class="py-lineno">1267</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the mode must be one of the values in L{VALID_ARCHIVE_MODES}.</tt> </tt>
<a name="L1268"></a><tt class="py-lineno">1268</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1269"></a><tt class="py-lineno">1269</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1270"></a><tt class="py-lineno">1270</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1271"></a><tt class="py-lineno">1271</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-301" class="py-name"><a title="CedarBackup2.config.VALID_ARCHIVE_MODES" class="py-name" href="#" onclick="return doclink('link-301', 'VALID_ARCHIVE_MODES', 'link-56');">VALID_ARCHIVE_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1272"></a><tt class="py-lineno">1272</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Archive mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-302" class="py-name"><a title="CedarBackup2.config.VALID_ARCHIVE_MODES" class="py-name" href="#" onclick="return doclink('link-302', 'VALID_ARCHIVE_MODES', 'link-56');">VALID_ARCHIVE_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L1273"></a><tt class="py-lineno">1273</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1274"></a><tt class="py-lineno">1274</tt> <tt class="py-line"> </tt>
<a name="CollectFile._getArchiveMode"></a><div id="CollectFile._getArchiveMode-def"><a name="L1275"></a><tt class="py-lineno">1275</tt> <a class="py-toggle" href="#" id="CollectFile._getArchiveMode-toggle" onclick="return toggle('CollectFile._getArchiveMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectFile-class.html#_getArchiveMode">_getArchiveMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectFile._getArchiveMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectFile._getArchiveMode-expanded"><a name="L1276"></a><tt class="py-lineno">1276</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1277"></a><tt class="py-lineno">1277</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the archive mode.</tt> </tt>
<a name="L1278"></a><tt class="py-lineno">1278</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1279"></a><tt class="py-lineno">1279</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> </tt>
</div><a name="L1280"></a><tt class="py-lineno">1280</tt> <tt class="py-line"> </tt>
<a name="L1281"></a><tt class="py-lineno">1281</tt> <tt class="py-line"> <tt id="link-303" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-303', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-304" class="py-name"><a title="CedarBackup2.config.CollectDir._getAbsolutePath
CedarBackup2.config.CollectFile._getAbsolutePath
CedarBackup2.config.CommandOverride._getAbsolutePath
CedarBackup2.config.PurgeDir._getAbsolutePath
CedarBackup2.extend.mbox.MboxDir._getAbsolutePath
CedarBackup2.extend.mbox.MboxFile._getAbsolutePath" class="py-name" href="#" onclick="return doclink('link-304', '_getAbsolutePath', 'link-274');">_getAbsolutePath</a></tt><tt class="py-op">,</tt> <tt id="link-305" class="py-name"><a title="CedarBackup2.config.CollectDir._setAbsolutePath
CedarBackup2.config.CollectFile._setAbsolutePath
CedarBackup2.config.CommandOverride._setAbsolutePath
CedarBackup2.config.PurgeDir._setAbsolutePath
CedarBackup2.extend.mbox.MboxDir._setAbsolutePath
CedarBackup2.extend.mbox.MboxFile._setAbsolutePath" class="py-name" href="#" onclick="return doclink('link-305', '_setAbsolutePath', 'link-275');">_setAbsolutePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Absolute path of the file to collect."</tt><tt class="py-op">)</tt> </tt>
<a name="L1282"></a><tt class="py-lineno">1282</tt> <tt class="py-line"> <tt id="link-306" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-306', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-307" class="py-name" targets="Function CedarBackup2.actions.collect._getCollectMode()=CedarBackup2.actions.collect-module.html#_getCollectMode,Method CedarBackup2.config.CollectConfig._getCollectMode()=CedarBackup2.config.CollectConfig-class.html#_getCollectMode,Method CedarBackup2.config.CollectDir._getCollectMode()=CedarBackup2.config.CollectDir-class.html#_getCollectMode,Method CedarBackup2.config.CollectFile._getCollectMode()=CedarBackup2.config.CollectFile-class.html#_getCollectMode,Method CedarBackup2.extend.mbox.MboxConfig._getCollectMode()=CedarBackup2.extend.mbox.MboxConfig-class.html#_getCollectMode,Method CedarBackup2.extend.mbox.MboxDir._getCollectMode()=CedarBackup2.extend.mbox.MboxDir-class.html#_getCollectMode,Method CedarBackup2.extend.mbox.MboxFile._getCollectMode()=CedarBackup2.extend.mbox.MboxFile-class.html#_getCollectMode,Function CedarBackup2.extend.mbox._getCollectMode()=CedarBackup2.extend.mbox-module.html#_getCollectMode,Method CedarBackup2.extend.subversion.Repository._getCollectMode()=CedarBackup2.extend.subversion.Repository-class.html#_getCollectMode,Method CedarBackup2.extend.subversion.RepositoryDir._getCollectMode()=CedarBackup2.extend.subversion.RepositoryDir-class.html#_getCollectMode,Method CedarBackup2.extend.subversion.SubversionConfig._getCollectMode()=CedarBackup2.extend.subversion.SubversionConfig-class.html#_getCollectMode,Function CedarBackup2.extend.subversion._getCollectMode()=CedarBackup2.extend.subversion-module.html#_getCollectMode"><a title="CedarBackup2.actions.collect._getCollectMode
CedarBackup2.config.CollectConfig._getCollectMode
CedarBackup2.config.CollectDir._getCollectMode
CedarBackup2.config.CollectFile._getCollectMode
CedarBackup2.extend.mbox.MboxConfig._getCollectMode
CedarBackup2.extend.mbox.MboxDir._getCollectMode
CedarBackup2.extend.mbox.MboxFile._getCollectMode
CedarBackup2.extend.mbox._getCollectMode
CedarBackup2.extend.subversion.Repository._getCollectMode
CedarBackup2.extend.subversion.RepositoryDir._getCollectMode
CedarBackup2.extend.subversion.SubversionConfig._getCollectMode
CedarBackup2.extend.subversion._getCollectMode" class="py-name" href="#" onclick="return doclink('link-307', '_getCollectMode', 'link-307');">_getCollectMode</a></tt><tt class="py-op">,</tt> <tt id="link-308" class="py-name" targets="Method CedarBackup2.config.CollectConfig._setCollectMode()=CedarBackup2.config.CollectConfig-class.html#_setCollectMode,Method CedarBackup2.config.CollectDir._setCollectMode()=CedarBackup2.config.CollectDir-class.html#_setCollectMode,Method CedarBackup2.config.CollectFile._setCollectMode()=CedarBackup2.config.CollectFile-class.html#_setCollectMode,Method CedarBackup2.extend.mbox.MboxConfig._setCollectMode()=CedarBackup2.extend.mbox.MboxConfig-class.html#_setCollectMode,Method CedarBackup2.extend.mbox.MboxDir._setCollectMode()=CedarBackup2.extend.mbox.MboxDir-class.html#_setCollectMode,Method CedarBackup2.extend.mbox.MboxFile._setCollectMode()=CedarBackup2.extend.mbox.MboxFile-class.html#_setCollectMode,Method CedarBackup2.extend.subversion.Repository._setCollectMode()=CedarBackup2.extend.subversion.Repository-class.html#_setCollectMode,Method CedarBackup2.extend.subversion.RepositoryDir._setCollectMode()=CedarBackup2.extend.subversion.RepositoryDir-class.html#_setCollectMode,Method CedarBackup2.extend.subversion.SubversionConfig._setCollectMode()=CedarBackup2.extend.subversion.SubversionConfig-class.html#_setCollectMode"><a title="CedarBackup2.config.CollectConfig._setCollectMode
CedarBackup2.config.CollectDir._setCollectMode
CedarBackup2.config.CollectFile._setCollectMode
CedarBackup2.extend.mbox.MboxConfig._setCollectMode
CedarBackup2.extend.mbox.MboxDir._setCollectMode
CedarBackup2.extend.mbox.MboxFile._setCollectMode
CedarBackup2.extend.subversion.Repository._setCollectMode
CedarBackup2.extend.subversion.RepositoryDir._setCollectMode
CedarBackup2.extend.subversion.SubversionConfig._setCollectMode" class="py-name" href="#" onclick="return doclink('link-308', '_setCollectMode', 'link-308');">_setCollectMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Overridden collect mode for this file."</tt><tt class="py-op">)</tt> </tt>
<a name="L1283"></a><tt class="py-lineno">1283</tt> <tt class="py-line"> <tt id="link-309" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-309', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-310" class="py-name" targets="Function CedarBackup2.actions.collect._getArchiveMode()=CedarBackup2.actions.collect-module.html#_getArchiveMode,Method CedarBackup2.config.CollectConfig._getArchiveMode()=CedarBackup2.config.CollectConfig-class.html#_getArchiveMode,Method CedarBackup2.config.CollectDir._getArchiveMode()=CedarBackup2.config.CollectDir-class.html#_getArchiveMode,Method CedarBackup2.config.CollectFile._getArchiveMode()=CedarBackup2.config.CollectFile-class.html#_getArchiveMode"><a title="CedarBackup2.actions.collect._getArchiveMode
CedarBackup2.config.CollectConfig._getArchiveMode
CedarBackup2.config.CollectDir._getArchiveMode
CedarBackup2.config.CollectFile._getArchiveMode" class="py-name" href="#" onclick="return doclink('link-310', '_getArchiveMode', 'link-310');">_getArchiveMode</a></tt><tt class="py-op">,</tt> <tt id="link-311" class="py-name" targets="Method CedarBackup2.config.CollectConfig._setArchiveMode()=CedarBackup2.config.CollectConfig-class.html#_setArchiveMode,Method CedarBackup2.config.CollectDir._setArchiveMode()=CedarBackup2.config.CollectDir-class.html#_setArchiveMode,Method CedarBackup2.config.CollectFile._setArchiveMode()=CedarBackup2.config.CollectFile-class.html#_setArchiveMode"><a title="CedarBackup2.config.CollectConfig._setArchiveMode
CedarBackup2.config.CollectDir._setArchiveMode
CedarBackup2.config.CollectFile._setArchiveMode" class="py-name" href="#" onclick="return doclink('link-311', '_setArchiveMode', 'link-311');">_setArchiveMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Overridden archive mode for this file."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1284"></a><tt class="py-lineno">1284</tt> <tt class="py-line"> </tt>
<a name="CollectDir"></a><div id="CollectDir-def"><a name="L1285"></a><tt class="py-lineno">1285</tt> <tt class="py-line"> </tt>
<a name="L1286"></a><tt class="py-lineno">1286</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1287"></a><tt class="py-lineno">1287</tt> <tt class="py-line"><tt class="py-comment"># CollectDir class definition</tt> </tt>
<a name="L1288"></a><tt class="py-lineno">1288</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1289"></a><tt class="py-lineno">1289</tt> <tt class="py-line"> </tt>
<a name="L1290"></a><tt class="py-lineno">1290</tt> <a class="py-toggle" href="#" id="CollectDir-toggle" onclick="return toggle('CollectDir');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html">CollectDir</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="CollectDir-expanded"><a name="L1291"></a><tt class="py-lineno">1291</tt> <tt class="py-line"> </tt>
<a name="L1292"></a><tt class="py-lineno">1292</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1293"></a><tt class="py-lineno">1293</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup collect directory.</tt> </tt>
<a name="L1294"></a><tt class="py-lineno">1294</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1295"></a><tt class="py-lineno">1295</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L1296"></a><tt class="py-lineno">1296</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1297"></a><tt class="py-lineno">1297</tt> <tt class="py-line"><tt class="py-docstring"> - Absolute paths must be absolute</tt> </tt>
<a name="L1298"></a><tt class="py-lineno">1298</tt> <tt class="py-line"><tt class="py-docstring"> - The collect mode must be one of the values in L{VALID_COLLECT_MODES}.</tt> </tt>
<a name="L1299"></a><tt class="py-lineno">1299</tt> <tt class="py-line"><tt class="py-docstring"> - The archive mode must be one of the values in L{VALID_ARCHIVE_MODES}.</tt> </tt>
<a name="L1300"></a><tt class="py-lineno">1300</tt> <tt class="py-line"><tt class="py-docstring"> - The ignore file must be a non-empty string.</tt> </tt>
<a name="L1301"></a><tt class="py-lineno">1301</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1302"></a><tt class="py-lineno">1302</tt> <tt class="py-line"><tt class="py-docstring"> For the C{absoluteExcludePaths} list, validation is accomplished through the</tt> </tt>
<a name="L1303"></a><tt class="py-lineno">1303</tt> <tt class="py-line"><tt class="py-docstring"> L{util.AbsolutePathList} list implementation that overrides common list</tt> </tt>
<a name="L1304"></a><tt class="py-lineno">1304</tt> <tt class="py-line"><tt class="py-docstring"> methods and transparently does the absolute path validation for us.</tt> </tt>
<a name="L1305"></a><tt class="py-lineno">1305</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1306"></a><tt class="py-lineno">1306</tt> <tt class="py-line"><tt class="py-docstring"> @note: Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L1307"></a><tt class="py-lineno">1307</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1308"></a><tt class="py-lineno">1308</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, absolutePath, collectMode,</tt> </tt>
<a name="L1309"></a><tt class="py-lineno">1309</tt> <tt class="py-line"><tt class="py-docstring"> archiveMode, ignoreFile, linkDepth, dereference, absoluteExcludePaths, </tt> </tt>
<a name="L1310"></a><tt class="py-lineno">1310</tt> <tt class="py-line"><tt class="py-docstring"> relativeExcludePaths, excludePatterns</tt> </tt>
<a name="L1311"></a><tt class="py-lineno">1311</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1312"></a><tt class="py-lineno">1312</tt> <tt class="py-line"> </tt>
<a name="CollectDir.__init__"></a><div id="CollectDir.__init__-def"><a name="L1313"></a><tt class="py-lineno">1313</tt> <a class="py-toggle" href="#" id="CollectDir.__init__-toggle" onclick="return toggle('CollectDir.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">absolutePath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">collectMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">archiveMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">ignoreFile</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L1314"></a><tt class="py-lineno">1314</tt> <tt class="py-line"> <tt class="py-param">absoluteExcludePaths</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">relativeExcludePaths</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">excludePatterns</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L1315"></a><tt class="py-lineno">1315</tt> <tt class="py-line"> <tt class="py-param">linkDepth</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">dereference</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">recursionLevel</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir.__init__-expanded"><a name="L1316"></a><tt class="py-lineno">1316</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1317"></a><tt class="py-lineno">1317</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{CollectDir} class.</tt> </tt>
<a name="L1318"></a><tt class="py-lineno">1318</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1319"></a><tt class="py-lineno">1319</tt> <tt class="py-line"><tt class="py-docstring"> @param absolutePath: Absolute path of the directory to collect.</tt> </tt>
<a name="L1320"></a><tt class="py-lineno">1320</tt> <tt class="py-line"><tt class="py-docstring"> @param collectMode: Overridden collect mode for this directory.</tt> </tt>
<a name="L1321"></a><tt class="py-lineno">1321</tt> <tt class="py-line"><tt class="py-docstring"> @param archiveMode: Overridden archive mode for this directory.</tt> </tt>
<a name="L1322"></a><tt class="py-lineno">1322</tt> <tt class="py-line"><tt class="py-docstring"> @param ignoreFile: Overidden ignore file name for this directory.</tt> </tt>
<a name="L1323"></a><tt class="py-lineno">1323</tt> <tt class="py-line"><tt class="py-docstring"> @param linkDepth: Maximum at which soft links should be followed.</tt> </tt>
<a name="L1324"></a><tt class="py-lineno">1324</tt> <tt class="py-line"><tt class="py-docstring"> @param dereference: Whether to dereference links that are followed.</tt> </tt>
<a name="L1325"></a><tt class="py-lineno">1325</tt> <tt class="py-line"><tt class="py-docstring"> @param absoluteExcludePaths: List of absolute paths to exclude.</tt> </tt>
<a name="L1326"></a><tt class="py-lineno">1326</tt> <tt class="py-line"><tt class="py-docstring"> @param relativeExcludePaths: List of relative paths to exclude.</tt> </tt>
<a name="L1327"></a><tt class="py-lineno">1327</tt> <tt class="py-line"><tt class="py-docstring"> @param excludePatterns: List of regular expression patterns to exclude.</tt> </tt>
<a name="L1328"></a><tt class="py-lineno">1328</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1329"></a><tt class="py-lineno">1329</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L1330"></a><tt class="py-lineno">1330</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1331"></a><tt class="py-lineno">1331</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1332"></a><tt class="py-lineno">1332</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1333"></a><tt class="py-lineno">1333</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1334"></a><tt class="py-lineno">1334</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFile</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1335"></a><tt class="py-lineno">1335</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_linkDepth</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1336"></a><tt class="py-lineno">1336</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dereference</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1337"></a><tt class="py-lineno">1337</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_recursionLevel</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1338"></a><tt class="py-lineno">1338</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1339"></a><tt class="py-lineno">1339</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_relativeExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1340"></a><tt class="py-lineno">1340</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1341"></a><tt class="py-lineno">1341</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-312" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-312', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt id="link-313" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-313', 'absolutePath', 'link-256');">absolutePath</a></tt> </tt>
<a name="L1342"></a><tt class="py-lineno">1342</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-314" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-314', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt id="link-315" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-315', 'collectMode', 'link-278');">collectMode</a></tt> </tt>
<a name="L1343"></a><tt class="py-lineno">1343</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-316" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-316', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt id="link-317" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-317', 'archiveMode', 'link-280');">archiveMode</a></tt> </tt>
<a name="L1344"></a><tt class="py-lineno">1344</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-318" class="py-name" targets="Variable CedarBackup2.config.CollectConfig.ignoreFile=CedarBackup2.config.CollectConfig-class.html#ignoreFile,Variable CedarBackup2.config.CollectDir.ignoreFile=CedarBackup2.config.CollectDir-class.html#ignoreFile,Variable CedarBackup2.filesystem.FilesystemList.ignoreFile=CedarBackup2.filesystem.FilesystemList-class.html#ignoreFile"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-318', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op">=</tt> <tt id="link-319" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-319', 'ignoreFile', 'link-318');">ignoreFile</a></tt> </tt>
<a name="L1345"></a><tt class="py-lineno">1345</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-320" class="py-name" targets="Variable CedarBackup2.config.CollectDir.linkDepth=CedarBackup2.config.CollectDir-class.html#linkDepth"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-320', 'linkDepth', 'link-320');">linkDepth</a></tt> <tt class="py-op">=</tt> <tt id="link-321" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-321', 'linkDepth', 'link-320');">linkDepth</a></tt> </tt>
<a name="L1346"></a><tt class="py-lineno">1346</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-322" class="py-name" targets="Variable CedarBackup2.config.CollectDir.dereference=CedarBackup2.config.CollectDir-class.html#dereference"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-322', 'dereference', 'link-322');">dereference</a></tt> <tt class="py-op">=</tt> <tt id="link-323" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-323', 'dereference', 'link-322');">dereference</a></tt> </tt>
<a name="L1347"></a><tt class="py-lineno">1347</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-324" class="py-name" targets="Variable CedarBackup2.config.CollectDir.recursionLevel=CedarBackup2.config.CollectDir-class.html#recursionLevel"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-324', 'recursionLevel', 'link-324');">recursionLevel</a></tt> <tt class="py-op">=</tt> <tt id="link-325" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-325', 'recursionLevel', 'link-324');">recursionLevel</a></tt> </tt>
<a name="L1348"></a><tt class="py-lineno">1348</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-326" class="py-name" targets="Variable CedarBackup2.config.CollectConfig.absoluteExcludePaths=CedarBackup2.config.CollectConfig-class.html#absoluteExcludePaths,Variable CedarBackup2.config.CollectDir.absoluteExcludePaths=CedarBackup2.config.CollectDir-class.html#absoluteExcludePaths"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-326', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op">=</tt> <tt id="link-327" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-327', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> </tt>
<a name="L1349"></a><tt class="py-lineno">1349</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-328" class="py-name" targets="Variable CedarBackup2.config.CollectDir.relativeExcludePaths=CedarBackup2.config.CollectDir-class.html#relativeExcludePaths,Variable CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths=CedarBackup2.extend.mbox.MboxDir-class.html#relativeExcludePaths,Variable CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths=CedarBackup2.extend.subversion.RepositoryDir-class.html#relativeExcludePaths"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-328', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt> <tt class="py-op">=</tt> <tt id="link-329" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-329', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt> </tt>
<a name="L1350"></a><tt class="py-lineno">1350</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-330" class="py-name" targets="Variable CedarBackup2.config.CollectConfig.excludePatterns=CedarBackup2.config.CollectConfig-class.html#excludePatterns,Variable CedarBackup2.config.CollectDir.excludePatterns=CedarBackup2.config.CollectDir-class.html#excludePatterns,Variable CedarBackup2.extend.mbox.MboxDir.excludePatterns=CedarBackup2.extend.mbox.MboxDir-class.html#excludePatterns,Variable CedarBackup2.extend.subversion.RepositoryDir.excludePatterns=CedarBackup2.extend.subversion.RepositoryDir-class.html#excludePatterns,Variable CedarBackup2.filesystem.FilesystemList.excludePatterns=CedarBackup2.filesystem.FilesystemList-class.html#excludePatterns"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-330', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op">=</tt> <tt id="link-331" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-331', 'excludePatterns', 'link-330');">excludePatterns</a></tt> </tt>
</div><a name="L1351"></a><tt class="py-lineno">1351</tt> <tt class="py-line"> </tt>
<a name="CollectDir.__repr__"></a><div id="CollectDir.__repr__-def"><a name="L1352"></a><tt class="py-lineno">1352</tt> <a class="py-toggle" href="#" id="CollectDir.__repr__-toggle" onclick="return toggle('CollectDir.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir.__repr__-expanded"><a name="L1353"></a><tt class="py-lineno">1353</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1354"></a><tt class="py-lineno">1354</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L1355"></a><tt class="py-lineno">1355</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1356"></a><tt class="py-lineno">1356</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"CollectDir(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-332" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-332', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-333" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-333', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">,</tt> </tt>
<a name="L1357"></a><tt class="py-lineno">1357</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-334" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-334', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-335" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-335', 'ignoreFile', 'link-318');">ignoreFile</a></tt><tt class="py-op">,</tt> </tt>
<a name="L1358"></a><tt class="py-lineno">1358</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-336" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-336', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">,</tt> </tt>
<a name="L1359"></a><tt class="py-lineno">1359</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-337" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-337', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt><tt class="py-op">,</tt> </tt>
<a name="L1360"></a><tt class="py-lineno">1360</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-338" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-338', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">,</tt> </tt>
<a name="L1361"></a><tt class="py-lineno">1361</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-339" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-339', 'linkDepth', 'link-320');">linkDepth</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-340" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-340', 'dereference', 'link-322');">dereference</a></tt><tt class="py-op">,</tt> </tt>
<a name="L1362"></a><tt class="py-lineno">1362</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-341" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-341', 'recursionLevel', 'link-324');">recursionLevel</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L1363"></a><tt class="py-lineno">1363</tt> <tt class="py-line"> </tt>
<a name="CollectDir.__str__"></a><div id="CollectDir.__str__-def"><a name="L1364"></a><tt class="py-lineno">1364</tt> <a class="py-toggle" href="#" id="CollectDir.__str__-toggle" onclick="return toggle('CollectDir.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir.__str__-expanded"><a name="L1365"></a><tt class="py-lineno">1365</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1366"></a><tt class="py-lineno">1366</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L1367"></a><tt class="py-lineno">1367</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1368"></a><tt class="py-lineno">1368</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-342" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-342', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1369"></a><tt class="py-lineno">1369</tt> <tt class="py-line"> </tt>
<a name="CollectDir.__cmp__"></a><div id="CollectDir.__cmp__-def"><a name="L1370"></a><tt class="py-lineno">1370</tt> <a class="py-toggle" href="#" id="CollectDir.__cmp__-toggle" onclick="return toggle('CollectDir.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir.__cmp__-expanded"><a name="L1371"></a><tt class="py-lineno">1371</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1372"></a><tt class="py-lineno">1372</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L1373"></a><tt class="py-lineno">1373</tt> <tt class="py-line"><tt class="py-docstring"> Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L1374"></a><tt class="py-lineno">1374</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L1375"></a><tt class="py-lineno">1375</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L1376"></a><tt class="py-lineno">1376</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1377"></a><tt class="py-lineno">1377</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1378"></a><tt class="py-lineno">1378</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1379"></a><tt class="py-lineno">1379</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-343" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-343', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-344" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-344', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1380"></a><tt class="py-lineno">1380</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-345" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-345', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-346" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-346', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1381"></a><tt class="py-lineno">1381</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1382"></a><tt class="py-lineno">1382</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1383"></a><tt class="py-lineno">1383</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1384"></a><tt class="py-lineno">1384</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-347" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-347', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-348" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-348', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1385"></a><tt class="py-lineno">1385</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-349" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-349', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-350" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-350', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1386"></a><tt class="py-lineno">1386</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1387"></a><tt class="py-lineno">1387</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1388"></a><tt class="py-lineno">1388</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1389"></a><tt class="py-lineno">1389</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-351" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-351', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-352" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-352', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1390"></a><tt class="py-lineno">1390</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-353" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-353', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-354" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-354', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1391"></a><tt class="py-lineno">1391</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1392"></a><tt class="py-lineno">1392</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1393"></a><tt class="py-lineno">1393</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1394"></a><tt class="py-lineno">1394</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-355" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-355', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-356" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-356', 'ignoreFile', 'link-318');">ignoreFile</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1395"></a><tt class="py-lineno">1395</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-357" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-357', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-358" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-358', 'ignoreFile', 'link-318');">ignoreFile</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1396"></a><tt class="py-lineno">1396</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1397"></a><tt class="py-lineno">1397</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1398"></a><tt class="py-lineno">1398</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1399"></a><tt class="py-lineno">1399</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-359" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-359', 'linkDepth', 'link-320');">linkDepth</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-360" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-360', 'linkDepth', 'link-320');">linkDepth</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1400"></a><tt class="py-lineno">1400</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-361" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-361', 'linkDepth', 'link-320');">linkDepth</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-362" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-362', 'linkDepth', 'link-320');">linkDepth</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1401"></a><tt class="py-lineno">1401</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1402"></a><tt class="py-lineno">1402</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1403"></a><tt class="py-lineno">1403</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1404"></a><tt class="py-lineno">1404</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-363" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-363', 'dereference', 'link-322');">dereference</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-364" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-364', 'dereference', 'link-322');">dereference</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1405"></a><tt class="py-lineno">1405</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-365" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-365', 'dereference', 'link-322');">dereference</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-366" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-366', 'dereference', 'link-322');">dereference</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1406"></a><tt class="py-lineno">1406</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1407"></a><tt class="py-lineno">1407</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1408"></a><tt class="py-lineno">1408</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1409"></a><tt class="py-lineno">1409</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-367" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-367', 'recursionLevel', 'link-324');">recursionLevel</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-368" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-368', 'recursionLevel', 'link-324');">recursionLevel</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1410"></a><tt class="py-lineno">1410</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-369" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-369', 'recursionLevel', 'link-324');">recursionLevel</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-370" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-370', 'recursionLevel', 'link-324');">recursionLevel</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1411"></a><tt class="py-lineno">1411</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1412"></a><tt class="py-lineno">1412</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1413"></a><tt class="py-lineno">1413</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1414"></a><tt class="py-lineno">1414</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-371" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-371', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-372" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-372', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1415"></a><tt class="py-lineno">1415</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-373" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-373', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-374" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-374', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1416"></a><tt class="py-lineno">1416</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1417"></a><tt class="py-lineno">1417</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1418"></a><tt class="py-lineno">1418</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1419"></a><tt class="py-lineno">1419</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-375" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-375', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-376" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-376', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1420"></a><tt class="py-lineno">1420</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-377" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-377', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-378" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-378', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1421"></a><tt class="py-lineno">1421</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1422"></a><tt class="py-lineno">1422</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1423"></a><tt class="py-lineno">1423</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1424"></a><tt class="py-lineno">1424</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-379" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-379', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-380" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-380', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1425"></a><tt class="py-lineno">1425</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-381" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-381', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-382" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-382', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1426"></a><tt class="py-lineno">1426</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1427"></a><tt class="py-lineno">1427</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1428"></a><tt class="py-lineno">1428</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1429"></a><tt class="py-lineno">1429</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L1430"></a><tt class="py-lineno">1430</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setAbsolutePath"></a><div id="CollectDir._setAbsolutePath-def"><a name="L1431"></a><tt class="py-lineno">1431</tt> <a class="py-toggle" href="#" id="CollectDir._setAbsolutePath-toggle" onclick="return toggle('CollectDir._setAbsolutePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setAbsolutePath">_setAbsolutePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setAbsolutePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setAbsolutePath-expanded"><a name="L1432"></a><tt class="py-lineno">1432</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1433"></a><tt class="py-lineno">1433</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the absolute path.</tt> </tt>
<a name="L1434"></a><tt class="py-lineno">1434</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L1435"></a><tt class="py-lineno">1435</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L1436"></a><tt class="py-lineno">1436</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L1437"></a><tt class="py-lineno">1437</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L1438"></a><tt class="py-lineno">1438</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1439"></a><tt class="py-lineno">1439</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1440"></a><tt class="py-lineno">1440</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L1441"></a><tt class="py-lineno">1441</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Not an absolute path: [%s]"</tt> <tt class="py-op">%</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1442"></a><tt class="py-lineno">1442</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> <tt class="py-op">=</tt> <tt id="link-383" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-383', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1443"></a><tt class="py-lineno">1443</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getAbsolutePath"></a><div id="CollectDir._getAbsolutePath-def"><a name="L1444"></a><tt class="py-lineno">1444</tt> <a class="py-toggle" href="#" id="CollectDir._getAbsolutePath-toggle" onclick="return toggle('CollectDir._getAbsolutePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getAbsolutePath">_getAbsolutePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getAbsolutePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getAbsolutePath-expanded"><a name="L1445"></a><tt class="py-lineno">1445</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1446"></a><tt class="py-lineno">1446</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the absolute path.</tt> </tt>
<a name="L1447"></a><tt class="py-lineno">1447</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1448"></a><tt class="py-lineno">1448</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> </tt>
</div><a name="L1449"></a><tt class="py-lineno">1449</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setCollectMode"></a><div id="CollectDir._setCollectMode-def"><a name="L1450"></a><tt class="py-lineno">1450</tt> <a class="py-toggle" href="#" id="CollectDir._setCollectMode-toggle" onclick="return toggle('CollectDir._setCollectMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setCollectMode">_setCollectMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setCollectMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setCollectMode-expanded"><a name="L1451"></a><tt class="py-lineno">1451</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1452"></a><tt class="py-lineno">1452</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the collect mode.</tt> </tt>
<a name="L1453"></a><tt class="py-lineno">1453</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the mode must be one of the values in L{VALID_COLLECT_MODES}.</tt> </tt>
<a name="L1454"></a><tt class="py-lineno">1454</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1455"></a><tt class="py-lineno">1455</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1456"></a><tt class="py-lineno">1456</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1457"></a><tt class="py-lineno">1457</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-384" class="py-name"><a title="CedarBackup2.config.VALID_COLLECT_MODES" class="py-name" href="#" onclick="return doclink('link-384', 'VALID_COLLECT_MODES', 'link-55');">VALID_COLLECT_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1458"></a><tt class="py-lineno">1458</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Collect mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-385" class="py-name"><a title="CedarBackup2.config.VALID_COLLECT_MODES" class="py-name" href="#" onclick="return doclink('link-385', 'VALID_COLLECT_MODES', 'link-55');">VALID_COLLECT_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L1459"></a><tt class="py-lineno">1459</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1460"></a><tt class="py-lineno">1460</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getCollectMode"></a><div id="CollectDir._getCollectMode-def"><a name="L1461"></a><tt class="py-lineno">1461</tt> <a class="py-toggle" href="#" id="CollectDir._getCollectMode-toggle" onclick="return toggle('CollectDir._getCollectMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getCollectMode">_getCollectMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getCollectMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getCollectMode-expanded"><a name="L1462"></a><tt class="py-lineno">1462</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1463"></a><tt class="py-lineno">1463</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the collect mode.</tt> </tt>
<a name="L1464"></a><tt class="py-lineno">1464</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1465"></a><tt class="py-lineno">1465</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> </tt>
</div><a name="L1466"></a><tt class="py-lineno">1466</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setArchiveMode"></a><div id="CollectDir._setArchiveMode-def"><a name="L1467"></a><tt class="py-lineno">1467</tt> <a class="py-toggle" href="#" id="CollectDir._setArchiveMode-toggle" onclick="return toggle('CollectDir._setArchiveMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setArchiveMode">_setArchiveMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setArchiveMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setArchiveMode-expanded"><a name="L1468"></a><tt class="py-lineno">1468</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1469"></a><tt class="py-lineno">1469</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the archive mode.</tt> </tt>
<a name="L1470"></a><tt class="py-lineno">1470</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the mode must be one of the values in L{VALID_ARCHIVE_MODES}.</tt> </tt>
<a name="L1471"></a><tt class="py-lineno">1471</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1472"></a><tt class="py-lineno">1472</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1473"></a><tt class="py-lineno">1473</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1474"></a><tt class="py-lineno">1474</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-386" class="py-name"><a title="CedarBackup2.config.VALID_ARCHIVE_MODES" class="py-name" href="#" onclick="return doclink('link-386', 'VALID_ARCHIVE_MODES', 'link-56');">VALID_ARCHIVE_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1475"></a><tt class="py-lineno">1475</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Archive mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-387" class="py-name"><a title="CedarBackup2.config.VALID_ARCHIVE_MODES" class="py-name" href="#" onclick="return doclink('link-387', 'VALID_ARCHIVE_MODES', 'link-56');">VALID_ARCHIVE_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L1476"></a><tt class="py-lineno">1476</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1477"></a><tt class="py-lineno">1477</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getArchiveMode"></a><div id="CollectDir._getArchiveMode-def"><a name="L1478"></a><tt class="py-lineno">1478</tt> <a class="py-toggle" href="#" id="CollectDir._getArchiveMode-toggle" onclick="return toggle('CollectDir._getArchiveMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getArchiveMode">_getArchiveMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getArchiveMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getArchiveMode-expanded"><a name="L1479"></a><tt class="py-lineno">1479</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1480"></a><tt class="py-lineno">1480</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the archive mode.</tt> </tt>
<a name="L1481"></a><tt class="py-lineno">1481</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1482"></a><tt class="py-lineno">1482</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> </tt>
</div><a name="L1483"></a><tt class="py-lineno">1483</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setIgnoreFile"></a><div id="CollectDir._setIgnoreFile-def"><a name="L1484"></a><tt class="py-lineno">1484</tt> <a class="py-toggle" href="#" id="CollectDir._setIgnoreFile-toggle" onclick="return toggle('CollectDir._setIgnoreFile');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setIgnoreFile">_setIgnoreFile</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setIgnoreFile-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setIgnoreFile-expanded"><a name="L1485"></a><tt class="py-lineno">1485</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1486"></a><tt class="py-lineno">1486</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the ignore file.</tt> </tt>
<a name="L1487"></a><tt class="py-lineno">1487</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L1488"></a><tt class="py-lineno">1488</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L1489"></a><tt class="py-lineno">1489</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1490"></a><tt class="py-lineno">1490</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1491"></a><tt class="py-lineno">1491</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L1492"></a><tt class="py-lineno">1492</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The ignore file must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L1493"></a><tt class="py-lineno">1493</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFile</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1494"></a><tt class="py-lineno">1494</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getIgnoreFile"></a><div id="CollectDir._getIgnoreFile-def"><a name="L1495"></a><tt class="py-lineno">1495</tt> <a class="py-toggle" href="#" id="CollectDir._getIgnoreFile-toggle" onclick="return toggle('CollectDir._getIgnoreFile');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getIgnoreFile">_getIgnoreFile</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getIgnoreFile-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getIgnoreFile-expanded"><a name="L1496"></a><tt class="py-lineno">1496</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1497"></a><tt class="py-lineno">1497</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the ignore file.</tt> </tt>
<a name="L1498"></a><tt class="py-lineno">1498</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1499"></a><tt class="py-lineno">1499</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFile</tt> </tt>
</div><a name="L1500"></a><tt class="py-lineno">1500</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setLinkDepth"></a><div id="CollectDir._setLinkDepth-def"><a name="L1501"></a><tt class="py-lineno">1501</tt> <a class="py-toggle" href="#" id="CollectDir._setLinkDepth-toggle" onclick="return toggle('CollectDir._setLinkDepth');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setLinkDepth">_setLinkDepth</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setLinkDepth-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setLinkDepth-expanded"><a name="L1502"></a><tt class="py-lineno">1502</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1503"></a><tt class="py-lineno">1503</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the link depth.</tt> </tt>
<a name="L1504"></a><tt class="py-lineno">1504</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an integer >= 0.</tt> </tt>
<a name="L1505"></a><tt class="py-lineno">1505</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1506"></a><tt class="py-lineno">1506</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1507"></a><tt class="py-lineno">1507</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1508"></a><tt class="py-lineno">1508</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_linkDepth</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1509"></a><tt class="py-lineno">1509</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1510"></a><tt class="py-lineno">1510</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L1511"></a><tt class="py-lineno">1511</tt> <tt class="py-line"> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1512"></a><tt class="py-lineno">1512</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">TypeError</tt><tt class="py-op">:</tt> </tt>
<a name="L1513"></a><tt class="py-lineno">1513</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Link depth value must be an integer >= 0."</tt><tt class="py-op">)</tt> </tt>
<a name="L1514"></a><tt class="py-lineno">1514</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-op"><</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L1515"></a><tt class="py-lineno">1515</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Link depth value must be an integer >= 0."</tt><tt class="py-op">)</tt> </tt>
<a name="L1516"></a><tt class="py-lineno">1516</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_linkDepth</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1517"></a><tt class="py-lineno">1517</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getLinkDepth"></a><div id="CollectDir._getLinkDepth-def"><a name="L1518"></a><tt class="py-lineno">1518</tt> <a class="py-toggle" href="#" id="CollectDir._getLinkDepth-toggle" onclick="return toggle('CollectDir._getLinkDepth');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getLinkDepth">_getLinkDepth</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getLinkDepth-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getLinkDepth-expanded"><a name="L1519"></a><tt class="py-lineno">1519</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1520"></a><tt class="py-lineno">1520</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the action linkDepth.</tt> </tt>
<a name="L1521"></a><tt class="py-lineno">1521</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1522"></a><tt class="py-lineno">1522</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_linkDepth</tt> </tt>
</div><a name="L1523"></a><tt class="py-lineno">1523</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setDereference"></a><div id="CollectDir._setDereference-def"><a name="L1524"></a><tt class="py-lineno">1524</tt> <a class="py-toggle" href="#" id="CollectDir._setDereference-toggle" onclick="return toggle('CollectDir._setDereference');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setDereference">_setDereference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setDereference-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setDereference-expanded"><a name="L1525"></a><tt class="py-lineno">1525</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1526"></a><tt class="py-lineno">1526</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the dereference flag.</tt> </tt>
<a name="L1527"></a><tt class="py-lineno">1527</tt> <tt class="py-line"><tt class="py-docstring"> No validations, but we normalize the value to C{True} or C{False}.</tt> </tt>
<a name="L1528"></a><tt class="py-lineno">1528</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1529"></a><tt class="py-lineno">1529</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt><tt class="py-op">:</tt> </tt>
<a name="L1530"></a><tt class="py-lineno">1530</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dereference</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L1531"></a><tt class="py-lineno">1531</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1532"></a><tt class="py-lineno">1532</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dereference</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L1533"></a><tt class="py-lineno">1533</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getDereference"></a><div id="CollectDir._getDereference-def"><a name="L1534"></a><tt class="py-lineno">1534</tt> <a class="py-toggle" href="#" id="CollectDir._getDereference-toggle" onclick="return toggle('CollectDir._getDereference');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getDereference">_getDereference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getDereference-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getDereference-expanded"><a name="L1535"></a><tt class="py-lineno">1535</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1536"></a><tt class="py-lineno">1536</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the dereference flag.</tt> </tt>
<a name="L1537"></a><tt class="py-lineno">1537</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1538"></a><tt class="py-lineno">1538</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dereference</tt> </tt>
</div><a name="L1539"></a><tt class="py-lineno">1539</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setRecursionLevel"></a><div id="CollectDir._setRecursionLevel-def"><a name="L1540"></a><tt class="py-lineno">1540</tt> <a class="py-toggle" href="#" id="CollectDir._setRecursionLevel-toggle" onclick="return toggle('CollectDir._setRecursionLevel');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setRecursionLevel">_setRecursionLevel</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setRecursionLevel-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setRecursionLevel-expanded"><a name="L1541"></a><tt class="py-lineno">1541</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1542"></a><tt class="py-lineno">1542</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the recursionLevel.</tt> </tt>
<a name="L1543"></a><tt class="py-lineno">1543</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an integer.</tt> </tt>
<a name="L1544"></a><tt class="py-lineno">1544</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1545"></a><tt class="py-lineno">1545</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1546"></a><tt class="py-lineno">1546</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1547"></a><tt class="py-lineno">1547</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_recursionLevel</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1548"></a><tt class="py-lineno">1548</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1549"></a><tt class="py-lineno">1549</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L1550"></a><tt class="py-lineno">1550</tt> <tt class="py-line"> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1551"></a><tt class="py-lineno">1551</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">TypeError</tt><tt class="py-op">:</tt> </tt>
<a name="L1552"></a><tt class="py-lineno">1552</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Recusion level value must be an integer."</tt><tt class="py-op">)</tt> </tt>
<a name="L1553"></a><tt class="py-lineno">1553</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_recursionLevel</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1554"></a><tt class="py-lineno">1554</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getRecursionLevel"></a><div id="CollectDir._getRecursionLevel-def"><a name="L1555"></a><tt class="py-lineno">1555</tt> <a class="py-toggle" href="#" id="CollectDir._getRecursionLevel-toggle" onclick="return toggle('CollectDir._getRecursionLevel');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getRecursionLevel">_getRecursionLevel</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getRecursionLevel-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getRecursionLevel-expanded"><a name="L1556"></a><tt class="py-lineno">1556</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1557"></a><tt class="py-lineno">1557</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the action recursionLevel.</tt> </tt>
<a name="L1558"></a><tt class="py-lineno">1558</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1559"></a><tt class="py-lineno">1559</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_recursionLevel</tt> </tt>
</div><a name="L1560"></a><tt class="py-lineno">1560</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setAbsoluteExcludePaths"></a><div id="CollectDir._setAbsoluteExcludePaths-def"><a name="L1561"></a><tt class="py-lineno">1561</tt> <a class="py-toggle" href="#" id="CollectDir._setAbsoluteExcludePaths-toggle" onclick="return toggle('CollectDir._setAbsoluteExcludePaths');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setAbsoluteExcludePaths">_setAbsoluteExcludePaths</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setAbsoluteExcludePaths-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setAbsoluteExcludePaths-expanded"><a name="L1562"></a><tt class="py-lineno">1562</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1563"></a><tt class="py-lineno">1563</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the absolute exclude paths list.</tt> </tt>
<a name="L1564"></a><tt class="py-lineno">1564</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be an absolute path.</tt> </tt>
<a name="L1565"></a><tt class="py-lineno">1565</tt> <tt class="py-line"><tt class="py-docstring"> Elements do not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L1566"></a><tt class="py-lineno">1566</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L1567"></a><tt class="py-lineno">1567</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1568"></a><tt class="py-lineno">1568</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1569"></a><tt class="py-lineno">1569</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1570"></a><tt class="py-lineno">1570</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1571"></a><tt class="py-lineno">1571</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L1572"></a><tt class="py-lineno">1572</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> </tt>
<a name="L1573"></a><tt class="py-lineno">1573</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> <tt class="py-op">=</tt> <tt id="link-388" class="py-name"><a title="CedarBackup2.util.AbsolutePathList" class="py-name" href="#" onclick="return doclink('link-388', 'AbsolutePathList', 'link-8');">AbsolutePathList</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L1574"></a><tt class="py-lineno">1574</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt><tt class="py-op">.</tt><tt id="link-389" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-389', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1575"></a><tt class="py-lineno">1575</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L1576"></a><tt class="py-lineno">1576</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L1577"></a><tt class="py-lineno">1577</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L1578"></a><tt class="py-lineno">1578</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getAbsoluteExcludePaths"></a><div id="CollectDir._getAbsoluteExcludePaths-def"><a name="L1579"></a><tt class="py-lineno">1579</tt> <a class="py-toggle" href="#" id="CollectDir._getAbsoluteExcludePaths-toggle" onclick="return toggle('CollectDir._getAbsoluteExcludePaths');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getAbsoluteExcludePaths">_getAbsoluteExcludePaths</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getAbsoluteExcludePaths-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getAbsoluteExcludePaths-expanded"><a name="L1580"></a><tt class="py-lineno">1580</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1581"></a><tt class="py-lineno">1581</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the absolute exclude paths list.</tt> </tt>
<a name="L1582"></a><tt class="py-lineno">1582</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1583"></a><tt class="py-lineno">1583</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> </tt>
</div><a name="L1584"></a><tt class="py-lineno">1584</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setRelativeExcludePaths"></a><div id="CollectDir._setRelativeExcludePaths-def"><a name="L1585"></a><tt class="py-lineno">1585</tt> <a class="py-toggle" href="#" id="CollectDir._setRelativeExcludePaths-toggle" onclick="return toggle('CollectDir._setRelativeExcludePaths');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setRelativeExcludePaths">_setRelativeExcludePaths</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setRelativeExcludePaths-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setRelativeExcludePaths-expanded"><a name="L1586"></a><tt class="py-lineno">1586</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1587"></a><tt class="py-lineno">1587</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the relative exclude paths list.</tt> </tt>
<a name="L1588"></a><tt class="py-lineno">1588</tt> <tt class="py-line"><tt class="py-docstring"> Elements do not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L1589"></a><tt class="py-lineno">1589</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1590"></a><tt class="py-lineno">1590</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1591"></a><tt class="py-lineno">1591</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_relativeExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1592"></a><tt class="py-lineno">1592</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1593"></a><tt class="py-lineno">1593</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L1594"></a><tt class="py-lineno">1594</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_relativeExcludePaths</tt> </tt>
<a name="L1595"></a><tt class="py-lineno">1595</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_relativeExcludePaths</tt> <tt class="py-op">=</tt> <tt id="link-390" class="py-name"><a title="CedarBackup2.util.UnorderedList" class="py-name" href="#" onclick="return doclink('link-390', 'UnorderedList', 'link-7');">UnorderedList</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L1596"></a><tt class="py-lineno">1596</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_relativeExcludePaths</tt><tt class="py-op">.</tt><tt id="link-391" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-391', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1597"></a><tt class="py-lineno">1597</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L1598"></a><tt class="py-lineno">1598</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_relativeExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L1599"></a><tt class="py-lineno">1599</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L1600"></a><tt class="py-lineno">1600</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getRelativeExcludePaths"></a><div id="CollectDir._getRelativeExcludePaths-def"><a name="L1601"></a><tt class="py-lineno">1601</tt> <a class="py-toggle" href="#" id="CollectDir._getRelativeExcludePaths-toggle" onclick="return toggle('CollectDir._getRelativeExcludePaths');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getRelativeExcludePaths">_getRelativeExcludePaths</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getRelativeExcludePaths-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getRelativeExcludePaths-expanded"><a name="L1602"></a><tt class="py-lineno">1602</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1603"></a><tt class="py-lineno">1603</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the relative exclude paths list.</tt> </tt>
<a name="L1604"></a><tt class="py-lineno">1604</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1605"></a><tt class="py-lineno">1605</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_relativeExcludePaths</tt> </tt>
</div><a name="L1606"></a><tt class="py-lineno">1606</tt> <tt class="py-line"> </tt>
<a name="CollectDir._setExcludePatterns"></a><div id="CollectDir._setExcludePatterns-def"><a name="L1607"></a><tt class="py-lineno">1607</tt> <a class="py-toggle" href="#" id="CollectDir._setExcludePatterns-toggle" onclick="return toggle('CollectDir._setExcludePatterns');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_setExcludePatterns">_setExcludePatterns</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._setExcludePatterns-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._setExcludePatterns-expanded"><a name="L1608"></a><tt class="py-lineno">1608</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1609"></a><tt class="py-lineno">1609</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the exclude patterns list.</tt> </tt>
<a name="L1610"></a><tt class="py-lineno">1610</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1611"></a><tt class="py-lineno">1611</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1612"></a><tt class="py-lineno">1612</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1613"></a><tt class="py-lineno">1613</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1614"></a><tt class="py-lineno">1614</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L1615"></a><tt class="py-lineno">1615</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> </tt>
<a name="L1616"></a><tt class="py-lineno">1616</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> <tt class="py-op">=</tt> <tt id="link-392" class="py-name"><a title="CedarBackup2.util.RegexList" class="py-name" href="#" onclick="return doclink('link-392', 'RegexList', 'link-14');">RegexList</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L1617"></a><tt class="py-lineno">1617</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt><tt class="py-op">.</tt><tt id="link-393" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-393', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1618"></a><tt class="py-lineno">1618</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L1619"></a><tt class="py-lineno">1619</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L1620"></a><tt class="py-lineno">1620</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L1621"></a><tt class="py-lineno">1621</tt> <tt class="py-line"> </tt>
<a name="CollectDir._getExcludePatterns"></a><div id="CollectDir._getExcludePatterns-def"><a name="L1622"></a><tt class="py-lineno">1622</tt> <a class="py-toggle" href="#" id="CollectDir._getExcludePatterns-toggle" onclick="return toggle('CollectDir._getExcludePatterns');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectDir-class.html#_getExcludePatterns">_getExcludePatterns</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectDir._getExcludePatterns-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectDir._getExcludePatterns-expanded"><a name="L1623"></a><tt class="py-lineno">1623</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1624"></a><tt class="py-lineno">1624</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the exclude patterns list.</tt> </tt>
<a name="L1625"></a><tt class="py-lineno">1625</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1626"></a><tt class="py-lineno">1626</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> </tt>
</div><a name="L1627"></a><tt class="py-lineno">1627</tt> <tt class="py-line"> </tt>
<a name="L1628"></a><tt class="py-lineno">1628</tt> <tt class="py-line"> <tt id="link-394" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-394', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-395" class="py-name"><a title="CedarBackup2.config.CollectDir._getAbsolutePath
CedarBackup2.config.CollectFile._getAbsolutePath
CedarBackup2.config.CommandOverride._getAbsolutePath
CedarBackup2.config.PurgeDir._getAbsolutePath
CedarBackup2.extend.mbox.MboxDir._getAbsolutePath
CedarBackup2.extend.mbox.MboxFile._getAbsolutePath" class="py-name" href="#" onclick="return doclink('link-395', '_getAbsolutePath', 'link-274');">_getAbsolutePath</a></tt><tt class="py-op">,</tt> <tt id="link-396" class="py-name"><a title="CedarBackup2.config.CollectDir._setAbsolutePath
CedarBackup2.config.CollectFile._setAbsolutePath
CedarBackup2.config.CommandOverride._setAbsolutePath
CedarBackup2.config.PurgeDir._setAbsolutePath
CedarBackup2.extend.mbox.MboxDir._setAbsolutePath
CedarBackup2.extend.mbox.MboxFile._setAbsolutePath" class="py-name" href="#" onclick="return doclink('link-396', '_setAbsolutePath', 'link-275');">_setAbsolutePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Absolute path of the directory to collect."</tt><tt class="py-op">)</tt> </tt>
<a name="L1629"></a><tt class="py-lineno">1629</tt> <tt class="py-line"> <tt id="link-397" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-397', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-398" class="py-name"><a title="CedarBackup2.actions.collect._getCollectMode
CedarBackup2.config.CollectConfig._getCollectMode
CedarBackup2.config.CollectDir._getCollectMode
CedarBackup2.config.CollectFile._getCollectMode
CedarBackup2.extend.mbox.MboxConfig._getCollectMode
CedarBackup2.extend.mbox.MboxDir._getCollectMode
CedarBackup2.extend.mbox.MboxFile._getCollectMode
CedarBackup2.extend.mbox._getCollectMode
CedarBackup2.extend.subversion.Repository._getCollectMode
CedarBackup2.extend.subversion.RepositoryDir._getCollectMode
CedarBackup2.extend.subversion.SubversionConfig._getCollectMode
CedarBackup2.extend.subversion._getCollectMode" class="py-name" href="#" onclick="return doclink('link-398', '_getCollectMode', 'link-307');">_getCollectMode</a></tt><tt class="py-op">,</tt> <tt id="link-399" class="py-name"><a title="CedarBackup2.config.CollectConfig._setCollectMode
CedarBackup2.config.CollectDir._setCollectMode
CedarBackup2.config.CollectFile._setCollectMode
CedarBackup2.extend.mbox.MboxConfig._setCollectMode
CedarBackup2.extend.mbox.MboxDir._setCollectMode
CedarBackup2.extend.mbox.MboxFile._setCollectMode
CedarBackup2.extend.subversion.Repository._setCollectMode
CedarBackup2.extend.subversion.RepositoryDir._setCollectMode
CedarBackup2.extend.subversion.SubversionConfig._setCollectMode" class="py-name" href="#" onclick="return doclink('link-399', '_setCollectMode', 'link-308');">_setCollectMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Overridden collect mode for this directory."</tt><tt class="py-op">)</tt> </tt>
<a name="L1630"></a><tt class="py-lineno">1630</tt> <tt class="py-line"> <tt id="link-400" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-400', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-401" class="py-name"><a title="CedarBackup2.actions.collect._getArchiveMode
CedarBackup2.config.CollectConfig._getArchiveMode
CedarBackup2.config.CollectDir._getArchiveMode
CedarBackup2.config.CollectFile._getArchiveMode" class="py-name" href="#" onclick="return doclink('link-401', '_getArchiveMode', 'link-310');">_getArchiveMode</a></tt><tt class="py-op">,</tt> <tt id="link-402" class="py-name"><a title="CedarBackup2.config.CollectConfig._setArchiveMode
CedarBackup2.config.CollectDir._setArchiveMode
CedarBackup2.config.CollectFile._setArchiveMode" class="py-name" href="#" onclick="return doclink('link-402', '_setArchiveMode', 'link-311');">_setArchiveMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Overridden archive mode for this directory."</tt><tt class="py-op">)</tt> </tt>
<a name="L1631"></a><tt class="py-lineno">1631</tt> <tt class="py-line"> <tt id="link-403" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-403', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-404" class="py-name" targets="Function CedarBackup2.actions.collect._getIgnoreFile()=CedarBackup2.actions.collect-module.html#_getIgnoreFile,Method CedarBackup2.config.CollectConfig._getIgnoreFile()=CedarBackup2.config.CollectConfig-class.html#_getIgnoreFile,Method CedarBackup2.config.CollectDir._getIgnoreFile()=CedarBackup2.config.CollectDir-class.html#_getIgnoreFile,Method CedarBackup2.filesystem.FilesystemList._getIgnoreFile()=CedarBackup2.filesystem.FilesystemList-class.html#_getIgnoreFile"><a title="CedarBackup2.actions.collect._getIgnoreFile
CedarBackup2.config.CollectConfig._getIgnoreFile
CedarBackup2.config.CollectDir._getIgnoreFile
CedarBackup2.filesystem.FilesystemList._getIgnoreFile" class="py-name" href="#" onclick="return doclink('link-404', '_getIgnoreFile', 'link-404');">_getIgnoreFile</a></tt><tt class="py-op">,</tt> <tt id="link-405" class="py-name" targets="Method CedarBackup2.config.CollectConfig._setIgnoreFile()=CedarBackup2.config.CollectConfig-class.html#_setIgnoreFile,Method CedarBackup2.config.CollectDir._setIgnoreFile()=CedarBackup2.config.CollectDir-class.html#_setIgnoreFile,Method CedarBackup2.filesystem.FilesystemList._setIgnoreFile()=CedarBackup2.filesystem.FilesystemList-class.html#_setIgnoreFile"><a title="CedarBackup2.config.CollectConfig._setIgnoreFile
CedarBackup2.config.CollectDir._setIgnoreFile
CedarBackup2.filesystem.FilesystemList._setIgnoreFile" class="py-name" href="#" onclick="return doclink('link-405', '_setIgnoreFile', 'link-405');">_setIgnoreFile</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Overridden ignore file name for this directory."</tt><tt class="py-op">)</tt> </tt>
<a name="L1632"></a><tt class="py-lineno">1632</tt> <tt class="py-line"> <tt id="link-406" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-406', 'linkDepth', 'link-320');">linkDepth</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-407" class="py-name" targets="Function CedarBackup2.actions.collect._getLinkDepth()=CedarBackup2.actions.collect-module.html#_getLinkDepth,Method CedarBackup2.config.CollectDir._getLinkDepth()=CedarBackup2.config.CollectDir-class.html#_getLinkDepth"><a title="CedarBackup2.actions.collect._getLinkDepth
CedarBackup2.config.CollectDir._getLinkDepth" class="py-name" href="#" onclick="return doclink('link-407', '_getLinkDepth', 'link-407');">_getLinkDepth</a></tt><tt class="py-op">,</tt> <tt id="link-408" class="py-name" targets="Method CedarBackup2.config.CollectDir._setLinkDepth()=CedarBackup2.config.CollectDir-class.html#_setLinkDepth"><a title="CedarBackup2.config.CollectDir._setLinkDepth" class="py-name" href="#" onclick="return doclink('link-408', '_setLinkDepth', 'link-408');">_setLinkDepth</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Maximum at which soft links should be followed."</tt><tt class="py-op">)</tt> </tt>
<a name="L1633"></a><tt class="py-lineno">1633</tt> <tt class="py-line"> <tt id="link-409" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-409', 'dereference', 'link-322');">dereference</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-410" class="py-name" targets="Function CedarBackup2.actions.collect._getDereference()=CedarBackup2.actions.collect-module.html#_getDereference,Method CedarBackup2.config.CollectDir._getDereference()=CedarBackup2.config.CollectDir-class.html#_getDereference"><a title="CedarBackup2.actions.collect._getDereference
CedarBackup2.config.CollectDir._getDereference" class="py-name" href="#" onclick="return doclink('link-410', '_getDereference', 'link-410');">_getDereference</a></tt><tt class="py-op">,</tt> <tt id="link-411" class="py-name" targets="Method CedarBackup2.config.CollectDir._setDereference()=CedarBackup2.config.CollectDir-class.html#_setDereference"><a title="CedarBackup2.config.CollectDir._setDereference" class="py-name" href="#" onclick="return doclink('link-411', '_setDereference', 'link-411');">_setDereference</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Whether to dereference links that are followed."</tt><tt class="py-op">)</tt> </tt>
<a name="L1634"></a><tt class="py-lineno">1634</tt> <tt class="py-line"> <tt id="link-412" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-412', 'recursionLevel', 'link-324');">recursionLevel</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-413" class="py-name" targets="Function CedarBackup2.actions.collect._getRecursionLevel()=CedarBackup2.actions.collect-module.html#_getRecursionLevel,Method CedarBackup2.config.CollectDir._getRecursionLevel()=CedarBackup2.config.CollectDir-class.html#_getRecursionLevel"><a title="CedarBackup2.actions.collect._getRecursionLevel
CedarBackup2.config.CollectDir._getRecursionLevel" class="py-name" href="#" onclick="return doclink('link-413', '_getRecursionLevel', 'link-413');">_getRecursionLevel</a></tt><tt class="py-op">,</tt> <tt id="link-414" class="py-name" targets="Method CedarBackup2.config.CollectDir._setRecursionLevel()=CedarBackup2.config.CollectDir-class.html#_setRecursionLevel"><a title="CedarBackup2.config.CollectDir._setRecursionLevel" class="py-name" href="#" onclick="return doclink('link-414', '_setRecursionLevel', 'link-414');">_setRecursionLevel</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Recursion level to use for recursive directory collection"</tt><tt class="py-op">)</tt> </tt>
<a name="L1635"></a><tt class="py-lineno">1635</tt> <tt class="py-line"> <tt id="link-415" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-415', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-416" class="py-name" targets="Method CedarBackup2.config.CollectConfig._getAbsoluteExcludePaths()=CedarBackup2.config.CollectConfig-class.html#_getAbsoluteExcludePaths,Method CedarBackup2.config.CollectDir._getAbsoluteExcludePaths()=CedarBackup2.config.CollectDir-class.html#_getAbsoluteExcludePaths"><a title="CedarBackup2.config.CollectConfig._getAbsoluteExcludePaths
CedarBackup2.config.CollectDir._getAbsoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-416', '_getAbsoluteExcludePaths', 'link-416');">_getAbsoluteExcludePaths</a></tt><tt class="py-op">,</tt> <tt id="link-417" class="py-name" targets="Method CedarBackup2.config.CollectConfig._setAbsoluteExcludePaths()=CedarBackup2.config.CollectConfig-class.html#_setAbsoluteExcludePaths,Method CedarBackup2.config.CollectDir._setAbsoluteExcludePaths()=CedarBackup2.config.CollectDir-class.html#_setAbsoluteExcludePaths"><a title="CedarBackup2.config.CollectConfig._setAbsoluteExcludePaths
CedarBackup2.config.CollectDir._setAbsoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-417', '_setAbsoluteExcludePaths', 'link-417');">_setAbsoluteExcludePaths</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of absolute paths to exclude."</tt><tt class="py-op">)</tt> </tt>
<a name="L1636"></a><tt class="py-lineno">1636</tt> <tt class="py-line"> <tt id="link-418" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-418', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-419" class="py-name" targets="Method CedarBackup2.config.CollectDir._getRelativeExcludePaths()=CedarBackup2.config.CollectDir-class.html#_getRelativeExcludePaths,Method CedarBackup2.extend.mbox.MboxDir._getRelativeExcludePaths()=CedarBackup2.extend.mbox.MboxDir-class.html#_getRelativeExcludePaths,Method CedarBackup2.extend.subversion.RepositoryDir._getRelativeExcludePaths()=CedarBackup2.extend.subversion.RepositoryDir-class.html#_getRelativeExcludePaths"><a title="CedarBackup2.config.CollectDir._getRelativeExcludePaths
CedarBackup2.extend.mbox.MboxDir._getRelativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir._getRelativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-419', '_getRelativeExcludePaths', 'link-419');">_getRelativeExcludePaths</a></tt><tt class="py-op">,</tt> <tt id="link-420" class="py-name" targets="Method CedarBackup2.config.CollectDir._setRelativeExcludePaths()=CedarBackup2.config.CollectDir-class.html#_setRelativeExcludePaths,Method CedarBackup2.extend.mbox.MboxDir._setRelativeExcludePaths()=CedarBackup2.extend.mbox.MboxDir-class.html#_setRelativeExcludePaths,Method CedarBackup2.extend.subversion.RepositoryDir._setRelativeExcludePaths()=CedarBackup2.extend.subversion.RepositoryDir-class.html#_setRelativeExcludePaths"><a title="CedarBackup2.config.CollectDir._setRelativeExcludePaths
CedarBackup2.extend.mbox.MboxDir._setRelativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir._setRelativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-420', '_setRelativeExcludePaths', 'link-420');">_setRelativeExcludePaths</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of relative paths to exclude."</tt><tt class="py-op">)</tt> </tt>
<a name="L1637"></a><tt class="py-lineno">1637</tt> <tt class="py-line"> <tt id="link-421" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-421', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-422" class="py-name" targets="Method CedarBackup2.config.CollectConfig._getExcludePatterns()=CedarBackup2.config.CollectConfig-class.html#_getExcludePatterns,Method CedarBackup2.config.CollectDir._getExcludePatterns()=CedarBackup2.config.CollectDir-class.html#_getExcludePatterns,Method CedarBackup2.extend.mbox.MboxDir._getExcludePatterns()=CedarBackup2.extend.mbox.MboxDir-class.html#_getExcludePatterns,Method CedarBackup2.extend.subversion.RepositoryDir._getExcludePatterns()=CedarBackup2.extend.subversion.RepositoryDir-class.html#_getExcludePatterns,Method CedarBackup2.filesystem.FilesystemList._getExcludePatterns()=CedarBackup2.filesystem.FilesystemList-class.html#_getExcludePatterns"><a title="CedarBackup2.config.CollectConfig._getExcludePatterns
CedarBackup2.config.CollectDir._getExcludePatterns
CedarBackup2.extend.mbox.MboxDir._getExcludePatterns
CedarBackup2.extend.subversion.RepositoryDir._getExcludePatterns
CedarBackup2.filesystem.FilesystemList._getExcludePatterns" class="py-name" href="#" onclick="return doclink('link-422', '_getExcludePatterns', 'link-422');">_getExcludePatterns</a></tt><tt class="py-op">,</tt> <tt id="link-423" class="py-name" targets="Method CedarBackup2.config.CollectConfig._setExcludePatterns()=CedarBackup2.config.CollectConfig-class.html#_setExcludePatterns,Method CedarBackup2.config.CollectDir._setExcludePatterns()=CedarBackup2.config.CollectDir-class.html#_setExcludePatterns,Method CedarBackup2.extend.mbox.MboxDir._setExcludePatterns()=CedarBackup2.extend.mbox.MboxDir-class.html#_setExcludePatterns,Method CedarBackup2.extend.subversion.RepositoryDir._setExcludePatterns()=CedarBackup2.extend.subversion.RepositoryDir-class.html#_setExcludePatterns,Method CedarBackup2.filesystem.FilesystemList._setExcludePatterns()=CedarBackup2.filesystem.FilesystemList-class.html#_setExcludePatterns"><a title="CedarBackup2.config.CollectConfig._setExcludePatterns
CedarBackup2.config.CollectDir._setExcludePatterns
CedarBackup2.extend.mbox.MboxDir._setExcludePatterns
CedarBackup2.extend.subversion.RepositoryDir._setExcludePatterns
CedarBackup2.filesystem.FilesystemList._setExcludePatterns" class="py-name" href="#" onclick="return doclink('link-423', '_setExcludePatterns', 'link-423');">_setExcludePatterns</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of regular expression patterns to exclude."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1638"></a><tt class="py-lineno">1638</tt> <tt class="py-line"> </tt>
<a name="PurgeDir"></a><div id="PurgeDir-def"><a name="L1639"></a><tt class="py-lineno">1639</tt> <tt class="py-line"> </tt>
<a name="L1640"></a><tt class="py-lineno">1640</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1641"></a><tt class="py-lineno">1641</tt> <tt class="py-line"><tt class="py-comment"># PurgeDir class definition</tt> </tt>
<a name="L1642"></a><tt class="py-lineno">1642</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1643"></a><tt class="py-lineno">1643</tt> <tt class="py-line"> </tt>
<a name="L1644"></a><tt class="py-lineno">1644</tt> <a class="py-toggle" href="#" id="PurgeDir-toggle" onclick="return toggle('PurgeDir');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html">PurgeDir</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="PurgeDir-expanded"><a name="L1645"></a><tt class="py-lineno">1645</tt> <tt class="py-line"> </tt>
<a name="L1646"></a><tt class="py-lineno">1646</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1647"></a><tt class="py-lineno">1647</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup purge directory.</tt> </tt>
<a name="L1648"></a><tt class="py-lineno">1648</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1649"></a><tt class="py-lineno">1649</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L1650"></a><tt class="py-lineno">1650</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1651"></a><tt class="py-lineno">1651</tt> <tt class="py-line"><tt class="py-docstring"> - The absolute path must be an absolute path</tt> </tt>
<a name="L1652"></a><tt class="py-lineno">1652</tt> <tt class="py-line"><tt class="py-docstring"> - The retain days value must be an integer >= 0.</tt> </tt>
<a name="L1653"></a><tt class="py-lineno">1653</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1654"></a><tt class="py-lineno">1654</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, absolutePath, retainDays</tt> </tt>
<a name="L1655"></a><tt class="py-lineno">1655</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1656"></a><tt class="py-lineno">1656</tt> <tt class="py-line"> </tt>
<a name="PurgeDir.__init__"></a><div id="PurgeDir.__init__-def"><a name="L1657"></a><tt class="py-lineno">1657</tt> <a class="py-toggle" href="#" id="PurgeDir.__init__-toggle" onclick="return toggle('PurgeDir.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">absolutePath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">retainDays</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeDir.__init__-expanded"><a name="L1658"></a><tt class="py-lineno">1658</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1659"></a><tt class="py-lineno">1659</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{PurgeDir} class.</tt> </tt>
<a name="L1660"></a><tt class="py-lineno">1660</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1661"></a><tt class="py-lineno">1661</tt> <tt class="py-line"><tt class="py-docstring"> @param absolutePath: Absolute path of the directory to be purged.</tt> </tt>
<a name="L1662"></a><tt class="py-lineno">1662</tt> <tt class="py-line"><tt class="py-docstring"> @param retainDays: Number of days content within directory should be retained.</tt> </tt>
<a name="L1663"></a><tt class="py-lineno">1663</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1664"></a><tt class="py-lineno">1664</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L1665"></a><tt class="py-lineno">1665</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1666"></a><tt class="py-lineno">1666</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1667"></a><tt class="py-lineno">1667</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_retainDays</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1668"></a><tt class="py-lineno">1668</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-424" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-424', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt id="link-425" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-425', 'absolutePath', 'link-256');">absolutePath</a></tt> </tt>
<a name="L1669"></a><tt class="py-lineno">1669</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-426" class="py-name" targets="Variable CedarBackup2.config.PurgeDir.retainDays=CedarBackup2.config.PurgeDir-class.html#retainDays"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-426', 'retainDays', 'link-426');">retainDays</a></tt> <tt class="py-op">=</tt> <tt id="link-427" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-427', 'retainDays', 'link-426');">retainDays</a></tt> </tt>
</div><a name="L1670"></a><tt class="py-lineno">1670</tt> <tt class="py-line"> </tt>
<a name="PurgeDir.__repr__"></a><div id="PurgeDir.__repr__-def"><a name="L1671"></a><tt class="py-lineno">1671</tt> <a class="py-toggle" href="#" id="PurgeDir.__repr__-toggle" onclick="return toggle('PurgeDir.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeDir.__repr__-expanded"><a name="L1672"></a><tt class="py-lineno">1672</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1673"></a><tt class="py-lineno">1673</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L1674"></a><tt class="py-lineno">1674</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1675"></a><tt class="py-lineno">1675</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"PurgeDir(%s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-428" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-428', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-429" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-429', 'retainDays', 'link-426');">retainDays</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L1676"></a><tt class="py-lineno">1676</tt> <tt class="py-line"> </tt>
<a name="PurgeDir.__str__"></a><div id="PurgeDir.__str__-def"><a name="L1677"></a><tt class="py-lineno">1677</tt> <a class="py-toggle" href="#" id="PurgeDir.__str__-toggle" onclick="return toggle('PurgeDir.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeDir.__str__-expanded"><a name="L1678"></a><tt class="py-lineno">1678</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1679"></a><tt class="py-lineno">1679</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L1680"></a><tt class="py-lineno">1680</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1681"></a><tt class="py-lineno">1681</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-430" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-430', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1682"></a><tt class="py-lineno">1682</tt> <tt class="py-line"> </tt>
<a name="PurgeDir.__cmp__"></a><div id="PurgeDir.__cmp__-def"><a name="L1683"></a><tt class="py-lineno">1683</tt> <a class="py-toggle" href="#" id="PurgeDir.__cmp__-toggle" onclick="return toggle('PurgeDir.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeDir.__cmp__-expanded"><a name="L1684"></a><tt class="py-lineno">1684</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1685"></a><tt class="py-lineno">1685</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L1686"></a><tt class="py-lineno">1686</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L1687"></a><tt class="py-lineno">1687</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L1688"></a><tt class="py-lineno">1688</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1689"></a><tt class="py-lineno">1689</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1690"></a><tt class="py-lineno">1690</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1691"></a><tt class="py-lineno">1691</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-431" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-431', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-432" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-432', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1692"></a><tt class="py-lineno">1692</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-433" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-433', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-434" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-434', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1693"></a><tt class="py-lineno">1693</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1694"></a><tt class="py-lineno">1694</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1695"></a><tt class="py-lineno">1695</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1696"></a><tt class="py-lineno">1696</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-435" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-435', 'retainDays', 'link-426');">retainDays</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-436" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-436', 'retainDays', 'link-426');">retainDays</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1697"></a><tt class="py-lineno">1697</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-437" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-437', 'retainDays', 'link-426');">retainDays</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-438" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-438', 'retainDays', 'link-426');">retainDays</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1698"></a><tt class="py-lineno">1698</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1699"></a><tt class="py-lineno">1699</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1700"></a><tt class="py-lineno">1700</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1701"></a><tt class="py-lineno">1701</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L1702"></a><tt class="py-lineno">1702</tt> <tt class="py-line"> </tt>
<a name="PurgeDir._setAbsolutePath"></a><div id="PurgeDir._setAbsolutePath-def"><a name="L1703"></a><tt class="py-lineno">1703</tt> <a class="py-toggle" href="#" id="PurgeDir._setAbsolutePath-toggle" onclick="return toggle('PurgeDir._setAbsolutePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html#_setAbsolutePath">_setAbsolutePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir._setAbsolutePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeDir._setAbsolutePath-expanded"><a name="L1704"></a><tt class="py-lineno">1704</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1705"></a><tt class="py-lineno">1705</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the absolute path.</tt> </tt>
<a name="L1706"></a><tt class="py-lineno">1706</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L1707"></a><tt class="py-lineno">1707</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L1708"></a><tt class="py-lineno">1708</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L1709"></a><tt class="py-lineno">1709</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L1710"></a><tt class="py-lineno">1710</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1711"></a><tt class="py-lineno">1711</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1712"></a><tt class="py-lineno">1712</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L1713"></a><tt class="py-lineno">1713</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Absolute path must, er, be an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L1714"></a><tt class="py-lineno">1714</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> <tt class="py-op">=</tt> <tt id="link-439" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-439', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1715"></a><tt class="py-lineno">1715</tt> <tt class="py-line"> </tt>
<a name="PurgeDir._getAbsolutePath"></a><div id="PurgeDir._getAbsolutePath-def"><a name="L1716"></a><tt class="py-lineno">1716</tt> <a class="py-toggle" href="#" id="PurgeDir._getAbsolutePath-toggle" onclick="return toggle('PurgeDir._getAbsolutePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html#_getAbsolutePath">_getAbsolutePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir._getAbsolutePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeDir._getAbsolutePath-expanded"><a name="L1717"></a><tt class="py-lineno">1717</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1718"></a><tt class="py-lineno">1718</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the absolute path.</tt> </tt>
<a name="L1719"></a><tt class="py-lineno">1719</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1720"></a><tt class="py-lineno">1720</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absolutePath</tt> </tt>
</div><a name="L1721"></a><tt class="py-lineno">1721</tt> <tt class="py-line"> </tt>
<a name="PurgeDir._setRetainDays"></a><div id="PurgeDir._setRetainDays-def"><a name="L1722"></a><tt class="py-lineno">1722</tt> <a class="py-toggle" href="#" id="PurgeDir._setRetainDays-toggle" onclick="return toggle('PurgeDir._setRetainDays');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html#_setRetainDays">_setRetainDays</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir._setRetainDays-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeDir._setRetainDays-expanded"><a name="L1723"></a><tt class="py-lineno">1723</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1724"></a><tt class="py-lineno">1724</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the retain days value.</tt> </tt>
<a name="L1725"></a><tt class="py-lineno">1725</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an integer >= 0.</tt> </tt>
<a name="L1726"></a><tt class="py-lineno">1726</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1727"></a><tt class="py-lineno">1727</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1728"></a><tt class="py-lineno">1728</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1729"></a><tt class="py-lineno">1729</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_retainDays</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1730"></a><tt class="py-lineno">1730</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1731"></a><tt class="py-lineno">1731</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L1732"></a><tt class="py-lineno">1732</tt> <tt class="py-line"> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L1733"></a><tt class="py-lineno">1733</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">TypeError</tt><tt class="py-op">:</tt> </tt>
<a name="L1734"></a><tt class="py-lineno">1734</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Retain days value must be an integer >= 0."</tt><tt class="py-op">)</tt> </tt>
<a name="L1735"></a><tt class="py-lineno">1735</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-op"><</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L1736"></a><tt class="py-lineno">1736</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Retain days value must be an integer >= 0."</tt><tt class="py-op">)</tt> </tt>
<a name="L1737"></a><tt class="py-lineno">1737</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_retainDays</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1738"></a><tt class="py-lineno">1738</tt> <tt class="py-line"> </tt>
<a name="PurgeDir._getRetainDays"></a><div id="PurgeDir._getRetainDays-def"><a name="L1739"></a><tt class="py-lineno">1739</tt> <a class="py-toggle" href="#" id="PurgeDir._getRetainDays-toggle" onclick="return toggle('PurgeDir._getRetainDays');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeDir-class.html#_getRetainDays">_getRetainDays</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeDir._getRetainDays-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeDir._getRetainDays-expanded"><a name="L1740"></a><tt class="py-lineno">1740</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1741"></a><tt class="py-lineno">1741</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the absolute path.</tt> </tt>
<a name="L1742"></a><tt class="py-lineno">1742</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1743"></a><tt class="py-lineno">1743</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_retainDays</tt> </tt>
</div><a name="L1744"></a><tt class="py-lineno">1744</tt> <tt class="py-line"> </tt>
<a name="L1745"></a><tt class="py-lineno">1745</tt> <tt class="py-line"> <tt id="link-440" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-440', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-441" class="py-name"><a title="CedarBackup2.config.CollectDir._getAbsolutePath
CedarBackup2.config.CollectFile._getAbsolutePath
CedarBackup2.config.CommandOverride._getAbsolutePath
CedarBackup2.config.PurgeDir._getAbsolutePath
CedarBackup2.extend.mbox.MboxDir._getAbsolutePath
CedarBackup2.extend.mbox.MboxFile._getAbsolutePath" class="py-name" href="#" onclick="return doclink('link-441', '_getAbsolutePath', 'link-274');">_getAbsolutePath</a></tt><tt class="py-op">,</tt> <tt id="link-442" class="py-name"><a title="CedarBackup2.config.CollectDir._setAbsolutePath
CedarBackup2.config.CollectFile._setAbsolutePath
CedarBackup2.config.CommandOverride._setAbsolutePath
CedarBackup2.config.PurgeDir._setAbsolutePath
CedarBackup2.extend.mbox.MboxDir._setAbsolutePath
CedarBackup2.extend.mbox.MboxFile._setAbsolutePath" class="py-name" href="#" onclick="return doclink('link-442', '_setAbsolutePath', 'link-275');">_setAbsolutePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Absolute path of directory to purge."</tt><tt class="py-op">)</tt> </tt>
<a name="L1746"></a><tt class="py-lineno">1746</tt> <tt class="py-line"> <tt id="link-443" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-443', 'retainDays', 'link-426');">retainDays</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-444" class="py-name" targets="Method CedarBackup2.config.PurgeDir._getRetainDays()=CedarBackup2.config.PurgeDir-class.html#_getRetainDays"><a title="CedarBackup2.config.PurgeDir._getRetainDays" class="py-name" href="#" onclick="return doclink('link-444', '_getRetainDays', 'link-444');">_getRetainDays</a></tt><tt class="py-op">,</tt> <tt id="link-445" class="py-name" targets="Method CedarBackup2.config.PurgeDir._setRetainDays()=CedarBackup2.config.PurgeDir-class.html#_setRetainDays"><a title="CedarBackup2.config.PurgeDir._setRetainDays" class="py-name" href="#" onclick="return doclink('link-445', '_setRetainDays', 'link-445');">_setRetainDays</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Number of days content within directory should be retained."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1747"></a><tt class="py-lineno">1747</tt> <tt class="py-line"> </tt>
<a name="LocalPeer"></a><div id="LocalPeer-def"><a name="L1748"></a><tt class="py-lineno">1748</tt> <tt class="py-line"> </tt>
<a name="L1749"></a><tt class="py-lineno">1749</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1750"></a><tt class="py-lineno">1750</tt> <tt class="py-line"><tt class="py-comment"># LocalPeer class definition</tt> </tt>
<a name="L1751"></a><tt class="py-lineno">1751</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1752"></a><tt class="py-lineno">1752</tt> <tt class="py-line"> </tt>
<a name="L1753"></a><tt class="py-lineno">1753</tt> <a class="py-toggle" href="#" id="LocalPeer-toggle" onclick="return toggle('LocalPeer');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html">LocalPeer</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="LocalPeer-expanded"><a name="L1754"></a><tt class="py-lineno">1754</tt> <tt class="py-line"> </tt>
<a name="L1755"></a><tt class="py-lineno">1755</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1756"></a><tt class="py-lineno">1756</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup peer.</tt> </tt>
<a name="L1757"></a><tt class="py-lineno">1757</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1758"></a><tt class="py-lineno">1758</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L1759"></a><tt class="py-lineno">1759</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1760"></a><tt class="py-lineno">1760</tt> <tt class="py-line"><tt class="py-docstring"> - The peer name must be a non-empty string.</tt> </tt>
<a name="L1761"></a><tt class="py-lineno">1761</tt> <tt class="py-line"><tt class="py-docstring"> - The collect directory must be an absolute path.</tt> </tt>
<a name="L1762"></a><tt class="py-lineno">1762</tt> <tt class="py-line"><tt class="py-docstring"> - The ignore failure mode must be one of the values in L{VALID_FAILURE_MODES}.</tt> </tt>
<a name="L1763"></a><tt class="py-lineno">1763</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L1764"></a><tt class="py-lineno">1764</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, name, collectDir</tt> </tt>
<a name="L1765"></a><tt class="py-lineno">1765</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1766"></a><tt class="py-lineno">1766</tt> <tt class="py-line"> </tt>
<a name="LocalPeer.__init__"></a><div id="LocalPeer.__init__-def"><a name="L1767"></a><tt class="py-lineno">1767</tt> <a class="py-toggle" href="#" id="LocalPeer.__init__-toggle" onclick="return toggle('LocalPeer.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">collectDir</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">ignoreFailureMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer.__init__-expanded"><a name="L1768"></a><tt class="py-lineno">1768</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1769"></a><tt class="py-lineno">1769</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{LocalPeer} class.</tt> </tt>
<a name="L1770"></a><tt class="py-lineno">1770</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1771"></a><tt class="py-lineno">1771</tt> <tt class="py-line"><tt class="py-docstring"> @param name: Name of the peer, typically a valid hostname.</tt> </tt>
<a name="L1772"></a><tt class="py-lineno">1772</tt> <tt class="py-line"><tt class="py-docstring"> @param collectDir: Collect directory to stage files from on peer.</tt> </tt>
<a name="L1773"></a><tt class="py-lineno">1773</tt> <tt class="py-line"><tt class="py-docstring"> @param ignoreFailureMode: Ignore failure mode for peer.</tt> </tt>
<a name="L1774"></a><tt class="py-lineno">1774</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1775"></a><tt class="py-lineno">1775</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L1776"></a><tt class="py-lineno">1776</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1777"></a><tt class="py-lineno">1777</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1778"></a><tt class="py-lineno">1778</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1779"></a><tt class="py-lineno">1779</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFailureMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1780"></a><tt class="py-lineno">1780</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-446" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-446', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-447" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-447', 'name', 'link-201');">name</a></tt> </tt>
<a name="L1781"></a><tt class="py-lineno">1781</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-448" class="py-name" targets="Variable CedarBackup2.config.LocalPeer.collectDir=CedarBackup2.config.LocalPeer-class.html#collectDir,Variable CedarBackup2.config.RemotePeer.collectDir=CedarBackup2.config.RemotePeer-class.html#collectDir,Variable CedarBackup2.peer.LocalPeer.collectDir=CedarBackup2.peer.LocalPeer-class.html#collectDir,Variable CedarBackup2.peer.RemotePeer.collectDir=CedarBackup2.peer.RemotePeer-class.html#collectDir"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-448', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op">=</tt> <tt id="link-449" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-449', 'collectDir', 'link-448');">collectDir</a></tt> </tt>
<a name="L1782"></a><tt class="py-lineno">1782</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-450" class="py-name" targets="Variable CedarBackup2.config.LocalPeer.ignoreFailureMode=CedarBackup2.config.LocalPeer-class.html#ignoreFailureMode,Variable CedarBackup2.config.RemotePeer.ignoreFailureMode=CedarBackup2.config.RemotePeer-class.html#ignoreFailureMode,Variable CedarBackup2.peer.LocalPeer.ignoreFailureMode=CedarBackup2.peer.LocalPeer-class.html#ignoreFailureMode,Variable CedarBackup2.peer.RemotePeer.ignoreFailureMode=CedarBackup2.peer.RemotePeer-class.html#ignoreFailureMode"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-450', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op">=</tt> <tt id="link-451" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-451', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> </tt>
</div><a name="L1783"></a><tt class="py-lineno">1783</tt> <tt class="py-line"> </tt>
<a name="LocalPeer.__repr__"></a><div id="LocalPeer.__repr__-def"><a name="L1784"></a><tt class="py-lineno">1784</tt> <a class="py-toggle" href="#" id="LocalPeer.__repr__-toggle" onclick="return toggle('LocalPeer.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer.__repr__-expanded"><a name="L1785"></a><tt class="py-lineno">1785</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1786"></a><tt class="py-lineno">1786</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L1787"></a><tt class="py-lineno">1787</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1788"></a><tt class="py-lineno">1788</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"LocalPeer(%s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-452" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-452', 'name', 'link-201');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-453" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-453', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-454" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-454', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L1789"></a><tt class="py-lineno">1789</tt> <tt class="py-line"> </tt>
<a name="LocalPeer.__str__"></a><div id="LocalPeer.__str__-def"><a name="L1790"></a><tt class="py-lineno">1790</tt> <a class="py-toggle" href="#" id="LocalPeer.__str__-toggle" onclick="return toggle('LocalPeer.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer.__str__-expanded"><a name="L1791"></a><tt class="py-lineno">1791</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1792"></a><tt class="py-lineno">1792</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L1793"></a><tt class="py-lineno">1793</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1794"></a><tt class="py-lineno">1794</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-455" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-455', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1795"></a><tt class="py-lineno">1795</tt> <tt class="py-line"> </tt>
<a name="LocalPeer.__cmp__"></a><div id="LocalPeer.__cmp__-def"><a name="L1796"></a><tt class="py-lineno">1796</tt> <a class="py-toggle" href="#" id="LocalPeer.__cmp__-toggle" onclick="return toggle('LocalPeer.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer.__cmp__-expanded"><a name="L1797"></a><tt class="py-lineno">1797</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1798"></a><tt class="py-lineno">1798</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L1799"></a><tt class="py-lineno">1799</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L1800"></a><tt class="py-lineno">1800</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L1801"></a><tt class="py-lineno">1801</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1802"></a><tt class="py-lineno">1802</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1803"></a><tt class="py-lineno">1803</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1804"></a><tt class="py-lineno">1804</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-456" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-456', 'name', 'link-201');">name</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-457" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-457', 'name', 'link-201');">name</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1805"></a><tt class="py-lineno">1805</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-458" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-458', 'name', 'link-201');">name</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-459" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-459', 'name', 'link-201');">name</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1806"></a><tt class="py-lineno">1806</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1807"></a><tt class="py-lineno">1807</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1808"></a><tt class="py-lineno">1808</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1809"></a><tt class="py-lineno">1809</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-460" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-460', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-461" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-461', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1810"></a><tt class="py-lineno">1810</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-462" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-462', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-463" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-463', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1811"></a><tt class="py-lineno">1811</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1812"></a><tt class="py-lineno">1812</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1813"></a><tt class="py-lineno">1813</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1814"></a><tt class="py-lineno">1814</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-464" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-464', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-465" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-465', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1815"></a><tt class="py-lineno">1815</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-466" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-466', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-467" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-467', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1816"></a><tt class="py-lineno">1816</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1817"></a><tt class="py-lineno">1817</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1818"></a><tt class="py-lineno">1818</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1819"></a><tt class="py-lineno">1819</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L1820"></a><tt class="py-lineno">1820</tt> <tt class="py-line"> </tt>
<a name="LocalPeer._setName"></a><div id="LocalPeer._setName-def"><a name="L1821"></a><tt class="py-lineno">1821</tt> <a class="py-toggle" href="#" id="LocalPeer._setName-toggle" onclick="return toggle('LocalPeer._setName');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#_setName">_setName</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer._setName-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer._setName-expanded"><a name="L1822"></a><tt class="py-lineno">1822</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1823"></a><tt class="py-lineno">1823</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the peer name.</tt> </tt>
<a name="L1824"></a><tt class="py-lineno">1824</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L1825"></a><tt class="py-lineno">1825</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L1826"></a><tt class="py-lineno">1826</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1827"></a><tt class="py-lineno">1827</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1828"></a><tt class="py-lineno">1828</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L1829"></a><tt class="py-lineno">1829</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The peer name must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L1830"></a><tt class="py-lineno">1830</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1831"></a><tt class="py-lineno">1831</tt> <tt class="py-line"> </tt>
<a name="LocalPeer._getName"></a><div id="LocalPeer._getName-def"><a name="L1832"></a><tt class="py-lineno">1832</tt> <a class="py-toggle" href="#" id="LocalPeer._getName-toggle" onclick="return toggle('LocalPeer._getName');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#_getName">_getName</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer._getName-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer._getName-expanded"><a name="L1833"></a><tt class="py-lineno">1833</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1834"></a><tt class="py-lineno">1834</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the peer name.</tt> </tt>
<a name="L1835"></a><tt class="py-lineno">1835</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1836"></a><tt class="py-lineno">1836</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> </tt>
</div><a name="L1837"></a><tt class="py-lineno">1837</tt> <tt class="py-line"> </tt>
<a name="LocalPeer._setCollectDir"></a><div id="LocalPeer._setCollectDir-def"><a name="L1838"></a><tt class="py-lineno">1838</tt> <a class="py-toggle" href="#" id="LocalPeer._setCollectDir-toggle" onclick="return toggle('LocalPeer._setCollectDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#_setCollectDir">_setCollectDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer._setCollectDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer._setCollectDir-expanded"><a name="L1839"></a><tt class="py-lineno">1839</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1840"></a><tt class="py-lineno">1840</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the collect directory.</tt> </tt>
<a name="L1841"></a><tt class="py-lineno">1841</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L1842"></a><tt class="py-lineno">1842</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L1843"></a><tt class="py-lineno">1843</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L1844"></a><tt class="py-lineno">1844</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L1845"></a><tt class="py-lineno">1845</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1846"></a><tt class="py-lineno">1846</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1847"></a><tt class="py-lineno">1847</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L1848"></a><tt class="py-lineno">1848</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Collect directory must be an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L1849"></a><tt class="py-lineno">1849</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDir</tt> <tt class="py-op">=</tt> <tt id="link-468" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-468', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1850"></a><tt class="py-lineno">1850</tt> <tt class="py-line"> </tt>
<a name="LocalPeer._getCollectDir"></a><div id="LocalPeer._getCollectDir-def"><a name="L1851"></a><tt class="py-lineno">1851</tt> <a class="py-toggle" href="#" id="LocalPeer._getCollectDir-toggle" onclick="return toggle('LocalPeer._getCollectDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#_getCollectDir">_getCollectDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer._getCollectDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer._getCollectDir-expanded"><a name="L1852"></a><tt class="py-lineno">1852</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1853"></a><tt class="py-lineno">1853</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the collect directory.</tt> </tt>
<a name="L1854"></a><tt class="py-lineno">1854</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1855"></a><tt class="py-lineno">1855</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDir</tt> </tt>
</div><a name="L1856"></a><tt class="py-lineno">1856</tt> <tt class="py-line"> </tt>
<a name="LocalPeer._setIgnoreFailureMode"></a><div id="LocalPeer._setIgnoreFailureMode-def"><a name="L1857"></a><tt class="py-lineno">1857</tt> <a class="py-toggle" href="#" id="LocalPeer._setIgnoreFailureMode-toggle" onclick="return toggle('LocalPeer._setIgnoreFailureMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#_setIgnoreFailureMode">_setIgnoreFailureMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer._setIgnoreFailureMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer._setIgnoreFailureMode-expanded"><a name="L1858"></a><tt class="py-lineno">1858</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1859"></a><tt class="py-lineno">1859</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the ignoreFailure mode.</tt> </tt>
<a name="L1860"></a><tt class="py-lineno">1860</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the mode must be one of the values in L{VALID_FAILURE_MODES}.</tt> </tt>
<a name="L1861"></a><tt class="py-lineno">1861</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L1862"></a><tt class="py-lineno">1862</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1863"></a><tt class="py-lineno">1863</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1864"></a><tt class="py-lineno">1864</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-469" class="py-name"><a title="CedarBackup2.config.VALID_FAILURE_MODES" class="py-name" href="#" onclick="return doclink('link-469', 'VALID_FAILURE_MODES', 'link-65');">VALID_FAILURE_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1865"></a><tt class="py-lineno">1865</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Ignore failure mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-470" class="py-name"><a title="CedarBackup2.config.VALID_FAILURE_MODES" class="py-name" href="#" onclick="return doclink('link-470', 'VALID_FAILURE_MODES', 'link-65');">VALID_FAILURE_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L1866"></a><tt class="py-lineno">1866</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFailureMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L1867"></a><tt class="py-lineno">1867</tt> <tt class="py-line"> </tt>
<a name="LocalPeer._getIgnoreFailureMode"></a><div id="LocalPeer._getIgnoreFailureMode-def"><a name="L1868"></a><tt class="py-lineno">1868</tt> <a class="py-toggle" href="#" id="LocalPeer._getIgnoreFailureMode-toggle" onclick="return toggle('LocalPeer._getIgnoreFailureMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.LocalPeer-class.html#_getIgnoreFailureMode">_getIgnoreFailureMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LocalPeer._getIgnoreFailureMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="LocalPeer._getIgnoreFailureMode-expanded"><a name="L1869"></a><tt class="py-lineno">1869</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1870"></a><tt class="py-lineno">1870</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the ignoreFailure mode.</tt> </tt>
<a name="L1871"></a><tt class="py-lineno">1871</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1872"></a><tt class="py-lineno">1872</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFailureMode</tt> </tt>
</div><a name="L1873"></a><tt class="py-lineno">1873</tt> <tt class="py-line"> </tt>
<a name="L1874"></a><tt class="py-lineno">1874</tt> <tt class="py-line"> <tt id="link-471" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-471', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-472" class="py-name"><a title="CedarBackup2.config.ExtendedAction._getName
CedarBackup2.config.LocalPeer._getName
CedarBackup2.config.RemotePeer._getName
CedarBackup2.peer.LocalPeer._getName
CedarBackup2.peer.RemotePeer._getName
CedarBackup2.util.DirectedGraph._getName" class="py-name" href="#" onclick="return doclink('link-472', '_getName', 'link-240');">_getName</a></tt><tt class="py-op">,</tt> <tt id="link-473" class="py-name"><a title="CedarBackup2.config.ExtendedAction._setName
CedarBackup2.config.LocalPeer._setName
CedarBackup2.config.RemotePeer._setName
CedarBackup2.peer.LocalPeer._setName
CedarBackup2.peer.RemotePeer._setName" class="py-name" href="#" onclick="return doclink('link-473', '_setName', 'link-241');">_setName</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Name of the peer, typically a valid hostname."</tt><tt class="py-op">)</tt> </tt>
<a name="L1875"></a><tt class="py-lineno">1875</tt> <tt class="py-line"> <tt id="link-474" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-474', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-475" class="py-name" targets="Method CedarBackup2.config.LocalPeer._getCollectDir()=CedarBackup2.config.LocalPeer-class.html#_getCollectDir,Method CedarBackup2.config.RemotePeer._getCollectDir()=CedarBackup2.config.RemotePeer-class.html#_getCollectDir,Method CedarBackup2.peer.LocalPeer._getCollectDir()=CedarBackup2.peer.LocalPeer-class.html#_getCollectDir,Method CedarBackup2.peer.RemotePeer._getCollectDir()=CedarBackup2.peer.RemotePeer-class.html#_getCollectDir"><a title="CedarBackup2.config.LocalPeer._getCollectDir
CedarBackup2.config.RemotePeer._getCollectDir
CedarBackup2.peer.LocalPeer._getCollectDir
CedarBackup2.peer.RemotePeer._getCollectDir" class="py-name" href="#" onclick="return doclink('link-475', '_getCollectDir', 'link-475');">_getCollectDir</a></tt><tt class="py-op">,</tt> <tt id="link-476" class="py-name" targets="Method CedarBackup2.config.LocalPeer._setCollectDir()=CedarBackup2.config.LocalPeer-class.html#_setCollectDir,Method CedarBackup2.config.RemotePeer._setCollectDir()=CedarBackup2.config.RemotePeer-class.html#_setCollectDir,Method CedarBackup2.peer.LocalPeer._setCollectDir()=CedarBackup2.peer.LocalPeer-class.html#_setCollectDir,Method CedarBackup2.peer.RemotePeer._setCollectDir()=CedarBackup2.peer.RemotePeer-class.html#_setCollectDir"><a title="CedarBackup2.config.LocalPeer._setCollectDir
CedarBackup2.config.RemotePeer._setCollectDir
CedarBackup2.peer.LocalPeer._setCollectDir
CedarBackup2.peer.RemotePeer._setCollectDir" class="py-name" href="#" onclick="return doclink('link-476', '_setCollectDir', 'link-476');">_setCollectDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Collect directory to stage files from on peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L1876"></a><tt class="py-lineno">1876</tt> <tt class="py-line"> <tt id="link-477" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-477', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-478" class="py-name" targets="Method CedarBackup2.config.LocalPeer._getIgnoreFailureMode()=CedarBackup2.config.LocalPeer-class.html#_getIgnoreFailureMode,Method CedarBackup2.config.RemotePeer._getIgnoreFailureMode()=CedarBackup2.config.RemotePeer-class.html#_getIgnoreFailureMode,Method CedarBackup2.peer.LocalPeer._getIgnoreFailureMode()=CedarBackup2.peer.LocalPeer-class.html#_getIgnoreFailureMode,Method CedarBackup2.peer.RemotePeer._getIgnoreFailureMode()=CedarBackup2.peer.RemotePeer-class.html#_getIgnoreFailureMode"><a title="CedarBackup2.config.LocalPeer._getIgnoreFailureMode
CedarBackup2.config.RemotePeer._getIgnoreFailureMode
CedarBackup2.peer.LocalPeer._getIgnoreFailureMode
CedarBackup2.peer.RemotePeer._getIgnoreFailureMode" class="py-name" href="#" onclick="return doclink('link-478', '_getIgnoreFailureMode', 'link-478');">_getIgnoreFailureMode</a></tt><tt class="py-op">,</tt> <tt id="link-479" class="py-name" targets="Method CedarBackup2.config.LocalPeer._setIgnoreFailureMode()=CedarBackup2.config.LocalPeer-class.html#_setIgnoreFailureMode,Method CedarBackup2.config.RemotePeer._setIgnoreFailureMode()=CedarBackup2.config.RemotePeer-class.html#_setIgnoreFailureMode,Method CedarBackup2.peer.LocalPeer._setIgnoreFailureMode()=CedarBackup2.peer.LocalPeer-class.html#_setIgnoreFailureMode,Method CedarBackup2.peer.RemotePeer._setIgnoreFailureMode()=CedarBackup2.peer.RemotePeer-class.html#_setIgnoreFailureMode"><a title="CedarBackup2.config.LocalPeer._setIgnoreFailureMode
CedarBackup2.config.RemotePeer._setIgnoreFailureMode
CedarBackup2.peer.LocalPeer._setIgnoreFailureMode
CedarBackup2.peer.RemotePeer._setIgnoreFailureMode" class="py-name" href="#" onclick="return doclink('link-479', '_setIgnoreFailureMode', 'link-479');">_setIgnoreFailureMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Ignore failure mode for peer."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1877"></a><tt class="py-lineno">1877</tt> <tt class="py-line"> </tt>
<a name="RemotePeer"></a><div id="RemotePeer-def"><a name="L1878"></a><tt class="py-lineno">1878</tt> <tt class="py-line"> </tt>
<a name="L1879"></a><tt class="py-lineno">1879</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1880"></a><tt class="py-lineno">1880</tt> <tt class="py-line"><tt class="py-comment"># RemotePeer class definition</tt> </tt>
<a name="L1881"></a><tt class="py-lineno">1881</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L1882"></a><tt class="py-lineno">1882</tt> <tt class="py-line"> </tt>
<a name="L1883"></a><tt class="py-lineno">1883</tt> <a class="py-toggle" href="#" id="RemotePeer-toggle" onclick="return toggle('RemotePeer');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html">RemotePeer</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="RemotePeer-expanded"><a name="L1884"></a><tt class="py-lineno">1884</tt> <tt class="py-line"> </tt>
<a name="L1885"></a><tt class="py-lineno">1885</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1886"></a><tt class="py-lineno">1886</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup peer.</tt> </tt>
<a name="L1887"></a><tt class="py-lineno">1887</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1888"></a><tt class="py-lineno">1888</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L1889"></a><tt class="py-lineno">1889</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1890"></a><tt class="py-lineno">1890</tt> <tt class="py-line"><tt class="py-docstring"> - The peer name must be a non-empty string.</tt> </tt>
<a name="L1891"></a><tt class="py-lineno">1891</tt> <tt class="py-line"><tt class="py-docstring"> - The collect directory must be an absolute path.</tt> </tt>
<a name="L1892"></a><tt class="py-lineno">1892</tt> <tt class="py-line"><tt class="py-docstring"> - The remote user must be a non-empty string.</tt> </tt>
<a name="L1893"></a><tt class="py-lineno">1893</tt> <tt class="py-line"><tt class="py-docstring"> - The rcp command must be a non-empty string.</tt> </tt>
<a name="L1894"></a><tt class="py-lineno">1894</tt> <tt class="py-line"><tt class="py-docstring"> - The rsh command must be a non-empty string.</tt> </tt>
<a name="L1895"></a><tt class="py-lineno">1895</tt> <tt class="py-line"><tt class="py-docstring"> - The cback command must be a non-empty string.</tt> </tt>
<a name="L1896"></a><tt class="py-lineno">1896</tt> <tt class="py-line"><tt class="py-docstring"> - Any managed action name must be a non-empty string matching C{ACTION_NAME_REGEX}</tt> </tt>
<a name="L1897"></a><tt class="py-lineno">1897</tt> <tt class="py-line"><tt class="py-docstring"> - The ignore failure mode must be one of the values in L{VALID_FAILURE_MODES}.</tt> </tt>
<a name="L1898"></a><tt class="py-lineno">1898</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1899"></a><tt class="py-lineno">1899</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, name, collectDir, remoteUser, rcpCommand</tt> </tt>
<a name="L1900"></a><tt class="py-lineno">1900</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1901"></a><tt class="py-lineno">1901</tt> <tt class="py-line"> </tt>
<a name="RemotePeer.__init__"></a><div id="RemotePeer.__init__-def"><a name="L1902"></a><tt class="py-lineno">1902</tt> <a class="py-toggle" href="#" id="RemotePeer.__init__-toggle" onclick="return toggle('RemotePeer.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">collectDir</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">remoteUser</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L1903"></a><tt class="py-lineno">1903</tt> <tt class="py-line"> <tt class="py-param">rcpCommand</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">rshCommand</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">cbackCommand</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L1904"></a><tt class="py-lineno">1904</tt> <tt class="py-line"> <tt class="py-param">managed</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">managedActions</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">ignoreFailureMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer.__init__-expanded"><a name="L1905"></a><tt class="py-lineno">1905</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1906"></a><tt class="py-lineno">1906</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{RemotePeer} class.</tt> </tt>
<a name="L1907"></a><tt class="py-lineno">1907</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1908"></a><tt class="py-lineno">1908</tt> <tt class="py-line"><tt class="py-docstring"> @param name: Name of the peer, must be a valid hostname.</tt> </tt>
<a name="L1909"></a><tt class="py-lineno">1909</tt> <tt class="py-line"><tt class="py-docstring"> @param collectDir: Collect directory to stage files from on peer.</tt> </tt>
<a name="L1910"></a><tt class="py-lineno">1910</tt> <tt class="py-line"><tt class="py-docstring"> @param remoteUser: Name of backup user on remote peer.</tt> </tt>
<a name="L1911"></a><tt class="py-lineno">1911</tt> <tt class="py-line"><tt class="py-docstring"> @param rcpCommand: Overridden rcp-compatible copy command for peer.</tt> </tt>
<a name="L1912"></a><tt class="py-lineno">1912</tt> <tt class="py-line"><tt class="py-docstring"> @param rshCommand: Overridden rsh-compatible remote shell command for peer.</tt> </tt>
<a name="L1913"></a><tt class="py-lineno">1913</tt> <tt class="py-line"><tt class="py-docstring"> @param cbackCommand: Overridden cback-compatible command to use on remote peer.</tt> </tt>
<a name="L1914"></a><tt class="py-lineno">1914</tt> <tt class="py-line"><tt class="py-docstring"> @param managed: Indicates whether this is a managed peer.</tt> </tt>
<a name="L1915"></a><tt class="py-lineno">1915</tt> <tt class="py-line"><tt class="py-docstring"> @param managedActions: Overridden set of actions that are managed on the peer.</tt> </tt>
<a name="L1916"></a><tt class="py-lineno">1916</tt> <tt class="py-line"><tt class="py-docstring"> @param ignoreFailureMode: Ignore failure mode for peer.</tt> </tt>
<a name="L1917"></a><tt class="py-lineno">1917</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L1918"></a><tt class="py-lineno">1918</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L1919"></a><tt class="py-lineno">1919</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1920"></a><tt class="py-lineno">1920</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1921"></a><tt class="py-lineno">1921</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1922"></a><tt class="py-lineno">1922</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remoteUser</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1923"></a><tt class="py-lineno">1923</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rcpCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1924"></a><tt class="py-lineno">1924</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rshCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1925"></a><tt class="py-lineno">1925</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cbackCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1926"></a><tt class="py-lineno">1926</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managed</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1927"></a><tt class="py-lineno">1927</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1928"></a><tt class="py-lineno">1928</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFailureMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L1929"></a><tt class="py-lineno">1929</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-480" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-480', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-481" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-481', 'name', 'link-201');">name</a></tt> </tt>
<a name="L1930"></a><tt class="py-lineno">1930</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-482" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-482', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op">=</tt> <tt id="link-483" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-483', 'collectDir', 'link-448');">collectDir</a></tt> </tt>
<a name="L1931"></a><tt class="py-lineno">1931</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-484" class="py-name" targets="Variable CedarBackup2.config.RemotePeer.remoteUser=CedarBackup2.config.RemotePeer-class.html#remoteUser,Variable CedarBackup2.peer.RemotePeer.remoteUser=CedarBackup2.peer.RemotePeer-class.html#remoteUser"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-484', 'remoteUser', 'link-484');">remoteUser</a></tt> <tt class="py-op">=</tt> <tt id="link-485" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-485', 'remoteUser', 'link-484');">remoteUser</a></tt> </tt>
<a name="L1932"></a><tt class="py-lineno">1932</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-486" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.rcpCommand=CedarBackup2.config.OptionsConfig-class.html#rcpCommand,Variable CedarBackup2.config.RemotePeer.rcpCommand=CedarBackup2.config.RemotePeer-class.html#rcpCommand,Variable CedarBackup2.peer.RemotePeer.rcpCommand=CedarBackup2.peer.RemotePeer-class.html#rcpCommand"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-486', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-487" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-487', 'rcpCommand', 'link-486');">rcpCommand</a></tt> </tt>
<a name="L1933"></a><tt class="py-lineno">1933</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-488" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.rshCommand=CedarBackup2.config.OptionsConfig-class.html#rshCommand,Variable CedarBackup2.config.RemotePeer.rshCommand=CedarBackup2.config.RemotePeer-class.html#rshCommand,Variable CedarBackup2.peer.RemotePeer.rshCommand=CedarBackup2.peer.RemotePeer-class.html#rshCommand"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-488', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-489" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-489', 'rshCommand', 'link-488');">rshCommand</a></tt> </tt>
<a name="L1934"></a><tt class="py-lineno">1934</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-490" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.cbackCommand=CedarBackup2.config.OptionsConfig-class.html#cbackCommand,Variable CedarBackup2.config.RemotePeer.cbackCommand=CedarBackup2.config.RemotePeer-class.html#cbackCommand,Variable CedarBackup2.peer.RemotePeer.cbackCommand=CedarBackup2.peer.RemotePeer-class.html#cbackCommand"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-490', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-491" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-491', 'cbackCommand', 'link-490');">cbackCommand</a></tt> </tt>
<a name="L1935"></a><tt class="py-lineno">1935</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-492" class="py-name" targets="Variable CedarBackup2.cli.Options.managed=CedarBackup2.cli.Options-class.html#managed,Variable CedarBackup2.config.RemotePeer.managed=CedarBackup2.config.RemotePeer-class.html#managed"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-492', 'managed', 'link-492');">managed</a></tt> <tt class="py-op">=</tt> <tt id="link-493" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-493', 'managed', 'link-492');">managed</a></tt> </tt>
<a name="L1936"></a><tt class="py-lineno">1936</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-494" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.managedActions=CedarBackup2.config.OptionsConfig-class.html#managedActions,Variable CedarBackup2.config.RemotePeer.managedActions=CedarBackup2.config.RemotePeer-class.html#managedActions"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-494', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt id="link-495" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-495', 'managedActions', 'link-494');">managedActions</a></tt> </tt>
<a name="L1937"></a><tt class="py-lineno">1937</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-496" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-496', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op">=</tt> <tt id="link-497" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-497', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> </tt>
</div><a name="L1938"></a><tt class="py-lineno">1938</tt> <tt class="py-line"> </tt>
<a name="RemotePeer.__repr__"></a><div id="RemotePeer.__repr__-def"><a name="L1939"></a><tt class="py-lineno">1939</tt> <a class="py-toggle" href="#" id="RemotePeer.__repr__-toggle" onclick="return toggle('RemotePeer.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer.__repr__-expanded"><a name="L1940"></a><tt class="py-lineno">1940</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1941"></a><tt class="py-lineno">1941</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L1942"></a><tt class="py-lineno">1942</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1943"></a><tt class="py-lineno">1943</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"RemotePeer(%s, %s, %s, %s, %s, %s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-498" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-498', 'name', 'link-201');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-499" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-499', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-500" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-500', 'remoteUser', 'link-484');">remoteUser</a></tt><tt class="py-op">,</tt> </tt>
<a name="L1944"></a><tt class="py-lineno">1944</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-501" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-501', 'rcpCommand', 'link-486');">rcpCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-502" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-502', 'rshCommand', 'link-488');">rshCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-503" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-503', 'cbackCommand', 'link-490');">cbackCommand</a></tt><tt class="py-op">,</tt> </tt>
<a name="L1945"></a><tt class="py-lineno">1945</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-504" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-504', 'managed', 'link-492');">managed</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-505" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-505', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-506" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-506', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L1946"></a><tt class="py-lineno">1946</tt> <tt class="py-line"> </tt>
<a name="RemotePeer.__str__"></a><div id="RemotePeer.__str__-def"><a name="L1947"></a><tt class="py-lineno">1947</tt> <a class="py-toggle" href="#" id="RemotePeer.__str__-toggle" onclick="return toggle('RemotePeer.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer.__str__-expanded"><a name="L1948"></a><tt class="py-lineno">1948</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1949"></a><tt class="py-lineno">1949</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L1950"></a><tt class="py-lineno">1950</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1951"></a><tt class="py-lineno">1951</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-507" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-507', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L1952"></a><tt class="py-lineno">1952</tt> <tt class="py-line"> </tt>
<a name="RemotePeer.__cmp__"></a><div id="RemotePeer.__cmp__-def"><a name="L1953"></a><tt class="py-lineno">1953</tt> <a class="py-toggle" href="#" id="RemotePeer.__cmp__-toggle" onclick="return toggle('RemotePeer.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer.__cmp__-expanded"><a name="L1954"></a><tt class="py-lineno">1954</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L1955"></a><tt class="py-lineno">1955</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L1956"></a><tt class="py-lineno">1956</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L1957"></a><tt class="py-lineno">1957</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L1958"></a><tt class="py-lineno">1958</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L1959"></a><tt class="py-lineno">1959</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L1960"></a><tt class="py-lineno">1960</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1961"></a><tt class="py-lineno">1961</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-508" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-508', 'name', 'link-201');">name</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-509" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-509', 'name', 'link-201');">name</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1962"></a><tt class="py-lineno">1962</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-510" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-510', 'name', 'link-201');">name</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-511" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-511', 'name', 'link-201');">name</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1963"></a><tt class="py-lineno">1963</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1964"></a><tt class="py-lineno">1964</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1965"></a><tt class="py-lineno">1965</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1966"></a><tt class="py-lineno">1966</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-512" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-512', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-513" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-513', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1967"></a><tt class="py-lineno">1967</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-514" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-514', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-515" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-515', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1968"></a><tt class="py-lineno">1968</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1969"></a><tt class="py-lineno">1969</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1970"></a><tt class="py-lineno">1970</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1971"></a><tt class="py-lineno">1971</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-516" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-516', 'remoteUser', 'link-484');">remoteUser</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-517" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-517', 'remoteUser', 'link-484');">remoteUser</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1972"></a><tt class="py-lineno">1972</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-518" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-518', 'remoteUser', 'link-484');">remoteUser</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-519" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-519', 'remoteUser', 'link-484');">remoteUser</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1973"></a><tt class="py-lineno">1973</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1974"></a><tt class="py-lineno">1974</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1975"></a><tt class="py-lineno">1975</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1976"></a><tt class="py-lineno">1976</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-520" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-520', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-521" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-521', 'rcpCommand', 'link-486');">rcpCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1977"></a><tt class="py-lineno">1977</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-522" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-522', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-523" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-523', 'rcpCommand', 'link-486');">rcpCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1978"></a><tt class="py-lineno">1978</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1979"></a><tt class="py-lineno">1979</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1980"></a><tt class="py-lineno">1980</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1981"></a><tt class="py-lineno">1981</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-524" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-524', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-525" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-525', 'rshCommand', 'link-488');">rshCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1982"></a><tt class="py-lineno">1982</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-526" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-526', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-527" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-527', 'rshCommand', 'link-488');">rshCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1983"></a><tt class="py-lineno">1983</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1984"></a><tt class="py-lineno">1984</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1985"></a><tt class="py-lineno">1985</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1986"></a><tt class="py-lineno">1986</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-528" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-528', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-529" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-529', 'cbackCommand', 'link-490');">cbackCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1987"></a><tt class="py-lineno">1987</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-530" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-530', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-531" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-531', 'cbackCommand', 'link-490');">cbackCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1988"></a><tt class="py-lineno">1988</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1989"></a><tt class="py-lineno">1989</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1990"></a><tt class="py-lineno">1990</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1991"></a><tt class="py-lineno">1991</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-532" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-532', 'managed', 'link-492');">managed</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-533" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-533', 'managed', 'link-492');">managed</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1992"></a><tt class="py-lineno">1992</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-534" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-534', 'managed', 'link-492');">managed</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-535" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-535', 'managed', 'link-492');">managed</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1993"></a><tt class="py-lineno">1993</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1994"></a><tt class="py-lineno">1994</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L1995"></a><tt class="py-lineno">1995</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L1996"></a><tt class="py-lineno">1996</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-536" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-536', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-537" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-537', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1997"></a><tt class="py-lineno">1997</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-538" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-538', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-539" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-539', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L1998"></a><tt class="py-lineno">1998</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L1999"></a><tt class="py-lineno">1999</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2000"></a><tt class="py-lineno">2000</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2001"></a><tt class="py-lineno">2001</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-540" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-540', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-541" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-541', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2002"></a><tt class="py-lineno">2002</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-542" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-542', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-543" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-543', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2003"></a><tt class="py-lineno">2003</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2004"></a><tt class="py-lineno">2004</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2005"></a><tt class="py-lineno">2005</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2006"></a><tt class="py-lineno">2006</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L2007"></a><tt class="py-lineno">2007</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setName"></a><div id="RemotePeer._setName-def"><a name="L2008"></a><tt class="py-lineno">2008</tt> <a class="py-toggle" href="#" id="RemotePeer._setName-toggle" onclick="return toggle('RemotePeer._setName');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setName">_setName</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setName-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setName-expanded"><a name="L2009"></a><tt class="py-lineno">2009</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2010"></a><tt class="py-lineno">2010</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the peer name.</tt> </tt>
<a name="L2011"></a><tt class="py-lineno">2011</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2012"></a><tt class="py-lineno">2012</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2013"></a><tt class="py-lineno">2013</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2014"></a><tt class="py-lineno">2014</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2015"></a><tt class="py-lineno">2015</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2016"></a><tt class="py-lineno">2016</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The peer name must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2017"></a><tt class="py-lineno">2017</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2018"></a><tt class="py-lineno">2018</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getName"></a><div id="RemotePeer._getName-def"><a name="L2019"></a><tt class="py-lineno">2019</tt> <a class="py-toggle" href="#" id="RemotePeer._getName-toggle" onclick="return toggle('RemotePeer._getName');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getName">_getName</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getName-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getName-expanded"><a name="L2020"></a><tt class="py-lineno">2020</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2021"></a><tt class="py-lineno">2021</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the peer name.</tt> </tt>
<a name="L2022"></a><tt class="py-lineno">2022</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2023"></a><tt class="py-lineno">2023</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> </tt>
</div><a name="L2024"></a><tt class="py-lineno">2024</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setCollectDir"></a><div id="RemotePeer._setCollectDir-def"><a name="L2025"></a><tt class="py-lineno">2025</tt> <a class="py-toggle" href="#" id="RemotePeer._setCollectDir-toggle" onclick="return toggle('RemotePeer._setCollectDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setCollectDir">_setCollectDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setCollectDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setCollectDir-expanded"><a name="L2026"></a><tt class="py-lineno">2026</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2027"></a><tt class="py-lineno">2027</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the collect directory.</tt> </tt>
<a name="L2028"></a><tt class="py-lineno">2028</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L2029"></a><tt class="py-lineno">2029</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L2030"></a><tt class="py-lineno">2030</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L2031"></a><tt class="py-lineno">2031</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L2032"></a><tt class="py-lineno">2032</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2033"></a><tt class="py-lineno">2033</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2034"></a><tt class="py-lineno">2034</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L2035"></a><tt class="py-lineno">2035</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Collect directory must be an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L2036"></a><tt class="py-lineno">2036</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDir</tt> <tt class="py-op">=</tt> <tt id="link-544" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-544', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2037"></a><tt class="py-lineno">2037</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getCollectDir"></a><div id="RemotePeer._getCollectDir-def"><a name="L2038"></a><tt class="py-lineno">2038</tt> <a class="py-toggle" href="#" id="RemotePeer._getCollectDir-toggle" onclick="return toggle('RemotePeer._getCollectDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getCollectDir">_getCollectDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getCollectDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getCollectDir-expanded"><a name="L2039"></a><tt class="py-lineno">2039</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2040"></a><tt class="py-lineno">2040</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the collect directory.</tt> </tt>
<a name="L2041"></a><tt class="py-lineno">2041</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2042"></a><tt class="py-lineno">2042</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDir</tt> </tt>
</div><a name="L2043"></a><tt class="py-lineno">2043</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setRemoteUser"></a><div id="RemotePeer._setRemoteUser-def"><a name="L2044"></a><tt class="py-lineno">2044</tt> <a class="py-toggle" href="#" id="RemotePeer._setRemoteUser-toggle" onclick="return toggle('RemotePeer._setRemoteUser');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setRemoteUser">_setRemoteUser</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setRemoteUser-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setRemoteUser-expanded"><a name="L2045"></a><tt class="py-lineno">2045</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2046"></a><tt class="py-lineno">2046</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the remote user.</tt> </tt>
<a name="L2047"></a><tt class="py-lineno">2047</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2048"></a><tt class="py-lineno">2048</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2049"></a><tt class="py-lineno">2049</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2050"></a><tt class="py-lineno">2050</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2051"></a><tt class="py-lineno">2051</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2052"></a><tt class="py-lineno">2052</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The remote user must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2053"></a><tt class="py-lineno">2053</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remoteUser</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2054"></a><tt class="py-lineno">2054</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getRemoteUser"></a><div id="RemotePeer._getRemoteUser-def"><a name="L2055"></a><tt class="py-lineno">2055</tt> <a class="py-toggle" href="#" id="RemotePeer._getRemoteUser-toggle" onclick="return toggle('RemotePeer._getRemoteUser');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getRemoteUser">_getRemoteUser</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getRemoteUser-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getRemoteUser-expanded"><a name="L2056"></a><tt class="py-lineno">2056</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2057"></a><tt class="py-lineno">2057</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the remote user.</tt> </tt>
<a name="L2058"></a><tt class="py-lineno">2058</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2059"></a><tt class="py-lineno">2059</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remoteUser</tt> </tt>
</div><a name="L2060"></a><tt class="py-lineno">2060</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setRcpCommand"></a><div id="RemotePeer._setRcpCommand-def"><a name="L2061"></a><tt class="py-lineno">2061</tt> <a class="py-toggle" href="#" id="RemotePeer._setRcpCommand-toggle" onclick="return toggle('RemotePeer._setRcpCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setRcpCommand">_setRcpCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setRcpCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setRcpCommand-expanded"><a name="L2062"></a><tt class="py-lineno">2062</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2063"></a><tt class="py-lineno">2063</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the rcp command.</tt> </tt>
<a name="L2064"></a><tt class="py-lineno">2064</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2065"></a><tt class="py-lineno">2065</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2066"></a><tt class="py-lineno">2066</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2067"></a><tt class="py-lineno">2067</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2068"></a><tt class="py-lineno">2068</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2069"></a><tt class="py-lineno">2069</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The rcp command must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2070"></a><tt class="py-lineno">2070</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rcpCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2071"></a><tt class="py-lineno">2071</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getRcpCommand"></a><div id="RemotePeer._getRcpCommand-def"><a name="L2072"></a><tt class="py-lineno">2072</tt> <a class="py-toggle" href="#" id="RemotePeer._getRcpCommand-toggle" onclick="return toggle('RemotePeer._getRcpCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getRcpCommand">_getRcpCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getRcpCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getRcpCommand-expanded"><a name="L2073"></a><tt class="py-lineno">2073</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2074"></a><tt class="py-lineno">2074</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the rcp command.</tt> </tt>
<a name="L2075"></a><tt class="py-lineno">2075</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2076"></a><tt class="py-lineno">2076</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rcpCommand</tt> </tt>
</div><a name="L2077"></a><tt class="py-lineno">2077</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setRshCommand"></a><div id="RemotePeer._setRshCommand-def"><a name="L2078"></a><tt class="py-lineno">2078</tt> <a class="py-toggle" href="#" id="RemotePeer._setRshCommand-toggle" onclick="return toggle('RemotePeer._setRshCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setRshCommand">_setRshCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setRshCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setRshCommand-expanded"><a name="L2079"></a><tt class="py-lineno">2079</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2080"></a><tt class="py-lineno">2080</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the rsh command.</tt> </tt>
<a name="L2081"></a><tt class="py-lineno">2081</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2082"></a><tt class="py-lineno">2082</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2083"></a><tt class="py-lineno">2083</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2084"></a><tt class="py-lineno">2084</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2085"></a><tt class="py-lineno">2085</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2086"></a><tt class="py-lineno">2086</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The rsh command must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2087"></a><tt class="py-lineno">2087</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rshCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2088"></a><tt class="py-lineno">2088</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getRshCommand"></a><div id="RemotePeer._getRshCommand-def"><a name="L2089"></a><tt class="py-lineno">2089</tt> <a class="py-toggle" href="#" id="RemotePeer._getRshCommand-toggle" onclick="return toggle('RemotePeer._getRshCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getRshCommand">_getRshCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getRshCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getRshCommand-expanded"><a name="L2090"></a><tt class="py-lineno">2090</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2091"></a><tt class="py-lineno">2091</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the rsh command.</tt> </tt>
<a name="L2092"></a><tt class="py-lineno">2092</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2093"></a><tt class="py-lineno">2093</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rshCommand</tt> </tt>
</div><a name="L2094"></a><tt class="py-lineno">2094</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setCbackCommand"></a><div id="RemotePeer._setCbackCommand-def"><a name="L2095"></a><tt class="py-lineno">2095</tt> <a class="py-toggle" href="#" id="RemotePeer._setCbackCommand-toggle" onclick="return toggle('RemotePeer._setCbackCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setCbackCommand">_setCbackCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setCbackCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setCbackCommand-expanded"><a name="L2096"></a><tt class="py-lineno">2096</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2097"></a><tt class="py-lineno">2097</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the cback command.</tt> </tt>
<a name="L2098"></a><tt class="py-lineno">2098</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2099"></a><tt class="py-lineno">2099</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2100"></a><tt class="py-lineno">2100</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2101"></a><tt class="py-lineno">2101</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2102"></a><tt class="py-lineno">2102</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2103"></a><tt class="py-lineno">2103</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The cback command must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2104"></a><tt class="py-lineno">2104</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cbackCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2105"></a><tt class="py-lineno">2105</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getCbackCommand"></a><div id="RemotePeer._getCbackCommand-def"><a name="L2106"></a><tt class="py-lineno">2106</tt> <a class="py-toggle" href="#" id="RemotePeer._getCbackCommand-toggle" onclick="return toggle('RemotePeer._getCbackCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getCbackCommand">_getCbackCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getCbackCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getCbackCommand-expanded"><a name="L2107"></a><tt class="py-lineno">2107</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2108"></a><tt class="py-lineno">2108</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the cback command.</tt> </tt>
<a name="L2109"></a><tt class="py-lineno">2109</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2110"></a><tt class="py-lineno">2110</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cbackCommand</tt> </tt>
</div><a name="L2111"></a><tt class="py-lineno">2111</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setManaged"></a><div id="RemotePeer._setManaged-def"><a name="L2112"></a><tt class="py-lineno">2112</tt> <a class="py-toggle" href="#" id="RemotePeer._setManaged-toggle" onclick="return toggle('RemotePeer._setManaged');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setManaged">_setManaged</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setManaged-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setManaged-expanded"><a name="L2113"></a><tt class="py-lineno">2113</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2114"></a><tt class="py-lineno">2114</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the managed flag.</tt> </tt>
<a name="L2115"></a><tt class="py-lineno">2115</tt> <tt class="py-line"><tt class="py-docstring"> No validations, but we normalize the value to C{True} or C{False}.</tt> </tt>
<a name="L2116"></a><tt class="py-lineno">2116</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2117"></a><tt class="py-lineno">2117</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt><tt class="py-op">:</tt> </tt>
<a name="L2118"></a><tt class="py-lineno">2118</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managed</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L2119"></a><tt class="py-lineno">2119</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2120"></a><tt class="py-lineno">2120</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managed</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L2121"></a><tt class="py-lineno">2121</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getManaged"></a><div id="RemotePeer._getManaged-def"><a name="L2122"></a><tt class="py-lineno">2122</tt> <a class="py-toggle" href="#" id="RemotePeer._getManaged-toggle" onclick="return toggle('RemotePeer._getManaged');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getManaged">_getManaged</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getManaged-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getManaged-expanded"><a name="L2123"></a><tt class="py-lineno">2123</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2124"></a><tt class="py-lineno">2124</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the managed flag.</tt> </tt>
<a name="L2125"></a><tt class="py-lineno">2125</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2126"></a><tt class="py-lineno">2126</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managed</tt> </tt>
</div><a name="L2127"></a><tt class="py-lineno">2127</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setManagedActions"></a><div id="RemotePeer._setManagedActions-def"><a name="L2128"></a><tt class="py-lineno">2128</tt> <a class="py-toggle" href="#" id="RemotePeer._setManagedActions-toggle" onclick="return toggle('RemotePeer._setManagedActions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setManagedActions">_setManagedActions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setManagedActions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setManagedActions-expanded"><a name="L2129"></a><tt class="py-lineno">2129</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2130"></a><tt class="py-lineno">2130</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the managed actions list.</tt> </tt>
<a name="L2131"></a><tt class="py-lineno">2131</tt> <tt class="py-line"><tt class="py-docstring"> Elements do not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L2132"></a><tt class="py-lineno">2132</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2133"></a><tt class="py-lineno">2133</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2134"></a><tt class="py-lineno">2134</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2135"></a><tt class="py-lineno">2135</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2136"></a><tt class="py-lineno">2136</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L2137"></a><tt class="py-lineno">2137</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> </tt>
<a name="L2138"></a><tt class="py-lineno">2138</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> <tt class="py-op">=</tt> <tt id="link-545" class="py-name"><a title="CedarBackup2.util.RegexMatchList" class="py-name" href="#" onclick="return doclink('link-545', 'RegexMatchList', 'link-13');">RegexMatchList</a></tt><tt class="py-op">(</tt><tt id="link-546" class="py-name"><a title="CedarBackup2.config.ACTION_NAME_REGEX" class="py-name" href="#" onclick="return doclink('link-546', 'ACTION_NAME_REGEX', 'link-67');">ACTION_NAME_REGEX</a></tt><tt class="py-op">,</tt> <tt class="py-name">emptyAllowed</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-name">prefix</tt><tt class="py-op">=</tt><tt class="py-string">"Action name"</tt><tt class="py-op">)</tt> </tt>
<a name="L2139"></a><tt class="py-lineno">2139</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt><tt class="py-op">.</tt><tt id="link-547" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-547', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L2140"></a><tt class="py-lineno">2140</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L2141"></a><tt class="py-lineno">2141</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L2142"></a><tt class="py-lineno">2142</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L2143"></a><tt class="py-lineno">2143</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getManagedActions"></a><div id="RemotePeer._getManagedActions-def"><a name="L2144"></a><tt class="py-lineno">2144</tt> <a class="py-toggle" href="#" id="RemotePeer._getManagedActions-toggle" onclick="return toggle('RemotePeer._getManagedActions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getManagedActions">_getManagedActions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getManagedActions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getManagedActions-expanded"><a name="L2145"></a><tt class="py-lineno">2145</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2146"></a><tt class="py-lineno">2146</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the managed actions list.</tt> </tt>
<a name="L2147"></a><tt class="py-lineno">2147</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2148"></a><tt class="py-lineno">2148</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> </tt>
</div><a name="L2149"></a><tt class="py-lineno">2149</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._setIgnoreFailureMode"></a><div id="RemotePeer._setIgnoreFailureMode-def"><a name="L2150"></a><tt class="py-lineno">2150</tt> <a class="py-toggle" href="#" id="RemotePeer._setIgnoreFailureMode-toggle" onclick="return toggle('RemotePeer._setIgnoreFailureMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_setIgnoreFailureMode">_setIgnoreFailureMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._setIgnoreFailureMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._setIgnoreFailureMode-expanded"><a name="L2151"></a><tt class="py-lineno">2151</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2152"></a><tt class="py-lineno">2152</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the ignoreFailure mode.</tt> </tt>
<a name="L2153"></a><tt class="py-lineno">2153</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the mode must be one of the values in L{VALID_FAILURE_MODES}.</tt> </tt>
<a name="L2154"></a><tt class="py-lineno">2154</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L2155"></a><tt class="py-lineno">2155</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2156"></a><tt class="py-lineno">2156</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2157"></a><tt class="py-lineno">2157</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-548" class="py-name"><a title="CedarBackup2.config.VALID_FAILURE_MODES" class="py-name" href="#" onclick="return doclink('link-548', 'VALID_FAILURE_MODES', 'link-65');">VALID_FAILURE_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2158"></a><tt class="py-lineno">2158</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Ignore failure mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-549" class="py-name"><a title="CedarBackup2.config.VALID_FAILURE_MODES" class="py-name" href="#" onclick="return doclink('link-549', 'VALID_FAILURE_MODES', 'link-65');">VALID_FAILURE_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L2159"></a><tt class="py-lineno">2159</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFailureMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2160"></a><tt class="py-lineno">2160</tt> <tt class="py-line"> </tt>
<a name="RemotePeer._getIgnoreFailureMode"></a><div id="RemotePeer._getIgnoreFailureMode-def"><a name="L2161"></a><tt class="py-lineno">2161</tt> <a class="py-toggle" href="#" id="RemotePeer._getIgnoreFailureMode-toggle" onclick="return toggle('RemotePeer._getIgnoreFailureMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.RemotePeer-class.html#_getIgnoreFailureMode">_getIgnoreFailureMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RemotePeer._getIgnoreFailureMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="RemotePeer._getIgnoreFailureMode-expanded"><a name="L2162"></a><tt class="py-lineno">2162</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2163"></a><tt class="py-lineno">2163</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the ignoreFailure mode.</tt> </tt>
<a name="L2164"></a><tt class="py-lineno">2164</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2165"></a><tt class="py-lineno">2165</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFailureMode</tt> </tt>
</div><a name="L2166"></a><tt class="py-lineno">2166</tt> <tt class="py-line"> </tt>
<a name="L2167"></a><tt class="py-lineno">2167</tt> <tt class="py-line"> <tt id="link-550" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-550', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-551" class="py-name"><a title="CedarBackup2.config.ExtendedAction._getName
CedarBackup2.config.LocalPeer._getName
CedarBackup2.config.RemotePeer._getName
CedarBackup2.peer.LocalPeer._getName
CedarBackup2.peer.RemotePeer._getName
CedarBackup2.util.DirectedGraph._getName" class="py-name" href="#" onclick="return doclink('link-551', '_getName', 'link-240');">_getName</a></tt><tt class="py-op">,</tt> <tt id="link-552" class="py-name"><a title="CedarBackup2.config.ExtendedAction._setName
CedarBackup2.config.LocalPeer._setName
CedarBackup2.config.RemotePeer._setName
CedarBackup2.peer.LocalPeer._setName
CedarBackup2.peer.RemotePeer._setName" class="py-name" href="#" onclick="return doclink('link-552', '_setName', 'link-241');">_setName</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Name of the peer, must be a valid hostname."</tt><tt class="py-op">)</tt> </tt>
<a name="L2168"></a><tt class="py-lineno">2168</tt> <tt class="py-line"> <tt id="link-553" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-553', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-554" class="py-name"><a title="CedarBackup2.config.LocalPeer._getCollectDir
CedarBackup2.config.RemotePeer._getCollectDir
CedarBackup2.peer.LocalPeer._getCollectDir
CedarBackup2.peer.RemotePeer._getCollectDir" class="py-name" href="#" onclick="return doclink('link-554', '_getCollectDir', 'link-475');">_getCollectDir</a></tt><tt class="py-op">,</tt> <tt id="link-555" class="py-name"><a title="CedarBackup2.config.LocalPeer._setCollectDir
CedarBackup2.config.RemotePeer._setCollectDir
CedarBackup2.peer.LocalPeer._setCollectDir
CedarBackup2.peer.RemotePeer._setCollectDir" class="py-name" href="#" onclick="return doclink('link-555', '_setCollectDir', 'link-476');">_setCollectDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Collect directory to stage files from on peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L2169"></a><tt class="py-lineno">2169</tt> <tt class="py-line"> <tt id="link-556" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-556', 'remoteUser', 'link-484');">remoteUser</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-557" class="py-name" targets="Function CedarBackup2.actions.stage._getRemoteUser()=CedarBackup2.actions.stage-module.html#_getRemoteUser,Static Method CedarBackup2.cli._ActionSet._getRemoteUser()=CedarBackup2.cli._ActionSet-class.html#_getRemoteUser,Method CedarBackup2.config.RemotePeer._getRemoteUser()=CedarBackup2.config.RemotePeer-class.html#_getRemoteUser,Method CedarBackup2.peer.RemotePeer._getRemoteUser()=CedarBackup2.peer.RemotePeer-class.html#_getRemoteUser"><a title="CedarBackup2.actions.stage._getRemoteUser
CedarBackup2.cli._ActionSet._getRemoteUser
CedarBackup2.config.RemotePeer._getRemoteUser
CedarBackup2.peer.RemotePeer._getRemoteUser" class="py-name" href="#" onclick="return doclink('link-557', '_getRemoteUser', 'link-557');">_getRemoteUser</a></tt><tt class="py-op">,</tt> <tt id="link-558" class="py-name" targets="Method CedarBackup2.config.RemotePeer._setRemoteUser()=CedarBackup2.config.RemotePeer-class.html#_setRemoteUser,Method CedarBackup2.peer.RemotePeer._setRemoteUser()=CedarBackup2.peer.RemotePeer-class.html#_setRemoteUser"><a title="CedarBackup2.config.RemotePeer._setRemoteUser
CedarBackup2.peer.RemotePeer._setRemoteUser" class="py-name" href="#" onclick="return doclink('link-558', '_setRemoteUser', 'link-558');">_setRemoteUser</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Name of backup user on remote peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L2170"></a><tt class="py-lineno">2170</tt> <tt class="py-line"> <tt id="link-559" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-559', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-560" class="py-name" targets="Function CedarBackup2.actions.stage._getRcpCommand()=CedarBackup2.actions.stage-module.html#_getRcpCommand,Method CedarBackup2.config.OptionsConfig._getRcpCommand()=CedarBackup2.config.OptionsConfig-class.html#_getRcpCommand,Method CedarBackup2.config.RemotePeer._getRcpCommand()=CedarBackup2.config.RemotePeer-class.html#_getRcpCommand,Method CedarBackup2.peer.RemotePeer._getRcpCommand()=CedarBackup2.peer.RemotePeer-class.html#_getRcpCommand"><a title="CedarBackup2.actions.stage._getRcpCommand
CedarBackup2.config.OptionsConfig._getRcpCommand
CedarBackup2.config.RemotePeer._getRcpCommand
CedarBackup2.peer.RemotePeer._getRcpCommand" class="py-name" href="#" onclick="return doclink('link-560', '_getRcpCommand', 'link-560');">_getRcpCommand</a></tt><tt class="py-op">,</tt> <tt id="link-561" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setRcpCommand()=CedarBackup2.config.OptionsConfig-class.html#_setRcpCommand,Method CedarBackup2.config.RemotePeer._setRcpCommand()=CedarBackup2.config.RemotePeer-class.html#_setRcpCommand,Method CedarBackup2.peer.RemotePeer._setRcpCommand()=CedarBackup2.peer.RemotePeer-class.html#_setRcpCommand"><a title="CedarBackup2.config.OptionsConfig._setRcpCommand
CedarBackup2.config.RemotePeer._setRcpCommand
CedarBackup2.peer.RemotePeer._setRcpCommand" class="py-name" href="#" onclick="return doclink('link-561', '_setRcpCommand', 'link-561');">_setRcpCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Overridden rcp-compatible copy command for peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L2171"></a><tt class="py-lineno">2171</tt> <tt class="py-line"> <tt id="link-562" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-562', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-563" class="py-name" targets="Static Method CedarBackup2.cli._ActionSet._getRshCommand()=CedarBackup2.cli._ActionSet-class.html#_getRshCommand,Method CedarBackup2.config.OptionsConfig._getRshCommand()=CedarBackup2.config.OptionsConfig-class.html#_getRshCommand,Method CedarBackup2.config.RemotePeer._getRshCommand()=CedarBackup2.config.RemotePeer-class.html#_getRshCommand,Method CedarBackup2.peer.RemotePeer._getRshCommand()=CedarBackup2.peer.RemotePeer-class.html#_getRshCommand"><a title="CedarBackup2.cli._ActionSet._getRshCommand
CedarBackup2.config.OptionsConfig._getRshCommand
CedarBackup2.config.RemotePeer._getRshCommand
CedarBackup2.peer.RemotePeer._getRshCommand" class="py-name" href="#" onclick="return doclink('link-563', '_getRshCommand', 'link-563');">_getRshCommand</a></tt><tt class="py-op">,</tt> <tt id="link-564" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setRshCommand()=CedarBackup2.config.OptionsConfig-class.html#_setRshCommand,Method CedarBackup2.config.RemotePeer._setRshCommand()=CedarBackup2.config.RemotePeer-class.html#_setRshCommand,Method CedarBackup2.peer.RemotePeer._setRshCommand()=CedarBackup2.peer.RemotePeer-class.html#_setRshCommand"><a title="CedarBackup2.config.OptionsConfig._setRshCommand
CedarBackup2.config.RemotePeer._setRshCommand
CedarBackup2.peer.RemotePeer._setRshCommand" class="py-name" href="#" onclick="return doclink('link-564', '_setRshCommand', 'link-564');">_setRshCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Overridden rsh-compatible remote shell command for peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L2172"></a><tt class="py-lineno">2172</tt> <tt class="py-line"> <tt id="link-565" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-565', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-566" class="py-name" targets="Static Method CedarBackup2.cli._ActionSet._getCbackCommand()=CedarBackup2.cli._ActionSet-class.html#_getCbackCommand,Method CedarBackup2.config.OptionsConfig._getCbackCommand()=CedarBackup2.config.OptionsConfig-class.html#_getCbackCommand,Method CedarBackup2.config.RemotePeer._getCbackCommand()=CedarBackup2.config.RemotePeer-class.html#_getCbackCommand,Method CedarBackup2.peer.RemotePeer._getCbackCommand()=CedarBackup2.peer.RemotePeer-class.html#_getCbackCommand"><a title="CedarBackup2.cli._ActionSet._getCbackCommand
CedarBackup2.config.OptionsConfig._getCbackCommand
CedarBackup2.config.RemotePeer._getCbackCommand
CedarBackup2.peer.RemotePeer._getCbackCommand" class="py-name" href="#" onclick="return doclink('link-566', '_getCbackCommand', 'link-566');">_getCbackCommand</a></tt><tt class="py-op">,</tt> <tt id="link-567" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setCbackCommand()=CedarBackup2.config.OptionsConfig-class.html#_setCbackCommand,Method CedarBackup2.config.RemotePeer._setCbackCommand()=CedarBackup2.config.RemotePeer-class.html#_setCbackCommand,Method CedarBackup2.peer.RemotePeer._setCbackCommand()=CedarBackup2.peer.RemotePeer-class.html#_setCbackCommand"><a title="CedarBackup2.config.OptionsConfig._setCbackCommand
CedarBackup2.config.RemotePeer._setCbackCommand
CedarBackup2.peer.RemotePeer._setCbackCommand" class="py-name" href="#" onclick="return doclink('link-567', '_setCbackCommand', 'link-567');">_setCbackCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Overridden cback-compatible command to use on remote peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L2173"></a><tt class="py-lineno">2173</tt> <tt class="py-line"> <tt id="link-568" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-568', 'managed', 'link-492');">managed</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-569" class="py-name" targets="Method CedarBackup2.cli.Options._getManaged()=CedarBackup2.cli.Options-class.html#_getManaged,Method CedarBackup2.config.RemotePeer._getManaged()=CedarBackup2.config.RemotePeer-class.html#_getManaged"><a title="CedarBackup2.cli.Options._getManaged
CedarBackup2.config.RemotePeer._getManaged" class="py-name" href="#" onclick="return doclink('link-569', '_getManaged', 'link-569');">_getManaged</a></tt><tt class="py-op">,</tt> <tt id="link-570" class="py-name" targets="Method CedarBackup2.cli.Options._setManaged()=CedarBackup2.cli.Options-class.html#_setManaged,Method CedarBackup2.config.RemotePeer._setManaged()=CedarBackup2.config.RemotePeer-class.html#_setManaged"><a title="CedarBackup2.cli.Options._setManaged
CedarBackup2.config.RemotePeer._setManaged" class="py-name" href="#" onclick="return doclink('link-570', '_setManaged', 'link-570');">_setManaged</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Indicates whether this is a managed peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L2174"></a><tt class="py-lineno">2174</tt> <tt class="py-line"> <tt id="link-571" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-571', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-572" class="py-name" targets="Static Method CedarBackup2.cli._ActionSet._getManagedActions()=CedarBackup2.cli._ActionSet-class.html#_getManagedActions,Method CedarBackup2.config.OptionsConfig._getManagedActions()=CedarBackup2.config.OptionsConfig-class.html#_getManagedActions,Method CedarBackup2.config.RemotePeer._getManagedActions()=CedarBackup2.config.RemotePeer-class.html#_getManagedActions"><a title="CedarBackup2.cli._ActionSet._getManagedActions
CedarBackup2.config.OptionsConfig._getManagedActions
CedarBackup2.config.RemotePeer._getManagedActions" class="py-name" href="#" onclick="return doclink('link-572', '_getManagedActions', 'link-572');">_getManagedActions</a></tt><tt class="py-op">,</tt> <tt id="link-573" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setManagedActions()=CedarBackup2.config.OptionsConfig-class.html#_setManagedActions,Method CedarBackup2.config.RemotePeer._setManagedActions()=CedarBackup2.config.RemotePeer-class.html#_setManagedActions"><a title="CedarBackup2.config.OptionsConfig._setManagedActions
CedarBackup2.config.RemotePeer._setManagedActions" class="py-name" href="#" onclick="return doclink('link-573', '_setManagedActions', 'link-573');">_setManagedActions</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Overridden set of actions that are managed on the peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L2175"></a><tt class="py-lineno">2175</tt> <tt class="py-line"> <tt id="link-574" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-574', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-575" class="py-name"><a title="CedarBackup2.config.LocalPeer._getIgnoreFailureMode
CedarBackup2.config.RemotePeer._getIgnoreFailureMode
CedarBackup2.peer.LocalPeer._getIgnoreFailureMode
CedarBackup2.peer.RemotePeer._getIgnoreFailureMode" class="py-name" href="#" onclick="return doclink('link-575', '_getIgnoreFailureMode', 'link-478');">_getIgnoreFailureMode</a></tt><tt class="py-op">,</tt> <tt id="link-576" class="py-name"><a title="CedarBackup2.config.LocalPeer._setIgnoreFailureMode
CedarBackup2.config.RemotePeer._setIgnoreFailureMode
CedarBackup2.peer.LocalPeer._setIgnoreFailureMode
CedarBackup2.peer.RemotePeer._setIgnoreFailureMode" class="py-name" href="#" onclick="return doclink('link-576', '_setIgnoreFailureMode', 'link-479');">_setIgnoreFailureMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Ignore failure mode for peer."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2176"></a><tt class="py-lineno">2176</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig"></a><div id="ReferenceConfig-def"><a name="L2177"></a><tt class="py-lineno">2177</tt> <tt class="py-line"> </tt>
<a name="L2178"></a><tt class="py-lineno">2178</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2179"></a><tt class="py-lineno">2179</tt> <tt class="py-line"><tt class="py-comment"># ReferenceConfig class definition</tt> </tt>
<a name="L2180"></a><tt class="py-lineno">2180</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2181"></a><tt class="py-lineno">2181</tt> <tt class="py-line"> </tt>
<a name="L2182"></a><tt class="py-lineno">2182</tt> <a class="py-toggle" href="#" id="ReferenceConfig-toggle" onclick="return toggle('ReferenceConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html">ReferenceConfig</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ReferenceConfig-expanded"><a name="L2183"></a><tt class="py-lineno">2183</tt> <tt class="py-line"> </tt>
<a name="L2184"></a><tt class="py-lineno">2184</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2185"></a><tt class="py-lineno">2185</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup reference configuration.</tt> </tt>
<a name="L2186"></a><tt class="py-lineno">2186</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2187"></a><tt class="py-lineno">2187</tt> <tt class="py-line"><tt class="py-docstring"> The reference information is just used for saving off metadata about</tt> </tt>
<a name="L2188"></a><tt class="py-lineno">2188</tt> <tt class="py-line"><tt class="py-docstring"> configuration and exists mostly for backwards-compatibility with Cedar</tt> </tt>
<a name="L2189"></a><tt class="py-lineno">2189</tt> <tt class="py-line"><tt class="py-docstring"> Backup 1.x.</tt> </tt>
<a name="L2190"></a><tt class="py-lineno">2190</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2191"></a><tt class="py-lineno">2191</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, author, revision, description, generator</tt> </tt>
<a name="L2192"></a><tt class="py-lineno">2192</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2193"></a><tt class="py-lineno">2193</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig.__init__"></a><div id="ReferenceConfig.__init__-def"><a name="L2194"></a><tt class="py-lineno">2194</tt> <a class="py-toggle" href="#" id="ReferenceConfig.__init__-toggle" onclick="return toggle('ReferenceConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">author</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">revision</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">description</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">generator</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig.__init__-expanded"><a name="L2195"></a><tt class="py-lineno">2195</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2196"></a><tt class="py-lineno">2196</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{ReferenceConfig} class.</tt> </tt>
<a name="L2197"></a><tt class="py-lineno">2197</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L2198"></a><tt class="py-lineno">2198</tt> <tt class="py-line"><tt class="py-docstring"> @param author: Author of the configuration file.</tt> </tt>
<a name="L2199"></a><tt class="py-lineno">2199</tt> <tt class="py-line"><tt class="py-docstring"> @param revision: Revision of the configuration file.</tt> </tt>
<a name="L2200"></a><tt class="py-lineno">2200</tt> <tt class="py-line"><tt class="py-docstring"> @param description: Description of the configuration file.</tt> </tt>
<a name="L2201"></a><tt class="py-lineno">2201</tt> <tt class="py-line"><tt class="py-docstring"> @param generator: Tool that generated the configuration file.</tt> </tt>
<a name="L2202"></a><tt class="py-lineno">2202</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2203"></a><tt class="py-lineno">2203</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_author</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2204"></a><tt class="py-lineno">2204</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_revision</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2205"></a><tt class="py-lineno">2205</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_description</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2206"></a><tt class="py-lineno">2206</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_generator</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2207"></a><tt class="py-lineno">2207</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-577" class="py-name" targets="Variable CedarBackup2.config.ReferenceConfig.author=CedarBackup2.config.ReferenceConfig-class.html#author"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-577', 'author', 'link-577');">author</a></tt> <tt class="py-op">=</tt> <tt id="link-578" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-578', 'author', 'link-577');">author</a></tt> </tt>
<a name="L2208"></a><tt class="py-lineno">2208</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-579" class="py-name" targets="Variable CedarBackup2.config.ReferenceConfig.revision=CedarBackup2.config.ReferenceConfig-class.html#revision"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-579', 'revision', 'link-579');">revision</a></tt> <tt class="py-op">=</tt> <tt id="link-580" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-580', 'revision', 'link-579');">revision</a></tt> </tt>
<a name="L2209"></a><tt class="py-lineno">2209</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-581" class="py-name" targets="Variable CedarBackup2.config.ReferenceConfig.description=CedarBackup2.config.ReferenceConfig-class.html#description"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-581', 'description', 'link-581');">description</a></tt> <tt class="py-op">=</tt> <tt id="link-582" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-582', 'description', 'link-581');">description</a></tt> </tt>
<a name="L2210"></a><tt class="py-lineno">2210</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-583" class="py-name" targets="Variable CedarBackup2.config.ReferenceConfig.generator=CedarBackup2.config.ReferenceConfig-class.html#generator"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-583', 'generator', 'link-583');">generator</a></tt> <tt class="py-op">=</tt> <tt id="link-584" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-584', 'generator', 'link-583');">generator</a></tt> </tt>
</div><a name="L2211"></a><tt class="py-lineno">2211</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig.__repr__"></a><div id="ReferenceConfig.__repr__-def"><a name="L2212"></a><tt class="py-lineno">2212</tt> <a class="py-toggle" href="#" id="ReferenceConfig.__repr__-toggle" onclick="return toggle('ReferenceConfig.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig.__repr__-expanded"><a name="L2213"></a><tt class="py-lineno">2213</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2214"></a><tt class="py-lineno">2214</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L2215"></a><tt class="py-lineno">2215</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2216"></a><tt class="py-lineno">2216</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"ReferenceConfig(%s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-585" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-585', 'author', 'link-577');">author</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-586" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-586', 'revision', 'link-579');">revision</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-587" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-587', 'description', 'link-581');">description</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-588" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-588', 'generator', 'link-583');">generator</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L2217"></a><tt class="py-lineno">2217</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig.__str__"></a><div id="ReferenceConfig.__str__-def"><a name="L2218"></a><tt class="py-lineno">2218</tt> <a class="py-toggle" href="#" id="ReferenceConfig.__str__-toggle" onclick="return toggle('ReferenceConfig.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig.__str__-expanded"><a name="L2219"></a><tt class="py-lineno">2219</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2220"></a><tt class="py-lineno">2220</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L2221"></a><tt class="py-lineno">2221</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2222"></a><tt class="py-lineno">2222</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-589" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-589', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2223"></a><tt class="py-lineno">2223</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig.__cmp__"></a><div id="ReferenceConfig.__cmp__-def"><a name="L2224"></a><tt class="py-lineno">2224</tt> <a class="py-toggle" href="#" id="ReferenceConfig.__cmp__-toggle" onclick="return toggle('ReferenceConfig.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig.__cmp__-expanded"><a name="L2225"></a><tt class="py-lineno">2225</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2226"></a><tt class="py-lineno">2226</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L2227"></a><tt class="py-lineno">2227</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L2228"></a><tt class="py-lineno">2228</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L2229"></a><tt class="py-lineno">2229</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2230"></a><tt class="py-lineno">2230</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2231"></a><tt class="py-lineno">2231</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2232"></a><tt class="py-lineno">2232</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-590" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-590', 'author', 'link-577');">author</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-591" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-591', 'author', 'link-577');">author</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2233"></a><tt class="py-lineno">2233</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-592" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-592', 'author', 'link-577');">author</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-593" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-593', 'author', 'link-577');">author</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2234"></a><tt class="py-lineno">2234</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2235"></a><tt class="py-lineno">2235</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2236"></a><tt class="py-lineno">2236</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2237"></a><tt class="py-lineno">2237</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-594" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-594', 'revision', 'link-579');">revision</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-595" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-595', 'revision', 'link-579');">revision</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2238"></a><tt class="py-lineno">2238</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-596" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-596', 'revision', 'link-579');">revision</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-597" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-597', 'revision', 'link-579');">revision</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2239"></a><tt class="py-lineno">2239</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2240"></a><tt class="py-lineno">2240</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2241"></a><tt class="py-lineno">2241</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2242"></a><tt class="py-lineno">2242</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-598" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-598', 'description', 'link-581');">description</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-599" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-599', 'description', 'link-581');">description</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2243"></a><tt class="py-lineno">2243</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-600" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-600', 'description', 'link-581');">description</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-601" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-601', 'description', 'link-581');">description</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2244"></a><tt class="py-lineno">2244</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2245"></a><tt class="py-lineno">2245</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2246"></a><tt class="py-lineno">2246</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2247"></a><tt class="py-lineno">2247</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-602" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-602', 'generator', 'link-583');">generator</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-603" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-603', 'generator', 'link-583');">generator</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2248"></a><tt class="py-lineno">2248</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-604" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-604', 'generator', 'link-583');">generator</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-605" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-605', 'generator', 'link-583');">generator</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2249"></a><tt class="py-lineno">2249</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2250"></a><tt class="py-lineno">2250</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2251"></a><tt class="py-lineno">2251</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2252"></a><tt class="py-lineno">2252</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L2253"></a><tt class="py-lineno">2253</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig._setAuthor"></a><div id="ReferenceConfig._setAuthor-def"><a name="L2254"></a><tt class="py-lineno">2254</tt> <a class="py-toggle" href="#" id="ReferenceConfig._setAuthor-toggle" onclick="return toggle('ReferenceConfig._setAuthor');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#_setAuthor">_setAuthor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig._setAuthor-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig._setAuthor-expanded"><a name="L2255"></a><tt class="py-lineno">2255</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2256"></a><tt class="py-lineno">2256</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the author value.</tt> </tt>
<a name="L2257"></a><tt class="py-lineno">2257</tt> <tt class="py-line"><tt class="py-docstring"> No validations.</tt> </tt>
<a name="L2258"></a><tt class="py-lineno">2258</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2259"></a><tt class="py-lineno">2259</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_author</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2260"></a><tt class="py-lineno">2260</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig._getAuthor"></a><div id="ReferenceConfig._getAuthor-def"><a name="L2261"></a><tt class="py-lineno">2261</tt> <a class="py-toggle" href="#" id="ReferenceConfig._getAuthor-toggle" onclick="return toggle('ReferenceConfig._getAuthor');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#_getAuthor">_getAuthor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig._getAuthor-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig._getAuthor-expanded"><a name="L2262"></a><tt class="py-lineno">2262</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2263"></a><tt class="py-lineno">2263</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the author value.</tt> </tt>
<a name="L2264"></a><tt class="py-lineno">2264</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2265"></a><tt class="py-lineno">2265</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_author</tt> </tt>
</div><a name="L2266"></a><tt class="py-lineno">2266</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig._setRevision"></a><div id="ReferenceConfig._setRevision-def"><a name="L2267"></a><tt class="py-lineno">2267</tt> <a class="py-toggle" href="#" id="ReferenceConfig._setRevision-toggle" onclick="return toggle('ReferenceConfig._setRevision');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#_setRevision">_setRevision</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig._setRevision-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig._setRevision-expanded"><a name="L2268"></a><tt class="py-lineno">2268</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2269"></a><tt class="py-lineno">2269</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the revision value.</tt> </tt>
<a name="L2270"></a><tt class="py-lineno">2270</tt> <tt class="py-line"><tt class="py-docstring"> No validations.</tt> </tt>
<a name="L2271"></a><tt class="py-lineno">2271</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2272"></a><tt class="py-lineno">2272</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_revision</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2273"></a><tt class="py-lineno">2273</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig._getRevision"></a><div id="ReferenceConfig._getRevision-def"><a name="L2274"></a><tt class="py-lineno">2274</tt> <a class="py-toggle" href="#" id="ReferenceConfig._getRevision-toggle" onclick="return toggle('ReferenceConfig._getRevision');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#_getRevision">_getRevision</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig._getRevision-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig._getRevision-expanded"><a name="L2275"></a><tt class="py-lineno">2275</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2276"></a><tt class="py-lineno">2276</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the revision value.</tt> </tt>
<a name="L2277"></a><tt class="py-lineno">2277</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2278"></a><tt class="py-lineno">2278</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_revision</tt> </tt>
</div><a name="L2279"></a><tt class="py-lineno">2279</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig._setDescription"></a><div id="ReferenceConfig._setDescription-def"><a name="L2280"></a><tt class="py-lineno">2280</tt> <a class="py-toggle" href="#" id="ReferenceConfig._setDescription-toggle" onclick="return toggle('ReferenceConfig._setDescription');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#_setDescription">_setDescription</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig._setDescription-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig._setDescription-expanded"><a name="L2281"></a><tt class="py-lineno">2281</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2282"></a><tt class="py-lineno">2282</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the description value.</tt> </tt>
<a name="L2283"></a><tt class="py-lineno">2283</tt> <tt class="py-line"><tt class="py-docstring"> No validations.</tt> </tt>
<a name="L2284"></a><tt class="py-lineno">2284</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2285"></a><tt class="py-lineno">2285</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_description</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2286"></a><tt class="py-lineno">2286</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig._getDescription"></a><div id="ReferenceConfig._getDescription-def"><a name="L2287"></a><tt class="py-lineno">2287</tt> <a class="py-toggle" href="#" id="ReferenceConfig._getDescription-toggle" onclick="return toggle('ReferenceConfig._getDescription');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#_getDescription">_getDescription</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig._getDescription-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig._getDescription-expanded"><a name="L2288"></a><tt class="py-lineno">2288</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2289"></a><tt class="py-lineno">2289</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the description value.</tt> </tt>
<a name="L2290"></a><tt class="py-lineno">2290</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2291"></a><tt class="py-lineno">2291</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_description</tt> </tt>
</div><a name="L2292"></a><tt class="py-lineno">2292</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig._setGenerator"></a><div id="ReferenceConfig._setGenerator-def"><a name="L2293"></a><tt class="py-lineno">2293</tt> <a class="py-toggle" href="#" id="ReferenceConfig._setGenerator-toggle" onclick="return toggle('ReferenceConfig._setGenerator');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#_setGenerator">_setGenerator</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig._setGenerator-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig._setGenerator-expanded"><a name="L2294"></a><tt class="py-lineno">2294</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2295"></a><tt class="py-lineno">2295</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the generator value.</tt> </tt>
<a name="L2296"></a><tt class="py-lineno">2296</tt> <tt class="py-line"><tt class="py-docstring"> No validations.</tt> </tt>
<a name="L2297"></a><tt class="py-lineno">2297</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2298"></a><tt class="py-lineno">2298</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_generator</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2299"></a><tt class="py-lineno">2299</tt> <tt class="py-line"> </tt>
<a name="ReferenceConfig._getGenerator"></a><div id="ReferenceConfig._getGenerator-def"><a name="L2300"></a><tt class="py-lineno">2300</tt> <a class="py-toggle" href="#" id="ReferenceConfig._getGenerator-toggle" onclick="return toggle('ReferenceConfig._getGenerator');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ReferenceConfig-class.html#_getGenerator">_getGenerator</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ReferenceConfig._getGenerator-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ReferenceConfig._getGenerator-expanded"><a name="L2301"></a><tt class="py-lineno">2301</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2302"></a><tt class="py-lineno">2302</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the generator value.</tt> </tt>
<a name="L2303"></a><tt class="py-lineno">2303</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2304"></a><tt class="py-lineno">2304</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_generator</tt> </tt>
</div><a name="L2305"></a><tt class="py-lineno">2305</tt> <tt class="py-line"> </tt>
<a name="L2306"></a><tt class="py-lineno">2306</tt> <tt class="py-line"> <tt id="link-606" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-606', 'author', 'link-577');">author</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-607" class="py-name" targets="Method CedarBackup2.config.ReferenceConfig._getAuthor()=CedarBackup2.config.ReferenceConfig-class.html#_getAuthor"><a title="CedarBackup2.config.ReferenceConfig._getAuthor" class="py-name" href="#" onclick="return doclink('link-607', '_getAuthor', 'link-607');">_getAuthor</a></tt><tt class="py-op">,</tt> <tt id="link-608" class="py-name" targets="Method CedarBackup2.config.ReferenceConfig._setAuthor()=CedarBackup2.config.ReferenceConfig-class.html#_setAuthor"><a title="CedarBackup2.config.ReferenceConfig._setAuthor" class="py-name" href="#" onclick="return doclink('link-608', '_setAuthor', 'link-608');">_setAuthor</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Author of the configuration file."</tt><tt class="py-op">)</tt> </tt>
<a name="L2307"></a><tt class="py-lineno">2307</tt> <tt class="py-line"> <tt id="link-609" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-609', 'revision', 'link-579');">revision</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-610" class="py-name" targets="Method CedarBackup2.config.ReferenceConfig._getRevision()=CedarBackup2.config.ReferenceConfig-class.html#_getRevision"><a title="CedarBackup2.config.ReferenceConfig._getRevision" class="py-name" href="#" onclick="return doclink('link-610', '_getRevision', 'link-610');">_getRevision</a></tt><tt class="py-op">,</tt> <tt id="link-611" class="py-name" targets="Method CedarBackup2.config.ReferenceConfig._setRevision()=CedarBackup2.config.ReferenceConfig-class.html#_setRevision"><a title="CedarBackup2.config.ReferenceConfig._setRevision" class="py-name" href="#" onclick="return doclink('link-611', '_setRevision', 'link-611');">_setRevision</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Revision of the configuration file."</tt><tt class="py-op">)</tt> </tt>
<a name="L2308"></a><tt class="py-lineno">2308</tt> <tt class="py-line"> <tt id="link-612" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-612', 'description', 'link-581');">description</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-613" class="py-name" targets="Method CedarBackup2.config.ReferenceConfig._getDescription()=CedarBackup2.config.ReferenceConfig-class.html#_getDescription"><a title="CedarBackup2.config.ReferenceConfig._getDescription" class="py-name" href="#" onclick="return doclink('link-613', '_getDescription', 'link-613');">_getDescription</a></tt><tt class="py-op">,</tt> <tt id="link-614" class="py-name" targets="Method CedarBackup2.config.ReferenceConfig._setDescription()=CedarBackup2.config.ReferenceConfig-class.html#_setDescription"><a title="CedarBackup2.config.ReferenceConfig._setDescription" class="py-name" href="#" onclick="return doclink('link-614', '_setDescription', 'link-614');">_setDescription</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Description of the configuration file."</tt><tt class="py-op">)</tt> </tt>
<a name="L2309"></a><tt class="py-lineno">2309</tt> <tt class="py-line"> <tt id="link-615" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-615', 'generator', 'link-583');">generator</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-616" class="py-name" targets="Method CedarBackup2.config.ReferenceConfig._getGenerator()=CedarBackup2.config.ReferenceConfig-class.html#_getGenerator"><a title="CedarBackup2.config.ReferenceConfig._getGenerator" class="py-name" href="#" onclick="return doclink('link-616', '_getGenerator', 'link-616');">_getGenerator</a></tt><tt class="py-op">,</tt> <tt id="link-617" class="py-name" targets="Method CedarBackup2.config.ReferenceConfig._setGenerator()=CedarBackup2.config.ReferenceConfig-class.html#_setGenerator"><a title="CedarBackup2.config.ReferenceConfig._setGenerator" class="py-name" href="#" onclick="return doclink('link-617', '_setGenerator', 'link-617');">_setGenerator</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Tool that generated the configuration file."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2310"></a><tt class="py-lineno">2310</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig"></a><div id="ExtensionsConfig-def"><a name="L2311"></a><tt class="py-lineno">2311</tt> <tt class="py-line"> </tt>
<a name="L2312"></a><tt class="py-lineno">2312</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2313"></a><tt class="py-lineno">2313</tt> <tt class="py-line"><tt class="py-comment"># ExtensionsConfig class definition</tt> </tt>
<a name="L2314"></a><tt class="py-lineno">2314</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2315"></a><tt class="py-lineno">2315</tt> <tt class="py-line"> </tt>
<a name="L2316"></a><tt class="py-lineno">2316</tt> <a class="py-toggle" href="#" id="ExtensionsConfig-toggle" onclick="return toggle('ExtensionsConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html">ExtensionsConfig</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ExtensionsConfig-expanded"><a name="L2317"></a><tt class="py-lineno">2317</tt> <tt class="py-line"> </tt>
<a name="L2318"></a><tt class="py-lineno">2318</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2319"></a><tt class="py-lineno">2319</tt> <tt class="py-line"><tt class="py-docstring"> Class representing Cedar Backup extensions configuration.</tt> </tt>
<a name="L2320"></a><tt class="py-lineno">2320</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2321"></a><tt class="py-lineno">2321</tt> <tt class="py-line"><tt class="py-docstring"> Extensions configuration is used to specify "extended actions" implemented</tt> </tt>
<a name="L2322"></a><tt class="py-lineno">2322</tt> <tt class="py-line"><tt class="py-docstring"> by code external to Cedar Backup. For instance, a hypothetical third party</tt> </tt>
<a name="L2323"></a><tt class="py-lineno">2323</tt> <tt class="py-line"><tt class="py-docstring"> might write extension code to collect database repository data. If they</tt> </tt>
<a name="L2324"></a><tt class="py-lineno">2324</tt> <tt class="py-line"><tt class="py-docstring"> write a properly-formatted extension function, they can use the extension</tt> </tt>
<a name="L2325"></a><tt class="py-lineno">2325</tt> <tt class="py-line"><tt class="py-docstring"> configuration to map a command-line Cedar Backup action (i.e. "database")</tt> </tt>
<a name="L2326"></a><tt class="py-lineno">2326</tt> <tt class="py-line"><tt class="py-docstring"> to their function.</tt> </tt>
<a name="L2327"></a><tt class="py-lineno">2327</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L2328"></a><tt class="py-lineno">2328</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L2329"></a><tt class="py-lineno">2329</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2330"></a><tt class="py-lineno">2330</tt> <tt class="py-line"><tt class="py-docstring"> - If set, the order mode must be one of the values in C{VALID_ORDER_MODES}</tt> </tt>
<a name="L2331"></a><tt class="py-lineno">2331</tt> <tt class="py-line"><tt class="py-docstring"> - The actions list must be a list of C{ExtendedAction} objects.</tt> </tt>
<a name="L2332"></a><tt class="py-lineno">2332</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2333"></a><tt class="py-lineno">2333</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, orderMode, actions</tt> </tt>
<a name="L2334"></a><tt class="py-lineno">2334</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2335"></a><tt class="py-lineno">2335</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig.__init__"></a><div id="ExtensionsConfig.__init__-def"><a name="L2336"></a><tt class="py-lineno">2336</tt> <a class="py-toggle" href="#" id="ExtensionsConfig.__init__-toggle" onclick="return toggle('ExtensionsConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">actions</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">orderMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtensionsConfig.__init__-expanded"><a name="L2337"></a><tt class="py-lineno">2337</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2338"></a><tt class="py-lineno">2338</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{ExtensionsConfig} class.</tt> </tt>
<a name="L2339"></a><tt class="py-lineno">2339</tt> <tt class="py-line"><tt class="py-docstring"> @param actions: List of extended actions</tt> </tt>
<a name="L2340"></a><tt class="py-lineno">2340</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2341"></a><tt class="py-lineno">2341</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_orderMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2342"></a><tt class="py-lineno">2342</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_actions</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2343"></a><tt class="py-lineno">2343</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-618" class="py-name" targets="Variable CedarBackup2.config.ExtensionsConfig.orderMode=CedarBackup2.config.ExtensionsConfig-class.html#orderMode"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-618', 'orderMode', 'link-618');">orderMode</a></tt> <tt class="py-op">=</tt> <tt id="link-619" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-619', 'orderMode', 'link-618');">orderMode</a></tt> </tt>
<a name="L2344"></a><tt class="py-lineno">2344</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-620" class="py-name" targets="Package CedarBackup2.actions=CedarBackup2.actions-module.html,Variable CedarBackup2.cli.Options.actions=CedarBackup2.cli.Options-class.html#actions,Variable CedarBackup2.config.ExtensionsConfig.actions=CedarBackup2.config.ExtensionsConfig-class.html#actions"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-620', 'actions', 'link-620');">actions</a></tt> <tt class="py-op">=</tt> <tt id="link-621" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-621', 'actions', 'link-620');">actions</a></tt> </tt>
</div><a name="L2345"></a><tt class="py-lineno">2345</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig.__repr__"></a><div id="ExtensionsConfig.__repr__-def"><a name="L2346"></a><tt class="py-lineno">2346</tt> <a class="py-toggle" href="#" id="ExtensionsConfig.__repr__-toggle" onclick="return toggle('ExtensionsConfig.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtensionsConfig.__repr__-expanded"><a name="L2347"></a><tt class="py-lineno">2347</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2348"></a><tt class="py-lineno">2348</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L2349"></a><tt class="py-lineno">2349</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2350"></a><tt class="py-lineno">2350</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"ExtensionsConfig(%s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-622" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-622', 'orderMode', 'link-618');">orderMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-623" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-623', 'actions', 'link-620');">actions</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L2351"></a><tt class="py-lineno">2351</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig.__str__"></a><div id="ExtensionsConfig.__str__-def"><a name="L2352"></a><tt class="py-lineno">2352</tt> <a class="py-toggle" href="#" id="ExtensionsConfig.__str__-toggle" onclick="return toggle('ExtensionsConfig.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtensionsConfig.__str__-expanded"><a name="L2353"></a><tt class="py-lineno">2353</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2354"></a><tt class="py-lineno">2354</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L2355"></a><tt class="py-lineno">2355</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2356"></a><tt class="py-lineno">2356</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-624" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-624', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2357"></a><tt class="py-lineno">2357</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig.__cmp__"></a><div id="ExtensionsConfig.__cmp__-def"><a name="L2358"></a><tt class="py-lineno">2358</tt> <a class="py-toggle" href="#" id="ExtensionsConfig.__cmp__-toggle" onclick="return toggle('ExtensionsConfig.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtensionsConfig.__cmp__-expanded"><a name="L2359"></a><tt class="py-lineno">2359</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2360"></a><tt class="py-lineno">2360</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L2361"></a><tt class="py-lineno">2361</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L2362"></a><tt class="py-lineno">2362</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L2363"></a><tt class="py-lineno">2363</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2364"></a><tt class="py-lineno">2364</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2365"></a><tt class="py-lineno">2365</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2366"></a><tt class="py-lineno">2366</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-625" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-625', 'orderMode', 'link-618');">orderMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-626" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-626', 'orderMode', 'link-618');">orderMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2367"></a><tt class="py-lineno">2367</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-627" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-627', 'orderMode', 'link-618');">orderMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-628" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-628', 'orderMode', 'link-618');">orderMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2368"></a><tt class="py-lineno">2368</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2369"></a><tt class="py-lineno">2369</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2370"></a><tt class="py-lineno">2370</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2371"></a><tt class="py-lineno">2371</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-629" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-629', 'actions', 'link-620');">actions</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-630" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-630', 'actions', 'link-620');">actions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2372"></a><tt class="py-lineno">2372</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-631" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-631', 'actions', 'link-620');">actions</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-632" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-632', 'actions', 'link-620');">actions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2373"></a><tt class="py-lineno">2373</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2374"></a><tt class="py-lineno">2374</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2375"></a><tt class="py-lineno">2375</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2376"></a><tt class="py-lineno">2376</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L2377"></a><tt class="py-lineno">2377</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig._setOrderMode"></a><div id="ExtensionsConfig._setOrderMode-def"><a name="L2378"></a><tt class="py-lineno">2378</tt> <a class="py-toggle" href="#" id="ExtensionsConfig._setOrderMode-toggle" onclick="return toggle('ExtensionsConfig._setOrderMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html#_setOrderMode">_setOrderMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig._setOrderMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtensionsConfig._setOrderMode-expanded"><a name="L2379"></a><tt class="py-lineno">2379</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2380"></a><tt class="py-lineno">2380</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the order mode.</tt> </tt>
<a name="L2381"></a><tt class="py-lineno">2381</tt> <tt class="py-line"><tt class="py-docstring"> The value must be one of L{VALID_ORDER_MODES}.</tt> </tt>
<a name="L2382"></a><tt class="py-lineno">2382</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L2383"></a><tt class="py-lineno">2383</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2384"></a><tt class="py-lineno">2384</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2385"></a><tt class="py-lineno">2385</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-633" class="py-name"><a title="CedarBackup2.config.VALID_ORDER_MODES" class="py-name" href="#" onclick="return doclink('link-633', 'VALID_ORDER_MODES', 'link-58');">VALID_ORDER_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2386"></a><tt class="py-lineno">2386</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Order mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-634" class="py-name"><a title="CedarBackup2.config.VALID_ORDER_MODES" class="py-name" href="#" onclick="return doclink('link-634', 'VALID_ORDER_MODES', 'link-58');">VALID_ORDER_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L2387"></a><tt class="py-lineno">2387</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_orderMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2388"></a><tt class="py-lineno">2388</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig._getOrderMode"></a><div id="ExtensionsConfig._getOrderMode-def"><a name="L2389"></a><tt class="py-lineno">2389</tt> <a class="py-toggle" href="#" id="ExtensionsConfig._getOrderMode-toggle" onclick="return toggle('ExtensionsConfig._getOrderMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html#_getOrderMode">_getOrderMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig._getOrderMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtensionsConfig._getOrderMode-expanded"><a name="L2390"></a><tt class="py-lineno">2390</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2391"></a><tt class="py-lineno">2391</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the order mode.</tt> </tt>
<a name="L2392"></a><tt class="py-lineno">2392</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2393"></a><tt class="py-lineno">2393</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_orderMode</tt> </tt>
</div><a name="L2394"></a><tt class="py-lineno">2394</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig._setActions"></a><div id="ExtensionsConfig._setActions-def"><a name="L2395"></a><tt class="py-lineno">2395</tt> <a class="py-toggle" href="#" id="ExtensionsConfig._setActions-toggle" onclick="return toggle('ExtensionsConfig._setActions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html#_setActions">_setActions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig._setActions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtensionsConfig._setActions-expanded"><a name="L2396"></a><tt class="py-lineno">2396</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2397"></a><tt class="py-lineno">2397</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the actions list.</tt> </tt>
<a name="L2398"></a><tt class="py-lineno">2398</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be an C{ExtendedAction}.</tt> </tt>
<a name="L2399"></a><tt class="py-lineno">2399</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{ExtendedAction}</tt> </tt>
<a name="L2400"></a><tt class="py-lineno">2400</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2401"></a><tt class="py-lineno">2401</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2402"></a><tt class="py-lineno">2402</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_actions</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2403"></a><tt class="py-lineno">2403</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2404"></a><tt class="py-lineno">2404</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L2405"></a><tt class="py-lineno">2405</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_actions</tt> </tt>
<a name="L2406"></a><tt class="py-lineno">2406</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_actions</tt> <tt class="py-op">=</tt> <tt id="link-635" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-635', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-636" class="py-name" targets="Class CedarBackup2.config.ExtendedAction=CedarBackup2.config.ExtendedAction-class.html"><a title="CedarBackup2.config.ExtendedAction" class="py-name" href="#" onclick="return doclink('link-636', 'ExtendedAction', 'link-636');">ExtendedAction</a></tt><tt class="py-op">,</tt> <tt class="py-string">"ExtendedAction"</tt><tt class="py-op">)</tt> </tt>
<a name="L2407"></a><tt class="py-lineno">2407</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_actions</tt><tt class="py-op">.</tt><tt id="link-637" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-637', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L2408"></a><tt class="py-lineno">2408</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L2409"></a><tt class="py-lineno">2409</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_actions</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L2410"></a><tt class="py-lineno">2410</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L2411"></a><tt class="py-lineno">2411</tt> <tt class="py-line"> </tt>
<a name="ExtensionsConfig._getActions"></a><div id="ExtensionsConfig._getActions-def"><a name="L2412"></a><tt class="py-lineno">2412</tt> <a class="py-toggle" href="#" id="ExtensionsConfig._getActions-toggle" onclick="return toggle('ExtensionsConfig._getActions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.ExtensionsConfig-class.html#_getActions">_getActions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExtensionsConfig._getActions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="ExtensionsConfig._getActions-expanded"><a name="L2413"></a><tt class="py-lineno">2413</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2414"></a><tt class="py-lineno">2414</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the actions list.</tt> </tt>
<a name="L2415"></a><tt class="py-lineno">2415</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2416"></a><tt class="py-lineno">2416</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_actions</tt> </tt>
</div><a name="L2417"></a><tt class="py-lineno">2417</tt> <tt class="py-line"> </tt>
<a name="L2418"></a><tt class="py-lineno">2418</tt> <tt class="py-line"> <tt id="link-638" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-638', 'orderMode', 'link-618');">orderMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-639" class="py-name" targets="Method CedarBackup2.config.ExtensionsConfig._getOrderMode()=CedarBackup2.config.ExtensionsConfig-class.html#_getOrderMode"><a title="CedarBackup2.config.ExtensionsConfig._getOrderMode" class="py-name" href="#" onclick="return doclink('link-639', '_getOrderMode', 'link-639');">_getOrderMode</a></tt><tt class="py-op">,</tt> <tt id="link-640" class="py-name" targets="Method CedarBackup2.config.ExtensionsConfig._setOrderMode()=CedarBackup2.config.ExtensionsConfig-class.html#_setOrderMode"><a title="CedarBackup2.config.ExtensionsConfig._setOrderMode" class="py-name" href="#" onclick="return doclink('link-640', '_setOrderMode', 'link-640');">_setOrderMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Order mode for extensions, to control execution ordering."</tt><tt class="py-op">)</tt> </tt>
<a name="L2419"></a><tt class="py-lineno">2419</tt> <tt class="py-line"> <tt id="link-641" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-641', 'actions', 'link-620');">actions</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-642" class="py-name" targets="Method CedarBackup2.cli.Options._getActions()=CedarBackup2.cli.Options-class.html#_getActions,Method CedarBackup2.config.ExtensionsConfig._getActions()=CedarBackup2.config.ExtensionsConfig-class.html#_getActions"><a title="CedarBackup2.cli.Options._getActions
CedarBackup2.config.ExtensionsConfig._getActions" class="py-name" href="#" onclick="return doclink('link-642', '_getActions', 'link-642');">_getActions</a></tt><tt class="py-op">,</tt> <tt id="link-643" class="py-name" targets="Method CedarBackup2.cli.Options._setActions()=CedarBackup2.cli.Options-class.html#_setActions,Method CedarBackup2.config.ExtensionsConfig._setActions()=CedarBackup2.config.ExtensionsConfig-class.html#_setActions"><a title="CedarBackup2.cli.Options._setActions
CedarBackup2.config.ExtensionsConfig._setActions" class="py-name" href="#" onclick="return doclink('link-643', '_setActions', 'link-643');">_setActions</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of extended actions."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2420"></a><tt class="py-lineno">2420</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig"></a><div id="OptionsConfig-def"><a name="L2421"></a><tt class="py-lineno">2421</tt> <tt class="py-line"> </tt>
<a name="L2422"></a><tt class="py-lineno">2422</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2423"></a><tt class="py-lineno">2423</tt> <tt class="py-line"><tt class="py-comment"># OptionsConfig class definition</tt> </tt>
<a name="L2424"></a><tt class="py-lineno">2424</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2425"></a><tt class="py-lineno">2425</tt> <tt class="py-line"> </tt>
<a name="L2426"></a><tt class="py-lineno">2426</tt> <a class="py-toggle" href="#" id="OptionsConfig-toggle" onclick="return toggle('OptionsConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html">OptionsConfig</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="OptionsConfig-expanded"><a name="L2427"></a><tt class="py-lineno">2427</tt> <tt class="py-line"> </tt>
<a name="L2428"></a><tt class="py-lineno">2428</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2429"></a><tt class="py-lineno">2429</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup global options configuration.</tt> </tt>
<a name="L2430"></a><tt class="py-lineno">2430</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2431"></a><tt class="py-lineno">2431</tt> <tt class="py-line"><tt class="py-docstring"> The options section is used to store global configuration options and</tt> </tt>
<a name="L2432"></a><tt class="py-lineno">2432</tt> <tt class="py-line"><tt class="py-docstring"> defaults that can be applied to other sections. </tt> </tt>
<a name="L2433"></a><tt class="py-lineno">2433</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2434"></a><tt class="py-lineno">2434</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L2435"></a><tt class="py-lineno">2435</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2436"></a><tt class="py-lineno">2436</tt> <tt class="py-line"><tt class="py-docstring"> - The working directory must be an absolute path. </tt> </tt>
<a name="L2437"></a><tt class="py-lineno">2437</tt> <tt class="py-line"><tt class="py-docstring"> - The starting day must be a day of the week in English, i.e. C{"monday"}, C{"tuesday"}, etc. </tt> </tt>
<a name="L2438"></a><tt class="py-lineno">2438</tt> <tt class="py-line"><tt class="py-docstring"> - All of the other values must be non-empty strings if they are set to something other than C{None}.</tt> </tt>
<a name="L2439"></a><tt class="py-lineno">2439</tt> <tt class="py-line"><tt class="py-docstring"> - The overrides list must be a list of C{CommandOverride} objects.</tt> </tt>
<a name="L2440"></a><tt class="py-lineno">2440</tt> <tt class="py-line"><tt class="py-docstring"> - The hooks list must be a list of C{ActionHook} objects.</tt> </tt>
<a name="L2441"></a><tt class="py-lineno">2441</tt> <tt class="py-line"><tt class="py-docstring"> - The cback command must be a non-empty string.</tt> </tt>
<a name="L2442"></a><tt class="py-lineno">2442</tt> <tt class="py-line"><tt class="py-docstring"> - Any managed action name must be a non-empty string matching C{ACTION_NAME_REGEX}</tt> </tt>
<a name="L2443"></a><tt class="py-lineno">2443</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2444"></a><tt class="py-lineno">2444</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, startingDay, workingDir, </tt> </tt>
<a name="L2445"></a><tt class="py-lineno">2445</tt> <tt class="py-line"><tt class="py-docstring"> backupUser, backupGroup, rcpCommand, rshCommand, overrides</tt> </tt>
<a name="L2446"></a><tt class="py-lineno">2446</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2447"></a><tt class="py-lineno">2447</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig.__init__"></a><div id="OptionsConfig.__init__-def"><a name="L2448"></a><tt class="py-lineno">2448</tt> <a class="py-toggle" href="#" id="OptionsConfig.__init__-toggle" onclick="return toggle('OptionsConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">startingDay</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">workingDir</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">backupUser</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L2449"></a><tt class="py-lineno">2449</tt> <tt class="py-line"> <tt class="py-param">backupGroup</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">rcpCommand</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">overrides</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L2450"></a><tt class="py-lineno">2450</tt> <tt class="py-line"> <tt class="py-param">hooks</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">rshCommand</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">cbackCommand</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L2451"></a><tt class="py-lineno">2451</tt> <tt class="py-line"> <tt class="py-param">managedActions</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig.__init__-expanded"><a name="L2452"></a><tt class="py-lineno">2452</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2453"></a><tt class="py-lineno">2453</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{OptionsConfig} class.</tt> </tt>
<a name="L2454"></a><tt class="py-lineno">2454</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2455"></a><tt class="py-lineno">2455</tt> <tt class="py-line"><tt class="py-docstring"> @param startingDay: Day that starts the week.</tt> </tt>
<a name="L2456"></a><tt class="py-lineno">2456</tt> <tt class="py-line"><tt class="py-docstring"> @param workingDir: Working (temporary) directory to use for backups.</tt> </tt>
<a name="L2457"></a><tt class="py-lineno">2457</tt> <tt class="py-line"><tt class="py-docstring"> @param backupUser: Effective user that backups should run as.</tt> </tt>
<a name="L2458"></a><tt class="py-lineno">2458</tt> <tt class="py-line"><tt class="py-docstring"> @param backupGroup: Effective group that backups should run as.</tt> </tt>
<a name="L2459"></a><tt class="py-lineno">2459</tt> <tt class="py-line"><tt class="py-docstring"> @param rcpCommand: Default rcp-compatible copy command for staging.</tt> </tt>
<a name="L2460"></a><tt class="py-lineno">2460</tt> <tt class="py-line"><tt class="py-docstring"> @param rshCommand: Default rsh-compatible command to use for remote shells.</tt> </tt>
<a name="L2461"></a><tt class="py-lineno">2461</tt> <tt class="py-line"><tt class="py-docstring"> @param cbackCommand: Default cback-compatible command to use on managed remote peers.</tt> </tt>
<a name="L2462"></a><tt class="py-lineno">2462</tt> <tt class="py-line"><tt class="py-docstring"> @param overrides: List of configured command path overrides, if any.</tt> </tt>
<a name="L2463"></a><tt class="py-lineno">2463</tt> <tt class="py-line"><tt class="py-docstring"> @param hooks: List of configured pre- and post-action hooks.</tt> </tt>
<a name="L2464"></a><tt class="py-lineno">2464</tt> <tt class="py-line"><tt class="py-docstring"> @param managedActions: Default set of actions that are managed on remote peers.</tt> </tt>
<a name="L2465"></a><tt class="py-lineno">2465</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2466"></a><tt class="py-lineno">2466</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L2467"></a><tt class="py-lineno">2467</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2468"></a><tt class="py-lineno">2468</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_startingDay</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2469"></a><tt class="py-lineno">2469</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_workingDir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2470"></a><tt class="py-lineno">2470</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_backupUser</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2471"></a><tt class="py-lineno">2471</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_backupGroup</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2472"></a><tt class="py-lineno">2472</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rcpCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2473"></a><tt class="py-lineno">2473</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rshCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2474"></a><tt class="py-lineno">2474</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cbackCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2475"></a><tt class="py-lineno">2475</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_overrides</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2476"></a><tt class="py-lineno">2476</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_hooks</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2477"></a><tt class="py-lineno">2477</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2478"></a><tt class="py-lineno">2478</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-644" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.startingDay=CedarBackup2.config.OptionsConfig-class.html#startingDay"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-644', 'startingDay', 'link-644');">startingDay</a></tt> <tt class="py-op">=</tt> <tt id="link-645" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-645', 'startingDay', 'link-644');">startingDay</a></tt> </tt>
<a name="L2479"></a><tt class="py-lineno">2479</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-646" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.workingDir=CedarBackup2.config.OptionsConfig-class.html#workingDir,Variable CedarBackup2.peer.RemotePeer.workingDir=CedarBackup2.peer.RemotePeer-class.html#workingDir"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-646', 'workingDir', 'link-646');">workingDir</a></tt> <tt class="py-op">=</tt> <tt id="link-647" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-647', 'workingDir', 'link-646');">workingDir</a></tt> </tt>
<a name="L2480"></a><tt class="py-lineno">2480</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-648" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.backupUser=CedarBackup2.config.OptionsConfig-class.html#backupUser"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-648', 'backupUser', 'link-648');">backupUser</a></tt> <tt class="py-op">=</tt> <tt id="link-649" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-649', 'backupUser', 'link-648');">backupUser</a></tt> </tt>
<a name="L2481"></a><tt class="py-lineno">2481</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-650" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.backupGroup=CedarBackup2.config.OptionsConfig-class.html#backupGroup"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-650', 'backupGroup', 'link-650');">backupGroup</a></tt> <tt class="py-op">=</tt> <tt id="link-651" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-651', 'backupGroup', 'link-650');">backupGroup</a></tt> </tt>
<a name="L2482"></a><tt class="py-lineno">2482</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-652" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-652', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-653" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-653', 'rcpCommand', 'link-486');">rcpCommand</a></tt> </tt>
<a name="L2483"></a><tt class="py-lineno">2483</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-654" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-654', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-655" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-655', 'rshCommand', 'link-488');">rshCommand</a></tt> </tt>
<a name="L2484"></a><tt class="py-lineno">2484</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-656" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-656', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-657" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-657', 'cbackCommand', 'link-490');">cbackCommand</a></tt> </tt>
<a name="L2485"></a><tt class="py-lineno">2485</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-658" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.overrides=CedarBackup2.config.OptionsConfig-class.html#overrides"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-658', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-op">=</tt> <tt id="link-659" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-659', 'overrides', 'link-658');">overrides</a></tt> </tt>
<a name="L2486"></a><tt class="py-lineno">2486</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-660" class="py-name" targets="Variable CedarBackup2.config.OptionsConfig.hooks=CedarBackup2.config.OptionsConfig-class.html#hooks"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-660', 'hooks', 'link-660');">hooks</a></tt> <tt class="py-op">=</tt> <tt id="link-661" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-661', 'hooks', 'link-660');">hooks</a></tt> </tt>
<a name="L2487"></a><tt class="py-lineno">2487</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-662" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-662', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt id="link-663" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-663', 'managedActions', 'link-494');">managedActions</a></tt> </tt>
</div><a name="L2488"></a><tt class="py-lineno">2488</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig.__repr__"></a><div id="OptionsConfig.__repr__-def"><a name="L2489"></a><tt class="py-lineno">2489</tt> <a class="py-toggle" href="#" id="OptionsConfig.__repr__-toggle" onclick="return toggle('OptionsConfig.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig.__repr__-expanded"><a name="L2490"></a><tt class="py-lineno">2490</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2491"></a><tt class="py-lineno">2491</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L2492"></a><tt class="py-lineno">2492</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2493"></a><tt class="py-lineno">2493</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"OptionsConfig(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-664" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-664', 'startingDay', 'link-644');">startingDay</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-665" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-665', 'workingDir', 'link-646');">workingDir</a></tt><tt class="py-op">,</tt> </tt>
<a name="L2494"></a><tt class="py-lineno">2494</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-666" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-666', 'backupUser', 'link-648');">backupUser</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-667" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-667', 'backupGroup', 'link-650');">backupGroup</a></tt><tt class="py-op">,</tt> </tt>
<a name="L2495"></a><tt class="py-lineno">2495</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-668" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-668', 'rcpCommand', 'link-486');">rcpCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-669" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-669', 'overrides', 'link-658');">overrides</a></tt><tt class="py-op">,</tt> </tt>
<a name="L2496"></a><tt class="py-lineno">2496</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-670" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-670', 'hooks', 'link-660');">hooks</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-671" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-671', 'rshCommand', 'link-488');">rshCommand</a></tt><tt class="py-op">,</tt> </tt>
<a name="L2497"></a><tt class="py-lineno">2497</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-672" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-672', 'cbackCommand', 'link-490');">cbackCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-673" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-673', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L2498"></a><tt class="py-lineno">2498</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig.__str__"></a><div id="OptionsConfig.__str__-def"><a name="L2499"></a><tt class="py-lineno">2499</tt> <a class="py-toggle" href="#" id="OptionsConfig.__str__-toggle" onclick="return toggle('OptionsConfig.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig.__str__-expanded"><a name="L2500"></a><tt class="py-lineno">2500</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2501"></a><tt class="py-lineno">2501</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L2502"></a><tt class="py-lineno">2502</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2503"></a><tt class="py-lineno">2503</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-674" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-674', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2504"></a><tt class="py-lineno">2504</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig.__cmp__"></a><div id="OptionsConfig.__cmp__-def"><a name="L2505"></a><tt class="py-lineno">2505</tt> <a class="py-toggle" href="#" id="OptionsConfig.__cmp__-toggle" onclick="return toggle('OptionsConfig.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig.__cmp__-expanded"><a name="L2506"></a><tt class="py-lineno">2506</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2507"></a><tt class="py-lineno">2507</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L2508"></a><tt class="py-lineno">2508</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L2509"></a><tt class="py-lineno">2509</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L2510"></a><tt class="py-lineno">2510</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2511"></a><tt class="py-lineno">2511</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2512"></a><tt class="py-lineno">2512</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2513"></a><tt class="py-lineno">2513</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-675" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-675', 'startingDay', 'link-644');">startingDay</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-676" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-676', 'startingDay', 'link-644');">startingDay</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2514"></a><tt class="py-lineno">2514</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-677" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-677', 'startingDay', 'link-644');">startingDay</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-678" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-678', 'startingDay', 'link-644');">startingDay</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2515"></a><tt class="py-lineno">2515</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2516"></a><tt class="py-lineno">2516</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2517"></a><tt class="py-lineno">2517</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2518"></a><tt class="py-lineno">2518</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-679" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-679', 'workingDir', 'link-646');">workingDir</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-680" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-680', 'workingDir', 'link-646');">workingDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2519"></a><tt class="py-lineno">2519</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-681" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-681', 'workingDir', 'link-646');">workingDir</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-682" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-682', 'workingDir', 'link-646');">workingDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2520"></a><tt class="py-lineno">2520</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2521"></a><tt class="py-lineno">2521</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2522"></a><tt class="py-lineno">2522</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2523"></a><tt class="py-lineno">2523</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-683" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-683', 'backupUser', 'link-648');">backupUser</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-684" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-684', 'backupUser', 'link-648');">backupUser</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2524"></a><tt class="py-lineno">2524</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-685" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-685', 'backupUser', 'link-648');">backupUser</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-686" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-686', 'backupUser', 'link-648');">backupUser</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2525"></a><tt class="py-lineno">2525</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2526"></a><tt class="py-lineno">2526</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2527"></a><tt class="py-lineno">2527</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2528"></a><tt class="py-lineno">2528</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-687" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-687', 'backupGroup', 'link-650');">backupGroup</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-688" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-688', 'backupGroup', 'link-650');">backupGroup</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2529"></a><tt class="py-lineno">2529</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-689" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-689', 'backupGroup', 'link-650');">backupGroup</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-690" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-690', 'backupGroup', 'link-650');">backupGroup</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2530"></a><tt class="py-lineno">2530</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2531"></a><tt class="py-lineno">2531</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2532"></a><tt class="py-lineno">2532</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2533"></a><tt class="py-lineno">2533</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-691" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-691', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-692" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-692', 'rcpCommand', 'link-486');">rcpCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2534"></a><tt class="py-lineno">2534</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-693" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-693', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-694" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-694', 'rcpCommand', 'link-486');">rcpCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2535"></a><tt class="py-lineno">2535</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2536"></a><tt class="py-lineno">2536</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2537"></a><tt class="py-lineno">2537</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2538"></a><tt class="py-lineno">2538</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-695" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-695', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-696" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-696', 'rshCommand', 'link-488');">rshCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2539"></a><tt class="py-lineno">2539</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-697" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-697', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-698" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-698', 'rshCommand', 'link-488');">rshCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2540"></a><tt class="py-lineno">2540</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2541"></a><tt class="py-lineno">2541</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2542"></a><tt class="py-lineno">2542</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2543"></a><tt class="py-lineno">2543</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-699" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-699', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-700" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-700', 'cbackCommand', 'link-490');">cbackCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2544"></a><tt class="py-lineno">2544</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-701" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-701', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-702" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-702', 'cbackCommand', 'link-490');">cbackCommand</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2545"></a><tt class="py-lineno">2545</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2546"></a><tt class="py-lineno">2546</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2547"></a><tt class="py-lineno">2547</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2548"></a><tt class="py-lineno">2548</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-703" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-703', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-704" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-704', 'overrides', 'link-658');">overrides</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2549"></a><tt class="py-lineno">2549</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-705" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-705', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-706" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-706', 'overrides', 'link-658');">overrides</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2550"></a><tt class="py-lineno">2550</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2551"></a><tt class="py-lineno">2551</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2552"></a><tt class="py-lineno">2552</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2553"></a><tt class="py-lineno">2553</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-707" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-707', 'hooks', 'link-660');">hooks</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-708" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-708', 'hooks', 'link-660');">hooks</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2554"></a><tt class="py-lineno">2554</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-709" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-709', 'hooks', 'link-660');">hooks</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-710" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-710', 'hooks', 'link-660');">hooks</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2555"></a><tt class="py-lineno">2555</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2556"></a><tt class="py-lineno">2556</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2557"></a><tt class="py-lineno">2557</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2558"></a><tt class="py-lineno">2558</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-711" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-711', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-712" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-712', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2559"></a><tt class="py-lineno">2559</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-713" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-713', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-714" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-714', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2560"></a><tt class="py-lineno">2560</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2561"></a><tt class="py-lineno">2561</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2562"></a><tt class="py-lineno">2562</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2563"></a><tt class="py-lineno">2563</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L2564"></a><tt class="py-lineno">2564</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig.addOverride"></a><div id="OptionsConfig.addOverride-def"><a name="L2565"></a><tt class="py-lineno">2565</tt> <a class="py-toggle" href="#" id="OptionsConfig.addOverride-toggle" onclick="return toggle('OptionsConfig.addOverride');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#addOverride">addOverride</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">,</tt> <tt class="py-param">absolutePath</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig.addOverride-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig.addOverride-expanded"><a name="L2566"></a><tt class="py-lineno">2566</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2567"></a><tt class="py-lineno">2567</tt> <tt class="py-line"><tt class="py-docstring"> If no override currently exists for the command, add one.</tt> </tt>
<a name="L2568"></a><tt class="py-lineno">2568</tt> <tt class="py-line"><tt class="py-docstring"> @param command: Name of command to be overridden.</tt> </tt>
<a name="L2569"></a><tt class="py-lineno">2569</tt> <tt class="py-line"><tt class="py-docstring"> @param absolutePath: Absolute path of the overrridden command.</tt> </tt>
<a name="L2570"></a><tt class="py-lineno">2570</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2571"></a><tt class="py-lineno">2571</tt> <tt class="py-line"> <tt class="py-name">override</tt> <tt class="py-op">=</tt> <tt id="link-715" class="py-name" targets="Class CedarBackup2.config.CommandOverride=CedarBackup2.config.CommandOverride-class.html"><a title="CedarBackup2.config.CommandOverride" class="py-name" href="#" onclick="return doclink('link-715', 'CommandOverride', 'link-715');">CommandOverride</a></tt><tt class="py-op">(</tt><tt id="link-716" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-716', 'command', 'link-128');">command</a></tt><tt class="py-op">,</tt> <tt id="link-717" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-717', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
<a name="L2572"></a><tt class="py-lineno">2572</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-718" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-718', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2573"></a><tt class="py-lineno">2573</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-719" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-719', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-name">override</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L2574"></a><tt class="py-lineno">2574</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2575"></a><tt class="py-lineno">2575</tt> <tt class="py-line"> <tt class="py-name">exists</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L2576"></a><tt class="py-lineno">2576</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">obj</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-720" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-720', 'overrides', 'link-658');">overrides</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2577"></a><tt class="py-lineno">2577</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-721" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-721', 'command', 'link-128');">command</a></tt> <tt class="py-op">==</tt> <tt class="py-name">override</tt><tt class="py-op">.</tt><tt id="link-722" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-722', 'command', 'link-128');">command</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2578"></a><tt class="py-lineno">2578</tt> <tt class="py-line"> <tt class="py-name">exists</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L2579"></a><tt class="py-lineno">2579</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
<a name="L2580"></a><tt class="py-lineno">2580</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">exists</tt><tt class="py-op">:</tt> </tt>
<a name="L2581"></a><tt class="py-lineno">2581</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-723" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-723', 'overrides', 'link-658');">overrides</a></tt><tt class="py-op">.</tt><tt id="link-724" class="py-name" targets="Method CedarBackup2.util.AbsolutePathList.append()=CedarBackup2.util.AbsolutePathList-class.html#append,Method CedarBackup2.util.ObjectTypeList.append()=CedarBackup2.util.ObjectTypeList-class.html#append,Method CedarBackup2.util.RegexList.append()=CedarBackup2.util.RegexList-class.html#append,Method CedarBackup2.util.RegexMatchList.append()=CedarBackup2.util.RegexMatchList-class.html#append,Method CedarBackup2.util.RestrictedContentList.append()=CedarBackup2.util.RestrictedContentList-class.html#append"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-724', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">override</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2582"></a><tt class="py-lineno">2582</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig.replaceOverride"></a><div id="OptionsConfig.replaceOverride-def"><a name="L2583"></a><tt class="py-lineno">2583</tt> <a class="py-toggle" href="#" id="OptionsConfig.replaceOverride-toggle" onclick="return toggle('OptionsConfig.replaceOverride');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#replaceOverride">replaceOverride</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">,</tt> <tt class="py-param">absolutePath</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig.replaceOverride-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig.replaceOverride-expanded"><a name="L2584"></a><tt class="py-lineno">2584</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2585"></a><tt class="py-lineno">2585</tt> <tt class="py-line"><tt class="py-docstring"> If override currently exists for the command, replace it; otherwise add it.</tt> </tt>
<a name="L2586"></a><tt class="py-lineno">2586</tt> <tt class="py-line"><tt class="py-docstring"> @param command: Name of command to be overridden.</tt> </tt>
<a name="L2587"></a><tt class="py-lineno">2587</tt> <tt class="py-line"><tt class="py-docstring"> @param absolutePath: Absolute path of the overrridden command.</tt> </tt>
<a name="L2588"></a><tt class="py-lineno">2588</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2589"></a><tt class="py-lineno">2589</tt> <tt class="py-line"> <tt class="py-name">override</tt> <tt class="py-op">=</tt> <tt id="link-725" class="py-name"><a title="CedarBackup2.config.CommandOverride" class="py-name" href="#" onclick="return doclink('link-725', 'CommandOverride', 'link-715');">CommandOverride</a></tt><tt class="py-op">(</tt><tt id="link-726" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-726', 'command', 'link-128');">command</a></tt><tt class="py-op">,</tt> <tt id="link-727" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-727', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
<a name="L2590"></a><tt class="py-lineno">2590</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-728" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-728', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2591"></a><tt class="py-lineno">2591</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-729" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-729', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-name">override</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L2592"></a><tt class="py-lineno">2592</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2593"></a><tt class="py-lineno">2593</tt> <tt class="py-line"> <tt class="py-name">exists</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L2594"></a><tt class="py-lineno">2594</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">obj</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-730" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-730', 'overrides', 'link-658');">overrides</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2595"></a><tt class="py-lineno">2595</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-731" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-731', 'command', 'link-128');">command</a></tt> <tt class="py-op">==</tt> <tt class="py-name">override</tt><tt class="py-op">.</tt><tt id="link-732" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-732', 'command', 'link-128');">command</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2596"></a><tt class="py-lineno">2596</tt> <tt class="py-line"> <tt class="py-name">exists</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L2597"></a><tt class="py-lineno">2597</tt> <tt class="py-line"> <tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-733" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-733', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt class="py-name">override</tt><tt class="py-op">.</tt><tt id="link-734" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-734', 'absolutePath', 'link-256');">absolutePath</a></tt> </tt>
<a name="L2598"></a><tt class="py-lineno">2598</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
<a name="L2599"></a><tt class="py-lineno">2599</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">exists</tt><tt class="py-op">:</tt> </tt>
<a name="L2600"></a><tt class="py-lineno">2600</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-735" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-735', 'overrides', 'link-658');">overrides</a></tt><tt class="py-op">.</tt><tt id="link-736" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-736', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">override</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2601"></a><tt class="py-lineno">2601</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setStartingDay"></a><div id="OptionsConfig._setStartingDay-def"><a name="L2602"></a><tt class="py-lineno">2602</tt> <a class="py-toggle" href="#" id="OptionsConfig._setStartingDay-toggle" onclick="return toggle('OptionsConfig._setStartingDay');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setStartingDay">_setStartingDay</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setStartingDay-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setStartingDay-expanded"><a name="L2603"></a><tt class="py-lineno">2603</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2604"></a><tt class="py-lineno">2604</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the starting day.</tt> </tt>
<a name="L2605"></a><tt class="py-lineno">2605</tt> <tt class="py-line"><tt class="py-docstring"> If it is not C{None}, the value must be a valid English day of the week,</tt> </tt>
<a name="L2606"></a><tt class="py-lineno">2606</tt> <tt class="py-line"><tt class="py-docstring"> one of C{"monday"}, C{"tuesday"}, C{"wednesday"}, etc.</tt> </tt>
<a name="L2607"></a><tt class="py-lineno">2607</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a valid day of the week.</tt> </tt>
<a name="L2608"></a><tt class="py-lineno">2608</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2609"></a><tt class="py-lineno">2609</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2610"></a><tt class="py-lineno">2610</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-op">[</tt><tt class="py-string">"monday"</tt><tt class="py-op">,</tt> <tt class="py-string">"tuesday"</tt><tt class="py-op">,</tt> <tt class="py-string">"wednesday"</tt><tt class="py-op">,</tt> <tt class="py-string">"thursday"</tt><tt class="py-op">,</tt> <tt class="py-string">"friday"</tt><tt class="py-op">,</tt> <tt class="py-string">"saturday"</tt><tt class="py-op">,</tt> <tt class="py-string">"sunday"</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L2611"></a><tt class="py-lineno">2611</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Starting day must be an English day of the week, i.e. \"monday\"."</tt><tt class="py-op">)</tt> </tt>
<a name="L2612"></a><tt class="py-lineno">2612</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_startingDay</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2613"></a><tt class="py-lineno">2613</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getStartingDay"></a><div id="OptionsConfig._getStartingDay-def"><a name="L2614"></a><tt class="py-lineno">2614</tt> <a class="py-toggle" href="#" id="OptionsConfig._getStartingDay-toggle" onclick="return toggle('OptionsConfig._getStartingDay');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getStartingDay">_getStartingDay</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getStartingDay-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getStartingDay-expanded"><a name="L2615"></a><tt class="py-lineno">2615</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2616"></a><tt class="py-lineno">2616</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the starting day.</tt> </tt>
<a name="L2617"></a><tt class="py-lineno">2617</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2618"></a><tt class="py-lineno">2618</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_startingDay</tt> </tt>
</div><a name="L2619"></a><tt class="py-lineno">2619</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setWorkingDir"></a><div id="OptionsConfig._setWorkingDir-def"><a name="L2620"></a><tt class="py-lineno">2620</tt> <a class="py-toggle" href="#" id="OptionsConfig._setWorkingDir-toggle" onclick="return toggle('OptionsConfig._setWorkingDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setWorkingDir">_setWorkingDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setWorkingDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setWorkingDir-expanded"><a name="L2621"></a><tt class="py-lineno">2621</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2622"></a><tt class="py-lineno">2622</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the working directory.</tt> </tt>
<a name="L2623"></a><tt class="py-lineno">2623</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L2624"></a><tt class="py-lineno">2624</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L2625"></a><tt class="py-lineno">2625</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L2626"></a><tt class="py-lineno">2626</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L2627"></a><tt class="py-lineno">2627</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2628"></a><tt class="py-lineno">2628</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2629"></a><tt class="py-lineno">2629</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L2630"></a><tt class="py-lineno">2630</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Working directory must be an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L2631"></a><tt class="py-lineno">2631</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_workingDir</tt> <tt class="py-op">=</tt> <tt id="link-737" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-737', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2632"></a><tt class="py-lineno">2632</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getWorkingDir"></a><div id="OptionsConfig._getWorkingDir-def"><a name="L2633"></a><tt class="py-lineno">2633</tt> <a class="py-toggle" href="#" id="OptionsConfig._getWorkingDir-toggle" onclick="return toggle('OptionsConfig._getWorkingDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getWorkingDir">_getWorkingDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getWorkingDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getWorkingDir-expanded"><a name="L2634"></a><tt class="py-lineno">2634</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2635"></a><tt class="py-lineno">2635</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the working directory.</tt> </tt>
<a name="L2636"></a><tt class="py-lineno">2636</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2637"></a><tt class="py-lineno">2637</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_workingDir</tt> </tt>
</div><a name="L2638"></a><tt class="py-lineno">2638</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setBackupUser"></a><div id="OptionsConfig._setBackupUser-def"><a name="L2639"></a><tt class="py-lineno">2639</tt> <a class="py-toggle" href="#" id="OptionsConfig._setBackupUser-toggle" onclick="return toggle('OptionsConfig._setBackupUser');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setBackupUser">_setBackupUser</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setBackupUser-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setBackupUser-expanded"><a name="L2640"></a><tt class="py-lineno">2640</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2641"></a><tt class="py-lineno">2641</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the backup user.</tt> </tt>
<a name="L2642"></a><tt class="py-lineno">2642</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2643"></a><tt class="py-lineno">2643</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2644"></a><tt class="py-lineno">2644</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2645"></a><tt class="py-lineno">2645</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2646"></a><tt class="py-lineno">2646</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2647"></a><tt class="py-lineno">2647</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Backup user must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2648"></a><tt class="py-lineno">2648</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_backupUser</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2649"></a><tt class="py-lineno">2649</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getBackupUser"></a><div id="OptionsConfig._getBackupUser-def"><a name="L2650"></a><tt class="py-lineno">2650</tt> <a class="py-toggle" href="#" id="OptionsConfig._getBackupUser-toggle" onclick="return toggle('OptionsConfig._getBackupUser');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getBackupUser">_getBackupUser</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getBackupUser-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getBackupUser-expanded"><a name="L2651"></a><tt class="py-lineno">2651</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2652"></a><tt class="py-lineno">2652</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the backup user.</tt> </tt>
<a name="L2653"></a><tt class="py-lineno">2653</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2654"></a><tt class="py-lineno">2654</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_backupUser</tt> </tt>
</div><a name="L2655"></a><tt class="py-lineno">2655</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setBackupGroup"></a><div id="OptionsConfig._setBackupGroup-def"><a name="L2656"></a><tt class="py-lineno">2656</tt> <a class="py-toggle" href="#" id="OptionsConfig._setBackupGroup-toggle" onclick="return toggle('OptionsConfig._setBackupGroup');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setBackupGroup">_setBackupGroup</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setBackupGroup-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setBackupGroup-expanded"><a name="L2657"></a><tt class="py-lineno">2657</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2658"></a><tt class="py-lineno">2658</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the backup group.</tt> </tt>
<a name="L2659"></a><tt class="py-lineno">2659</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2660"></a><tt class="py-lineno">2660</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2661"></a><tt class="py-lineno">2661</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2662"></a><tt class="py-lineno">2662</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2663"></a><tt class="py-lineno">2663</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2664"></a><tt class="py-lineno">2664</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Backup group must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2665"></a><tt class="py-lineno">2665</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_backupGroup</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2666"></a><tt class="py-lineno">2666</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getBackupGroup"></a><div id="OptionsConfig._getBackupGroup-def"><a name="L2667"></a><tt class="py-lineno">2667</tt> <a class="py-toggle" href="#" id="OptionsConfig._getBackupGroup-toggle" onclick="return toggle('OptionsConfig._getBackupGroup');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getBackupGroup">_getBackupGroup</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getBackupGroup-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getBackupGroup-expanded"><a name="L2668"></a><tt class="py-lineno">2668</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2669"></a><tt class="py-lineno">2669</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the backup group.</tt> </tt>
<a name="L2670"></a><tt class="py-lineno">2670</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2671"></a><tt class="py-lineno">2671</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_backupGroup</tt> </tt>
</div><a name="L2672"></a><tt class="py-lineno">2672</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setRcpCommand"></a><div id="OptionsConfig._setRcpCommand-def"><a name="L2673"></a><tt class="py-lineno">2673</tt> <a class="py-toggle" href="#" id="OptionsConfig._setRcpCommand-toggle" onclick="return toggle('OptionsConfig._setRcpCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setRcpCommand">_setRcpCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setRcpCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setRcpCommand-expanded"><a name="L2674"></a><tt class="py-lineno">2674</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2675"></a><tt class="py-lineno">2675</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the rcp command.</tt> </tt>
<a name="L2676"></a><tt class="py-lineno">2676</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2677"></a><tt class="py-lineno">2677</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2678"></a><tt class="py-lineno">2678</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2679"></a><tt class="py-lineno">2679</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2680"></a><tt class="py-lineno">2680</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2681"></a><tt class="py-lineno">2681</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The rcp command must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2682"></a><tt class="py-lineno">2682</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rcpCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2683"></a><tt class="py-lineno">2683</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getRcpCommand"></a><div id="OptionsConfig._getRcpCommand-def"><a name="L2684"></a><tt class="py-lineno">2684</tt> <a class="py-toggle" href="#" id="OptionsConfig._getRcpCommand-toggle" onclick="return toggle('OptionsConfig._getRcpCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getRcpCommand">_getRcpCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getRcpCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getRcpCommand-expanded"><a name="L2685"></a><tt class="py-lineno">2685</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2686"></a><tt class="py-lineno">2686</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the rcp command.</tt> </tt>
<a name="L2687"></a><tt class="py-lineno">2687</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2688"></a><tt class="py-lineno">2688</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rcpCommand</tt> </tt>
</div><a name="L2689"></a><tt class="py-lineno">2689</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setRshCommand"></a><div id="OptionsConfig._setRshCommand-def"><a name="L2690"></a><tt class="py-lineno">2690</tt> <a class="py-toggle" href="#" id="OptionsConfig._setRshCommand-toggle" onclick="return toggle('OptionsConfig._setRshCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setRshCommand">_setRshCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setRshCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setRshCommand-expanded"><a name="L2691"></a><tt class="py-lineno">2691</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2692"></a><tt class="py-lineno">2692</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the rsh command.</tt> </tt>
<a name="L2693"></a><tt class="py-lineno">2693</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2694"></a><tt class="py-lineno">2694</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2695"></a><tt class="py-lineno">2695</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2696"></a><tt class="py-lineno">2696</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2697"></a><tt class="py-lineno">2697</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2698"></a><tt class="py-lineno">2698</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The rsh command must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2699"></a><tt class="py-lineno">2699</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rshCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2700"></a><tt class="py-lineno">2700</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getRshCommand"></a><div id="OptionsConfig._getRshCommand-def"><a name="L2701"></a><tt class="py-lineno">2701</tt> <a class="py-toggle" href="#" id="OptionsConfig._getRshCommand-toggle" onclick="return toggle('OptionsConfig._getRshCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getRshCommand">_getRshCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getRshCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getRshCommand-expanded"><a name="L2702"></a><tt class="py-lineno">2702</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2703"></a><tt class="py-lineno">2703</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the rsh command.</tt> </tt>
<a name="L2704"></a><tt class="py-lineno">2704</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2705"></a><tt class="py-lineno">2705</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_rshCommand</tt> </tt>
</div><a name="L2706"></a><tt class="py-lineno">2706</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setCbackCommand"></a><div id="OptionsConfig._setCbackCommand-def"><a name="L2707"></a><tt class="py-lineno">2707</tt> <a class="py-toggle" href="#" id="OptionsConfig._setCbackCommand-toggle" onclick="return toggle('OptionsConfig._setCbackCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setCbackCommand">_setCbackCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setCbackCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setCbackCommand-expanded"><a name="L2708"></a><tt class="py-lineno">2708</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2709"></a><tt class="py-lineno">2709</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the cback command.</tt> </tt>
<a name="L2710"></a><tt class="py-lineno">2710</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L2711"></a><tt class="py-lineno">2711</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L2712"></a><tt class="py-lineno">2712</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2713"></a><tt class="py-lineno">2713</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2714"></a><tt class="py-lineno">2714</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L2715"></a><tt class="py-lineno">2715</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The cback command must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L2716"></a><tt class="py-lineno">2716</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cbackCommand</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L2717"></a><tt class="py-lineno">2717</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getCbackCommand"></a><div id="OptionsConfig._getCbackCommand-def"><a name="L2718"></a><tt class="py-lineno">2718</tt> <a class="py-toggle" href="#" id="OptionsConfig._getCbackCommand-toggle" onclick="return toggle('OptionsConfig._getCbackCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getCbackCommand">_getCbackCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getCbackCommand-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getCbackCommand-expanded"><a name="L2719"></a><tt class="py-lineno">2719</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2720"></a><tt class="py-lineno">2720</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the cback command.</tt> </tt>
<a name="L2721"></a><tt class="py-lineno">2721</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2722"></a><tt class="py-lineno">2722</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cbackCommand</tt> </tt>
</div><a name="L2723"></a><tt class="py-lineno">2723</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setOverrides"></a><div id="OptionsConfig._setOverrides-def"><a name="L2724"></a><tt class="py-lineno">2724</tt> <a class="py-toggle" href="#" id="OptionsConfig._setOverrides-toggle" onclick="return toggle('OptionsConfig._setOverrides');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setOverrides">_setOverrides</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setOverrides-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setOverrides-expanded"><a name="L2725"></a><tt class="py-lineno">2725</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2726"></a><tt class="py-lineno">2726</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the command path overrides list.</tt> </tt>
<a name="L2727"></a><tt class="py-lineno">2727</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a C{CommandOverride}.</tt> </tt>
<a name="L2728"></a><tt class="py-lineno">2728</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{CommandOverride}</tt> </tt>
<a name="L2729"></a><tt class="py-lineno">2729</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2730"></a><tt class="py-lineno">2730</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2731"></a><tt class="py-lineno">2731</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_overrides</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2732"></a><tt class="py-lineno">2732</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2733"></a><tt class="py-lineno">2733</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L2734"></a><tt class="py-lineno">2734</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_overrides</tt> </tt>
<a name="L2735"></a><tt class="py-lineno">2735</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_overrides</tt> <tt class="py-op">=</tt> <tt id="link-738" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-738', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-739" class="py-name"><a title="CedarBackup2.config.CommandOverride" class="py-name" href="#" onclick="return doclink('link-739', 'CommandOverride', 'link-715');">CommandOverride</a></tt><tt class="py-op">,</tt> <tt class="py-string">"CommandOverride"</tt><tt class="py-op">)</tt> </tt>
<a name="L2736"></a><tt class="py-lineno">2736</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_overrides</tt><tt class="py-op">.</tt><tt id="link-740" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-740', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L2737"></a><tt class="py-lineno">2737</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L2738"></a><tt class="py-lineno">2738</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_overrides</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L2739"></a><tt class="py-lineno">2739</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L2740"></a><tt class="py-lineno">2740</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getOverrides"></a><div id="OptionsConfig._getOverrides-def"><a name="L2741"></a><tt class="py-lineno">2741</tt> <a class="py-toggle" href="#" id="OptionsConfig._getOverrides-toggle" onclick="return toggle('OptionsConfig._getOverrides');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getOverrides">_getOverrides</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getOverrides-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getOverrides-expanded"><a name="L2742"></a><tt class="py-lineno">2742</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2743"></a><tt class="py-lineno">2743</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the command path overrides list.</tt> </tt>
<a name="L2744"></a><tt class="py-lineno">2744</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2745"></a><tt class="py-lineno">2745</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_overrides</tt> </tt>
</div><a name="L2746"></a><tt class="py-lineno">2746</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setHooks"></a><div id="OptionsConfig._setHooks-def"><a name="L2747"></a><tt class="py-lineno">2747</tt> <a class="py-toggle" href="#" id="OptionsConfig._setHooks-toggle" onclick="return toggle('OptionsConfig._setHooks');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setHooks">_setHooks</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setHooks-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setHooks-expanded"><a name="L2748"></a><tt class="py-lineno">2748</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2749"></a><tt class="py-lineno">2749</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the pre- and post-action hooks list.</tt> </tt>
<a name="L2750"></a><tt class="py-lineno">2750</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be an C{ActionHook}.</tt> </tt>
<a name="L2751"></a><tt class="py-lineno">2751</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{CommandOverride}</tt> </tt>
<a name="L2752"></a><tt class="py-lineno">2752</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2753"></a><tt class="py-lineno">2753</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2754"></a><tt class="py-lineno">2754</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_hooks</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2755"></a><tt class="py-lineno">2755</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2756"></a><tt class="py-lineno">2756</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L2757"></a><tt class="py-lineno">2757</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_hooks</tt> </tt>
<a name="L2758"></a><tt class="py-lineno">2758</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_hooks</tt> <tt class="py-op">=</tt> <tt id="link-741" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-741', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-742" class="py-name"><a title="CedarBackup2.config.ActionHook" class="py-name" href="#" onclick="return doclink('link-742', 'ActionHook', 'link-162');">ActionHook</a></tt><tt class="py-op">,</tt> <tt class="py-string">"ActionHook"</tt><tt class="py-op">)</tt> </tt>
<a name="L2759"></a><tt class="py-lineno">2759</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_hooks</tt><tt class="py-op">.</tt><tt id="link-743" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-743', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L2760"></a><tt class="py-lineno">2760</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L2761"></a><tt class="py-lineno">2761</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_hooks</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L2762"></a><tt class="py-lineno">2762</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L2763"></a><tt class="py-lineno">2763</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getHooks"></a><div id="OptionsConfig._getHooks-def"><a name="L2764"></a><tt class="py-lineno">2764</tt> <a class="py-toggle" href="#" id="OptionsConfig._getHooks-toggle" onclick="return toggle('OptionsConfig._getHooks');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getHooks">_getHooks</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getHooks-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getHooks-expanded"><a name="L2765"></a><tt class="py-lineno">2765</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2766"></a><tt class="py-lineno">2766</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the command path hooks list.</tt> </tt>
<a name="L2767"></a><tt class="py-lineno">2767</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2768"></a><tt class="py-lineno">2768</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_hooks</tt> </tt>
</div><a name="L2769"></a><tt class="py-lineno">2769</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._setManagedActions"></a><div id="OptionsConfig._setManagedActions-def"><a name="L2770"></a><tt class="py-lineno">2770</tt> <a class="py-toggle" href="#" id="OptionsConfig._setManagedActions-toggle" onclick="return toggle('OptionsConfig._setManagedActions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_setManagedActions">_setManagedActions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._setManagedActions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._setManagedActions-expanded"><a name="L2771"></a><tt class="py-lineno">2771</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2772"></a><tt class="py-lineno">2772</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the managed actions list.</tt> </tt>
<a name="L2773"></a><tt class="py-lineno">2773</tt> <tt class="py-line"><tt class="py-docstring"> Elements do not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L2774"></a><tt class="py-lineno">2774</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2775"></a><tt class="py-lineno">2775</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2776"></a><tt class="py-lineno">2776</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2777"></a><tt class="py-lineno">2777</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2778"></a><tt class="py-lineno">2778</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L2779"></a><tt class="py-lineno">2779</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> </tt>
<a name="L2780"></a><tt class="py-lineno">2780</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> <tt class="py-op">=</tt> <tt id="link-744" class="py-name"><a title="CedarBackup2.util.RegexMatchList" class="py-name" href="#" onclick="return doclink('link-744', 'RegexMatchList', 'link-13');">RegexMatchList</a></tt><tt class="py-op">(</tt><tt id="link-745" class="py-name"><a title="CedarBackup2.config.ACTION_NAME_REGEX" class="py-name" href="#" onclick="return doclink('link-745', 'ACTION_NAME_REGEX', 'link-67');">ACTION_NAME_REGEX</a></tt><tt class="py-op">,</tt> <tt class="py-name">emptyAllowed</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-name">prefix</tt><tt class="py-op">=</tt><tt class="py-string">"Action name"</tt><tt class="py-op">)</tt> </tt>
<a name="L2781"></a><tt class="py-lineno">2781</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt><tt class="py-op">.</tt><tt id="link-746" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-746', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L2782"></a><tt class="py-lineno">2782</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L2783"></a><tt class="py-lineno">2783</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L2784"></a><tt class="py-lineno">2784</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L2785"></a><tt class="py-lineno">2785</tt> <tt class="py-line"> </tt>
<a name="OptionsConfig._getManagedActions"></a><div id="OptionsConfig._getManagedActions-def"><a name="L2786"></a><tt class="py-lineno">2786</tt> <a class="py-toggle" href="#" id="OptionsConfig._getManagedActions-toggle" onclick="return toggle('OptionsConfig._getManagedActions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.OptionsConfig-class.html#_getManagedActions">_getManagedActions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OptionsConfig._getManagedActions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="OptionsConfig._getManagedActions-expanded"><a name="L2787"></a><tt class="py-lineno">2787</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2788"></a><tt class="py-lineno">2788</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the managed actions list.</tt> </tt>
<a name="L2789"></a><tt class="py-lineno">2789</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2790"></a><tt class="py-lineno">2790</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_managedActions</tt> </tt>
</div><a name="L2791"></a><tt class="py-lineno">2791</tt> <tt class="py-line"> </tt>
<a name="L2792"></a><tt class="py-lineno">2792</tt> <tt class="py-line"> <tt id="link-747" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-747', 'startingDay', 'link-644');">startingDay</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-748" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._getStartingDay()=CedarBackup2.config.OptionsConfig-class.html#_getStartingDay"><a title="CedarBackup2.config.OptionsConfig._getStartingDay" class="py-name" href="#" onclick="return doclink('link-748', '_getStartingDay', 'link-748');">_getStartingDay</a></tt><tt class="py-op">,</tt> <tt id="link-749" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setStartingDay()=CedarBackup2.config.OptionsConfig-class.html#_setStartingDay"><a title="CedarBackup2.config.OptionsConfig._setStartingDay" class="py-name" href="#" onclick="return doclink('link-749', '_setStartingDay', 'link-749');">_setStartingDay</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Day that starts the week."</tt><tt class="py-op">)</tt> </tt>
<a name="L2793"></a><tt class="py-lineno">2793</tt> <tt class="py-line"> <tt id="link-750" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-750', 'workingDir', 'link-646');">workingDir</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-751" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._getWorkingDir()=CedarBackup2.config.OptionsConfig-class.html#_getWorkingDir,Method CedarBackup2.peer.RemotePeer._getWorkingDir()=CedarBackup2.peer.RemotePeer-class.html#_getWorkingDir"><a title="CedarBackup2.config.OptionsConfig._getWorkingDir
CedarBackup2.peer.RemotePeer._getWorkingDir" class="py-name" href="#" onclick="return doclink('link-751', '_getWorkingDir', 'link-751');">_getWorkingDir</a></tt><tt class="py-op">,</tt> <tt id="link-752" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setWorkingDir()=CedarBackup2.config.OptionsConfig-class.html#_setWorkingDir,Method CedarBackup2.peer.RemotePeer._setWorkingDir()=CedarBackup2.peer.RemotePeer-class.html#_setWorkingDir"><a title="CedarBackup2.config.OptionsConfig._setWorkingDir
CedarBackup2.peer.RemotePeer._setWorkingDir" class="py-name" href="#" onclick="return doclink('link-752', '_setWorkingDir', 'link-752');">_setWorkingDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Working (temporary) directory to use for backups."</tt><tt class="py-op">)</tt> </tt>
<a name="L2794"></a><tt class="py-lineno">2794</tt> <tt class="py-line"> <tt id="link-753" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-753', 'backupUser', 'link-648');">backupUser</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-754" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._getBackupUser()=CedarBackup2.config.OptionsConfig-class.html#_getBackupUser"><a title="CedarBackup2.config.OptionsConfig._getBackupUser" class="py-name" href="#" onclick="return doclink('link-754', '_getBackupUser', 'link-754');">_getBackupUser</a></tt><tt class="py-op">,</tt> <tt id="link-755" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setBackupUser()=CedarBackup2.config.OptionsConfig-class.html#_setBackupUser"><a title="CedarBackup2.config.OptionsConfig._setBackupUser" class="py-name" href="#" onclick="return doclink('link-755', '_setBackupUser', 'link-755');">_setBackupUser</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Effective user that backups should run as."</tt><tt class="py-op">)</tt> </tt>
<a name="L2795"></a><tt class="py-lineno">2795</tt> <tt class="py-line"> <tt id="link-756" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-756', 'backupGroup', 'link-650');">backupGroup</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-757" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._getBackupGroup()=CedarBackup2.config.OptionsConfig-class.html#_getBackupGroup"><a title="CedarBackup2.config.OptionsConfig._getBackupGroup" class="py-name" href="#" onclick="return doclink('link-757', '_getBackupGroup', 'link-757');">_getBackupGroup</a></tt><tt class="py-op">,</tt> <tt id="link-758" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setBackupGroup()=CedarBackup2.config.OptionsConfig-class.html#_setBackupGroup"><a title="CedarBackup2.config.OptionsConfig._setBackupGroup" class="py-name" href="#" onclick="return doclink('link-758', '_setBackupGroup', 'link-758');">_setBackupGroup</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Effective group that backups should run as."</tt><tt class="py-op">)</tt> </tt>
<a name="L2796"></a><tt class="py-lineno">2796</tt> <tt class="py-line"> <tt id="link-759" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-759', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-760" class="py-name"><a title="CedarBackup2.actions.stage._getRcpCommand
CedarBackup2.config.OptionsConfig._getRcpCommand
CedarBackup2.config.RemotePeer._getRcpCommand
CedarBackup2.peer.RemotePeer._getRcpCommand" class="py-name" href="#" onclick="return doclink('link-760', '_getRcpCommand', 'link-560');">_getRcpCommand</a></tt><tt class="py-op">,</tt> <tt id="link-761" class="py-name"><a title="CedarBackup2.config.OptionsConfig._setRcpCommand
CedarBackup2.config.RemotePeer._setRcpCommand
CedarBackup2.peer.RemotePeer._setRcpCommand" class="py-name" href="#" onclick="return doclink('link-761', '_setRcpCommand', 'link-561');">_setRcpCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Default rcp-compatible copy command for staging."</tt><tt class="py-op">)</tt> </tt>
<a name="L2797"></a><tt class="py-lineno">2797</tt> <tt class="py-line"> <tt id="link-762" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-762', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-763" class="py-name"><a title="CedarBackup2.cli._ActionSet._getRshCommand
CedarBackup2.config.OptionsConfig._getRshCommand
CedarBackup2.config.RemotePeer._getRshCommand
CedarBackup2.peer.RemotePeer._getRshCommand" class="py-name" href="#" onclick="return doclink('link-763', '_getRshCommand', 'link-563');">_getRshCommand</a></tt><tt class="py-op">,</tt> <tt id="link-764" class="py-name"><a title="CedarBackup2.config.OptionsConfig._setRshCommand
CedarBackup2.config.RemotePeer._setRshCommand
CedarBackup2.peer.RemotePeer._setRshCommand" class="py-name" href="#" onclick="return doclink('link-764', '_setRshCommand', 'link-564');">_setRshCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Default rsh-compatible command to use for remote shells."</tt><tt class="py-op">)</tt> </tt>
<a name="L2798"></a><tt class="py-lineno">2798</tt> <tt class="py-line"> <tt id="link-765" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-765', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-766" class="py-name"><a title="CedarBackup2.cli._ActionSet._getCbackCommand
CedarBackup2.config.OptionsConfig._getCbackCommand
CedarBackup2.config.RemotePeer._getCbackCommand
CedarBackup2.peer.RemotePeer._getCbackCommand" class="py-name" href="#" onclick="return doclink('link-766', '_getCbackCommand', 'link-566');">_getCbackCommand</a></tt><tt class="py-op">,</tt> <tt id="link-767" class="py-name"><a title="CedarBackup2.config.OptionsConfig._setCbackCommand
CedarBackup2.config.RemotePeer._setCbackCommand
CedarBackup2.peer.RemotePeer._setCbackCommand" class="py-name" href="#" onclick="return doclink('link-767', '_setCbackCommand', 'link-567');">_setCbackCommand</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Default cback-compatible command to use on managed remote peers."</tt><tt class="py-op">)</tt> </tt>
<a name="L2799"></a><tt class="py-lineno">2799</tt> <tt class="py-line"> <tt id="link-768" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-768', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-769" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._getOverrides()=CedarBackup2.config.OptionsConfig-class.html#_getOverrides"><a title="CedarBackup2.config.OptionsConfig._getOverrides" class="py-name" href="#" onclick="return doclink('link-769', '_getOverrides', 'link-769');">_getOverrides</a></tt><tt class="py-op">,</tt> <tt id="link-770" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setOverrides()=CedarBackup2.config.OptionsConfig-class.html#_setOverrides"><a title="CedarBackup2.config.OptionsConfig._setOverrides" class="py-name" href="#" onclick="return doclink('link-770', '_setOverrides', 'link-770');">_setOverrides</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of configured command path overrides, if any."</tt><tt class="py-op">)</tt> </tt>
<a name="L2800"></a><tt class="py-lineno">2800</tt> <tt class="py-line"> <tt id="link-771" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-771', 'hooks', 'link-660');">hooks</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-772" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._getHooks()=CedarBackup2.config.OptionsConfig-class.html#_getHooks"><a title="CedarBackup2.config.OptionsConfig._getHooks" class="py-name" href="#" onclick="return doclink('link-772', '_getHooks', 'link-772');">_getHooks</a></tt><tt class="py-op">,</tt> <tt id="link-773" class="py-name" targets="Method CedarBackup2.config.OptionsConfig._setHooks()=CedarBackup2.config.OptionsConfig-class.html#_setHooks"><a title="CedarBackup2.config.OptionsConfig._setHooks" class="py-name" href="#" onclick="return doclink('link-773', '_setHooks', 'link-773');">_setHooks</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of configured pre- and post-action hooks."</tt><tt class="py-op">)</tt> </tt>
<a name="L2801"></a><tt class="py-lineno">2801</tt> <tt class="py-line"> <tt id="link-774" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-774', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-775" class="py-name"><a title="CedarBackup2.cli._ActionSet._getManagedActions
CedarBackup2.config.OptionsConfig._getManagedActions
CedarBackup2.config.RemotePeer._getManagedActions" class="py-name" href="#" onclick="return doclink('link-775', '_getManagedActions', 'link-572');">_getManagedActions</a></tt><tt class="py-op">,</tt> <tt id="link-776" class="py-name"><a title="CedarBackup2.config.OptionsConfig._setManagedActions
CedarBackup2.config.RemotePeer._setManagedActions" class="py-name" href="#" onclick="return doclink('link-776', '_setManagedActions', 'link-573');">_setManagedActions</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Default set of actions that are managed on remote peers."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2802"></a><tt class="py-lineno">2802</tt> <tt class="py-line"> </tt>
<a name="PeersConfig"></a><div id="PeersConfig-def"><a name="L2803"></a><tt class="py-lineno">2803</tt> <tt class="py-line"> </tt>
<a name="L2804"></a><tt class="py-lineno">2804</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2805"></a><tt class="py-lineno">2805</tt> <tt class="py-line"><tt class="py-comment"># PeersConfig class definition</tt> </tt>
<a name="L2806"></a><tt class="py-lineno">2806</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2807"></a><tt class="py-lineno">2807</tt> <tt class="py-line"> </tt>
<a name="L2808"></a><tt class="py-lineno">2808</tt> <a class="py-toggle" href="#" id="PeersConfig-toggle" onclick="return toggle('PeersConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html">PeersConfig</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="PeersConfig-expanded"><a name="L2809"></a><tt class="py-lineno">2809</tt> <tt class="py-line"> </tt>
<a name="L2810"></a><tt class="py-lineno">2810</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2811"></a><tt class="py-lineno">2811</tt> <tt class="py-line"><tt class="py-docstring"> Class representing Cedar Backup global peer configuration.</tt> </tt>
<a name="L2812"></a><tt class="py-lineno">2812</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2813"></a><tt class="py-lineno">2813</tt> <tt class="py-line"><tt class="py-docstring"> This section contains a list of local and remote peers in a master's backup</tt> </tt>
<a name="L2814"></a><tt class="py-lineno">2814</tt> <tt class="py-line"><tt class="py-docstring"> pool. The section is optional. If a master does not define this section,</tt> </tt>
<a name="L2815"></a><tt class="py-lineno">2815</tt> <tt class="py-line"><tt class="py-docstring"> then all peers are unmanaged, and the stage configuration section must</tt> </tt>
<a name="L2816"></a><tt class="py-lineno">2816</tt> <tt class="py-line"><tt class="py-docstring"> explicitly list any peer that is to be staged. If this section is</tt> </tt>
<a name="L2817"></a><tt class="py-lineno">2817</tt> <tt class="py-line"><tt class="py-docstring"> configured, then peers may be managed or unmanaged, and the stage section</tt> </tt>
<a name="L2818"></a><tt class="py-lineno">2818</tt> <tt class="py-line"><tt class="py-docstring"> peer configuration (if any) completely overrides this configuration.</tt> </tt>
<a name="L2819"></a><tt class="py-lineno">2819</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2820"></a><tt class="py-lineno">2820</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L2821"></a><tt class="py-lineno">2821</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2822"></a><tt class="py-lineno">2822</tt> <tt class="py-line"><tt class="py-docstring"> - The list of local peers must contain only C{LocalPeer} objects</tt> </tt>
<a name="L2823"></a><tt class="py-lineno">2823</tt> <tt class="py-line"><tt class="py-docstring"> - The list of remote peers must contain only C{RemotePeer} objects</tt> </tt>
<a name="L2824"></a><tt class="py-lineno">2824</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2825"></a><tt class="py-lineno">2825</tt> <tt class="py-line"><tt class="py-docstring"> @note: Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L2826"></a><tt class="py-lineno">2826</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2827"></a><tt class="py-lineno">2827</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, localPeers, remotePeers</tt> </tt>
<a name="L2828"></a><tt class="py-lineno">2828</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2829"></a><tt class="py-lineno">2829</tt> <tt class="py-line"> </tt>
<a name="PeersConfig.__init__"></a><div id="PeersConfig.__init__-def"><a name="L2830"></a><tt class="py-lineno">2830</tt> <a class="py-toggle" href="#" id="PeersConfig.__init__-toggle" onclick="return toggle('PeersConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">localPeers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">remotePeers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig.__init__-expanded"><a name="L2831"></a><tt class="py-lineno">2831</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2832"></a><tt class="py-lineno">2832</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{PeersConfig} class.</tt> </tt>
<a name="L2833"></a><tt class="py-lineno">2833</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2834"></a><tt class="py-lineno">2834</tt> <tt class="py-line"><tt class="py-docstring"> @param localPeers: List of local peers.</tt> </tt>
<a name="L2835"></a><tt class="py-lineno">2835</tt> <tt class="py-line"><tt class="py-docstring"> @param remotePeers: List of remote peers.</tt> </tt>
<a name="L2836"></a><tt class="py-lineno">2836</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2837"></a><tt class="py-lineno">2837</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L2838"></a><tt class="py-lineno">2838</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2839"></a><tt class="py-lineno">2839</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2840"></a><tt class="py-lineno">2840</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2841"></a><tt class="py-lineno">2841</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-777" class="py-name" targets="Variable CedarBackup2.config.PeersConfig.localPeers=CedarBackup2.config.PeersConfig-class.html#localPeers,Variable CedarBackup2.config.StageConfig.localPeers=CedarBackup2.config.StageConfig-class.html#localPeers"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-777', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">=</tt> <tt id="link-778" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-778', 'localPeers', 'link-777');">localPeers</a></tt> </tt>
<a name="L2842"></a><tt class="py-lineno">2842</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-779" class="py-name" targets="Variable CedarBackup2.config.PeersConfig.remotePeers=CedarBackup2.config.PeersConfig-class.html#remotePeers,Variable CedarBackup2.config.StageConfig.remotePeers=CedarBackup2.config.StageConfig-class.html#remotePeers"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-779', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">=</tt> <tt id="link-780" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-780', 'remotePeers', 'link-779');">remotePeers</a></tt> </tt>
</div><a name="L2843"></a><tt class="py-lineno">2843</tt> <tt class="py-line"> </tt>
<a name="PeersConfig.__repr__"></a><div id="PeersConfig.__repr__-def"><a name="L2844"></a><tt class="py-lineno">2844</tt> <a class="py-toggle" href="#" id="PeersConfig.__repr__-toggle" onclick="return toggle('PeersConfig.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig.__repr__-expanded"><a name="L2845"></a><tt class="py-lineno">2845</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2846"></a><tt class="py-lineno">2846</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L2847"></a><tt class="py-lineno">2847</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2848"></a><tt class="py-lineno">2848</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"PeersConfig(%s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-781" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-781', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-782" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-782', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L2849"></a><tt class="py-lineno">2849</tt> <tt class="py-line"> </tt>
<a name="PeersConfig.__str__"></a><div id="PeersConfig.__str__-def"><a name="L2850"></a><tt class="py-lineno">2850</tt> <a class="py-toggle" href="#" id="PeersConfig.__str__-toggle" onclick="return toggle('PeersConfig.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig.__str__-expanded"><a name="L2851"></a><tt class="py-lineno">2851</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2852"></a><tt class="py-lineno">2852</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L2853"></a><tt class="py-lineno">2853</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2854"></a><tt class="py-lineno">2854</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-783" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-783', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2855"></a><tt class="py-lineno">2855</tt> <tt class="py-line"> </tt>
<a name="PeersConfig.__cmp__"></a><div id="PeersConfig.__cmp__-def"><a name="L2856"></a><tt class="py-lineno">2856</tt> <a class="py-toggle" href="#" id="PeersConfig.__cmp__-toggle" onclick="return toggle('PeersConfig.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig.__cmp__-expanded"><a name="L2857"></a><tt class="py-lineno">2857</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2858"></a><tt class="py-lineno">2858</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L2859"></a><tt class="py-lineno">2859</tt> <tt class="py-line"><tt class="py-docstring"> Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L2860"></a><tt class="py-lineno">2860</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L2861"></a><tt class="py-lineno">2861</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L2862"></a><tt class="py-lineno">2862</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2863"></a><tt class="py-lineno">2863</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2864"></a><tt class="py-lineno">2864</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2865"></a><tt class="py-lineno">2865</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-784" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-784', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-785" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-785', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2866"></a><tt class="py-lineno">2866</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-786" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-786', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-787" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-787', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2867"></a><tt class="py-lineno">2867</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2868"></a><tt class="py-lineno">2868</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2869"></a><tt class="py-lineno">2869</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2870"></a><tt class="py-lineno">2870</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-788" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-788', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-789" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-789', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2871"></a><tt class="py-lineno">2871</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-790" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-790', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-791" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-791', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L2872"></a><tt class="py-lineno">2872</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L2873"></a><tt class="py-lineno">2873</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2874"></a><tt class="py-lineno">2874</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L2875"></a><tt class="py-lineno">2875</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L2876"></a><tt class="py-lineno">2876</tt> <tt class="py-line"> </tt>
<a name="PeersConfig.hasPeers"></a><div id="PeersConfig.hasPeers-def"><a name="L2877"></a><tt class="py-lineno">2877</tt> <a class="py-toggle" href="#" id="PeersConfig.hasPeers-toggle" onclick="return toggle('PeersConfig.hasPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#hasPeers">hasPeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig.hasPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig.hasPeers-expanded"><a name="L2878"></a><tt class="py-lineno">2878</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2879"></a><tt class="py-lineno">2879</tt> <tt class="py-line"><tt class="py-docstring"> Indicates whether any peers are filled into this object.</tt> </tt>
<a name="L2880"></a><tt class="py-lineno">2880</tt> <tt class="py-line"><tt class="py-docstring"> @return: Boolean true if any local or remote peers are filled in, false otherwise.</tt> </tt>
<a name="L2881"></a><tt class="py-lineno">2881</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2882"></a><tt class="py-lineno">2882</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-792" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-792', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-793" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-793', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> </tt>
<a name="L2883"></a><tt class="py-lineno">2883</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-794" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-794', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-795" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-795', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2884"></a><tt class="py-lineno">2884</tt> <tt class="py-line"> </tt>
<a name="PeersConfig._setLocalPeers"></a><div id="PeersConfig._setLocalPeers-def"><a name="L2885"></a><tt class="py-lineno">2885</tt> <a class="py-toggle" href="#" id="PeersConfig._setLocalPeers-toggle" onclick="return toggle('PeersConfig._setLocalPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#_setLocalPeers">_setLocalPeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig._setLocalPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig._setLocalPeers-expanded"><a name="L2886"></a><tt class="py-lineno">2886</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2887"></a><tt class="py-lineno">2887</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the local peers list.</tt> </tt>
<a name="L2888"></a><tt class="py-lineno">2888</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a C{LocalPeer}.</tt> </tt>
<a name="L2889"></a><tt class="py-lineno">2889</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L2890"></a><tt class="py-lineno">2890</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2891"></a><tt class="py-lineno">2891</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2892"></a><tt class="py-lineno">2892</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2893"></a><tt class="py-lineno">2893</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2894"></a><tt class="py-lineno">2894</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L2895"></a><tt class="py-lineno">2895</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> </tt>
<a name="L2896"></a><tt class="py-lineno">2896</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> <tt class="py-op">=</tt> <tt id="link-796" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-796', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-797" class="py-name" targets="Class CedarBackup2.config.LocalPeer=CedarBackup2.config.LocalPeer-class.html,Class CedarBackup2.peer.LocalPeer=CedarBackup2.peer.LocalPeer-class.html"><a title="CedarBackup2.config.LocalPeer
CedarBackup2.peer.LocalPeer" class="py-name" href="#" onclick="return doclink('link-797', 'LocalPeer', 'link-797');">LocalPeer</a></tt><tt class="py-op">,</tt> <tt class="py-string">"LocalPeer"</tt><tt class="py-op">)</tt> </tt>
<a name="L2897"></a><tt class="py-lineno">2897</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt><tt class="py-op">.</tt><tt id="link-798" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-798', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L2898"></a><tt class="py-lineno">2898</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L2899"></a><tt class="py-lineno">2899</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L2900"></a><tt class="py-lineno">2900</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L2901"></a><tt class="py-lineno">2901</tt> <tt class="py-line"> </tt>
<a name="PeersConfig._getLocalPeers"></a><div id="PeersConfig._getLocalPeers-def"><a name="L2902"></a><tt class="py-lineno">2902</tt> <a class="py-toggle" href="#" id="PeersConfig._getLocalPeers-toggle" onclick="return toggle('PeersConfig._getLocalPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#_getLocalPeers">_getLocalPeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig._getLocalPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig._getLocalPeers-expanded"><a name="L2903"></a><tt class="py-lineno">2903</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2904"></a><tt class="py-lineno">2904</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the local peers list.</tt> </tt>
<a name="L2905"></a><tt class="py-lineno">2905</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2906"></a><tt class="py-lineno">2906</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> </tt>
</div><a name="L2907"></a><tt class="py-lineno">2907</tt> <tt class="py-line"> </tt>
<a name="PeersConfig._setRemotePeers"></a><div id="PeersConfig._setRemotePeers-def"><a name="L2908"></a><tt class="py-lineno">2908</tt> <a class="py-toggle" href="#" id="PeersConfig._setRemotePeers-toggle" onclick="return toggle('PeersConfig._setRemotePeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#_setRemotePeers">_setRemotePeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig._setRemotePeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig._setRemotePeers-expanded"><a name="L2909"></a><tt class="py-lineno">2909</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2910"></a><tt class="py-lineno">2910</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the remote peers list.</tt> </tt>
<a name="L2911"></a><tt class="py-lineno">2911</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a C{RemotePeer}.</tt> </tt>
<a name="L2912"></a><tt class="py-lineno">2912</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{RemotePeer}</tt> </tt>
<a name="L2913"></a><tt class="py-lineno">2913</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2914"></a><tt class="py-lineno">2914</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L2915"></a><tt class="py-lineno">2915</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2916"></a><tt class="py-lineno">2916</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L2917"></a><tt class="py-lineno">2917</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L2918"></a><tt class="py-lineno">2918</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> </tt>
<a name="L2919"></a><tt class="py-lineno">2919</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> <tt class="py-op">=</tt> <tt id="link-799" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-799', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-800" class="py-name" targets="Class CedarBackup2.config.RemotePeer=CedarBackup2.config.RemotePeer-class.html,Class CedarBackup2.peer.RemotePeer=CedarBackup2.peer.RemotePeer-class.html"><a title="CedarBackup2.config.RemotePeer
CedarBackup2.peer.RemotePeer" class="py-name" href="#" onclick="return doclink('link-800', 'RemotePeer', 'link-800');">RemotePeer</a></tt><tt class="py-op">,</tt> <tt class="py-string">"RemotePeer"</tt><tt class="py-op">)</tt> </tt>
<a name="L2920"></a><tt class="py-lineno">2920</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt><tt class="py-op">.</tt><tt id="link-801" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-801', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L2921"></a><tt class="py-lineno">2921</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L2922"></a><tt class="py-lineno">2922</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L2923"></a><tt class="py-lineno">2923</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L2924"></a><tt class="py-lineno">2924</tt> <tt class="py-line"> </tt>
<a name="PeersConfig._getRemotePeers"></a><div id="PeersConfig._getRemotePeers-def"><a name="L2925"></a><tt class="py-lineno">2925</tt> <a class="py-toggle" href="#" id="PeersConfig._getRemotePeers-toggle" onclick="return toggle('PeersConfig._getRemotePeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PeersConfig-class.html#_getRemotePeers">_getRemotePeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PeersConfig._getRemotePeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PeersConfig._getRemotePeers-expanded"><a name="L2926"></a><tt class="py-lineno">2926</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2927"></a><tt class="py-lineno">2927</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the remote peers list.</tt> </tt>
<a name="L2928"></a><tt class="py-lineno">2928</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2929"></a><tt class="py-lineno">2929</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> </tt>
</div><a name="L2930"></a><tt class="py-lineno">2930</tt> <tt class="py-line"> </tt>
<a name="L2931"></a><tt class="py-lineno">2931</tt> <tt class="py-line"> <tt id="link-802" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-802', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-803" class="py-name" targets="Function CedarBackup2.actions.stage._getLocalPeers()=CedarBackup2.actions.stage-module.html#_getLocalPeers,Method CedarBackup2.config.PeersConfig._getLocalPeers()=CedarBackup2.config.PeersConfig-class.html#_getLocalPeers,Method CedarBackup2.config.StageConfig._getLocalPeers()=CedarBackup2.config.StageConfig-class.html#_getLocalPeers"><a title="CedarBackup2.actions.stage._getLocalPeers
CedarBackup2.config.PeersConfig._getLocalPeers
CedarBackup2.config.StageConfig._getLocalPeers" class="py-name" href="#" onclick="return doclink('link-803', '_getLocalPeers', 'link-803');">_getLocalPeers</a></tt><tt class="py-op">,</tt> <tt id="link-804" class="py-name" targets="Method CedarBackup2.config.PeersConfig._setLocalPeers()=CedarBackup2.config.PeersConfig-class.html#_setLocalPeers,Method CedarBackup2.config.StageConfig._setLocalPeers()=CedarBackup2.config.StageConfig-class.html#_setLocalPeers"><a title="CedarBackup2.config.PeersConfig._setLocalPeers
CedarBackup2.config.StageConfig._setLocalPeers" class="py-name" href="#" onclick="return doclink('link-804', '_setLocalPeers', 'link-804');">_setLocalPeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of local peers."</tt><tt class="py-op">)</tt> </tt>
<a name="L2932"></a><tt class="py-lineno">2932</tt> <tt class="py-line"> <tt id="link-805" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-805', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-806" class="py-name" targets="Function CedarBackup2.actions.stage._getRemotePeers()=CedarBackup2.actions.stage-module.html#_getRemotePeers,Method CedarBackup2.config.PeersConfig._getRemotePeers()=CedarBackup2.config.PeersConfig-class.html#_getRemotePeers,Method CedarBackup2.config.StageConfig._getRemotePeers()=CedarBackup2.config.StageConfig-class.html#_getRemotePeers"><a title="CedarBackup2.actions.stage._getRemotePeers
CedarBackup2.config.PeersConfig._getRemotePeers
CedarBackup2.config.StageConfig._getRemotePeers" class="py-name" href="#" onclick="return doclink('link-806', '_getRemotePeers', 'link-806');">_getRemotePeers</a></tt><tt class="py-op">,</tt> <tt id="link-807" class="py-name" targets="Method CedarBackup2.config.PeersConfig._setRemotePeers()=CedarBackup2.config.PeersConfig-class.html#_setRemotePeers,Method CedarBackup2.config.StageConfig._setRemotePeers()=CedarBackup2.config.StageConfig-class.html#_setRemotePeers"><a title="CedarBackup2.config.PeersConfig._setRemotePeers
CedarBackup2.config.StageConfig._setRemotePeers" class="py-name" href="#" onclick="return doclink('link-807', '_setRemotePeers', 'link-807');">_setRemotePeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of remote peers."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L2933"></a><tt class="py-lineno">2933</tt> <tt class="py-line"> </tt>
<a name="CollectConfig"></a><div id="CollectConfig-def"><a name="L2934"></a><tt class="py-lineno">2934</tt> <tt class="py-line"> </tt>
<a name="L2935"></a><tt class="py-lineno">2935</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2936"></a><tt class="py-lineno">2936</tt> <tt class="py-line"><tt class="py-comment"># CollectConfig class definition</tt> </tt>
<a name="L2937"></a><tt class="py-lineno">2937</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L2938"></a><tt class="py-lineno">2938</tt> <tt class="py-line"> </tt>
<a name="L2939"></a><tt class="py-lineno">2939</tt> <a class="py-toggle" href="#" id="CollectConfig-toggle" onclick="return toggle('CollectConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html">CollectConfig</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="CollectConfig-expanded"><a name="L2940"></a><tt class="py-lineno">2940</tt> <tt class="py-line"> </tt>
<a name="L2941"></a><tt class="py-lineno">2941</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2942"></a><tt class="py-lineno">2942</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup collect configuration.</tt> </tt>
<a name="L2943"></a><tt class="py-lineno">2943</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2944"></a><tt class="py-lineno">2944</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L2945"></a><tt class="py-lineno">2945</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2946"></a><tt class="py-lineno">2946</tt> <tt class="py-line"><tt class="py-docstring"> - The target directory must be an absolute path.</tt> </tt>
<a name="L2947"></a><tt class="py-lineno">2947</tt> <tt class="py-line"><tt class="py-docstring"> - The collect mode must be one of the values in L{VALID_COLLECT_MODES}.</tt> </tt>
<a name="L2948"></a><tt class="py-lineno">2948</tt> <tt class="py-line"><tt class="py-docstring"> - The archive mode must be one of the values in L{VALID_ARCHIVE_MODES}.</tt> </tt>
<a name="L2949"></a><tt class="py-lineno">2949</tt> <tt class="py-line"><tt class="py-docstring"> - The ignore file must be a non-empty string.</tt> </tt>
<a name="L2950"></a><tt class="py-lineno">2950</tt> <tt class="py-line"><tt class="py-docstring"> - Each of the paths in C{absoluteExcludePaths} must be an absolute path</tt> </tt>
<a name="L2951"></a><tt class="py-lineno">2951</tt> <tt class="py-line"><tt class="py-docstring"> - The collect file list must be a list of C{CollectFile} objects.</tt> </tt>
<a name="L2952"></a><tt class="py-lineno">2952</tt> <tt class="py-line"><tt class="py-docstring"> - The collect directory list must be a list of C{CollectDir} objects.</tt> </tt>
<a name="L2953"></a><tt class="py-lineno">2953</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2954"></a><tt class="py-lineno">2954</tt> <tt class="py-line"><tt class="py-docstring"> For the C{absoluteExcludePaths} list, validation is accomplished through the</tt> </tt>
<a name="L2955"></a><tt class="py-lineno">2955</tt> <tt class="py-line"><tt class="py-docstring"> L{util.AbsolutePathList} list implementation that overrides common list</tt> </tt>
<a name="L2956"></a><tt class="py-lineno">2956</tt> <tt class="py-line"><tt class="py-docstring"> methods and transparently does the absolute path validation for us.</tt> </tt>
<a name="L2957"></a><tt class="py-lineno">2957</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2958"></a><tt class="py-lineno">2958</tt> <tt class="py-line"><tt class="py-docstring"> For the C{collectFiles} and C{collectDirs} list, validation is accomplished</tt> </tt>
<a name="L2959"></a><tt class="py-lineno">2959</tt> <tt class="py-line"><tt class="py-docstring"> through the L{util.ObjectTypeList} list implementation that overrides common</tt> </tt>
<a name="L2960"></a><tt class="py-lineno">2960</tt> <tt class="py-line"><tt class="py-docstring"> list methods and transparently ensures that each element has an appropriate</tt> </tt>
<a name="L2961"></a><tt class="py-lineno">2961</tt> <tt class="py-line"><tt class="py-docstring"> type.</tt> </tt>
<a name="L2962"></a><tt class="py-lineno">2962</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2963"></a><tt class="py-lineno">2963</tt> <tt class="py-line"><tt class="py-docstring"> @note: Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L2964"></a><tt class="py-lineno">2964</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2965"></a><tt class="py-lineno">2965</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, targetDir, </tt> </tt>
<a name="L2966"></a><tt class="py-lineno">2966</tt> <tt class="py-line"><tt class="py-docstring"> collectMode, archiveMode, ignoreFile, absoluteExcludePaths, </tt> </tt>
<a name="L2967"></a><tt class="py-lineno">2967</tt> <tt class="py-line"><tt class="py-docstring"> excludePatterns, collectFiles, collectDirs</tt> </tt>
<a name="L2968"></a><tt class="py-lineno">2968</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2969"></a><tt class="py-lineno">2969</tt> <tt class="py-line"> </tt>
<a name="CollectConfig.__init__"></a><div id="CollectConfig.__init__-def"><a name="L2970"></a><tt class="py-lineno">2970</tt> <a class="py-toggle" href="#" id="CollectConfig.__init__-toggle" onclick="return toggle('CollectConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">targetDir</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">collectMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">archiveMode</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">ignoreFile</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L2971"></a><tt class="py-lineno">2971</tt> <tt class="py-line"> <tt class="py-param">absoluteExcludePaths</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">excludePatterns</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">collectFiles</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L2972"></a><tt class="py-lineno">2972</tt> <tt class="py-line"> <tt class="py-param">collectDirs</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig.__init__-expanded"><a name="L2973"></a><tt class="py-lineno">2973</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L2974"></a><tt class="py-lineno">2974</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{CollectConfig} class.</tt> </tt>
<a name="L2975"></a><tt class="py-lineno">2975</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2976"></a><tt class="py-lineno">2976</tt> <tt class="py-line"><tt class="py-docstring"> @param targetDir: Directory to collect files into.</tt> </tt>
<a name="L2977"></a><tt class="py-lineno">2977</tt> <tt class="py-line"><tt class="py-docstring"> @param collectMode: Default collect mode.</tt> </tt>
<a name="L2978"></a><tt class="py-lineno">2978</tt> <tt class="py-line"><tt class="py-docstring"> @param archiveMode: Default archive mode for collect files.</tt> </tt>
<a name="L2979"></a><tt class="py-lineno">2979</tt> <tt class="py-line"><tt class="py-docstring"> @param ignoreFile: Default ignore file name.</tt> </tt>
<a name="L2980"></a><tt class="py-lineno">2980</tt> <tt class="py-line"><tt class="py-docstring"> @param absoluteExcludePaths: List of absolute paths to exclude.</tt> </tt>
<a name="L2981"></a><tt class="py-lineno">2981</tt> <tt class="py-line"><tt class="py-docstring"> @param excludePatterns: List of regular expression patterns to exclude.</tt> </tt>
<a name="L2982"></a><tt class="py-lineno">2982</tt> <tt class="py-line"><tt class="py-docstring"> @param collectFiles: List of collect files.</tt> </tt>
<a name="L2983"></a><tt class="py-lineno">2983</tt> <tt class="py-line"><tt class="py-docstring"> @param collectDirs: List of collect directories.</tt> </tt>
<a name="L2984"></a><tt class="py-lineno">2984</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L2985"></a><tt class="py-lineno">2985</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L2986"></a><tt class="py-lineno">2986</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L2987"></a><tt class="py-lineno">2987</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_targetDir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2988"></a><tt class="py-lineno">2988</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2989"></a><tt class="py-lineno">2989</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2990"></a><tt class="py-lineno">2990</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFile</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2991"></a><tt class="py-lineno">2991</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2992"></a><tt class="py-lineno">2992</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2993"></a><tt class="py-lineno">2993</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectFiles</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2994"></a><tt class="py-lineno">2994</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDirs</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L2995"></a><tt class="py-lineno">2995</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-808" class="py-name" targets="Variable CedarBackup2.config.CollectConfig.targetDir=CedarBackup2.config.CollectConfig-class.html#targetDir,Variable CedarBackup2.config.StageConfig.targetDir=CedarBackup2.config.StageConfig-class.html#targetDir"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-808', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op">=</tt> <tt id="link-809" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-809', 'targetDir', 'link-808');">targetDir</a></tt> </tt>
<a name="L2996"></a><tt class="py-lineno">2996</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-810" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-810', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt id="link-811" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-811', 'collectMode', 'link-278');">collectMode</a></tt> </tt>
<a name="L2997"></a><tt class="py-lineno">2997</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-812" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-812', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt id="link-813" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-813', 'archiveMode', 'link-280');">archiveMode</a></tt> </tt>
<a name="L2998"></a><tt class="py-lineno">2998</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-814" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-814', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op">=</tt> <tt id="link-815" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-815', 'ignoreFile', 'link-318');">ignoreFile</a></tt> </tt>
<a name="L2999"></a><tt class="py-lineno">2999</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-816" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-816', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op">=</tt> <tt id="link-817" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-817', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> </tt>
<a name="L3000"></a><tt class="py-lineno">3000</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-818" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-818', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op">=</tt> <tt id="link-819" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-819', 'excludePatterns', 'link-330');">excludePatterns</a></tt> </tt>
<a name="L3001"></a><tt class="py-lineno">3001</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-820" class="py-name" targets="Variable CedarBackup2.config.CollectConfig.collectFiles=CedarBackup2.config.CollectConfig-class.html#collectFiles"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-820', 'collectFiles', 'link-820');">collectFiles</a></tt> <tt class="py-op">=</tt> <tt id="link-821" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-821', 'collectFiles', 'link-820');">collectFiles</a></tt> </tt>
<a name="L3002"></a><tt class="py-lineno">3002</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-822" class="py-name" targets="Variable CedarBackup2.config.CollectConfig.collectDirs=CedarBackup2.config.CollectConfig-class.html#collectDirs"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-822', 'collectDirs', 'link-822');">collectDirs</a></tt> <tt class="py-op">=</tt> <tt id="link-823" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-823', 'collectDirs', 'link-822');">collectDirs</a></tt> </tt>
</div><a name="L3003"></a><tt class="py-lineno">3003</tt> <tt class="py-line"> </tt>
<a name="CollectConfig.__repr__"></a><div id="CollectConfig.__repr__-def"><a name="L3004"></a><tt class="py-lineno">3004</tt> <a class="py-toggle" href="#" id="CollectConfig.__repr__-toggle" onclick="return toggle('CollectConfig.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig.__repr__-expanded"><a name="L3005"></a><tt class="py-lineno">3005</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3006"></a><tt class="py-lineno">3006</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L3007"></a><tt class="py-lineno">3007</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3008"></a><tt class="py-lineno">3008</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"CollectConfig(%s, %s, %s, %s, %s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-824" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-824', 'targetDir', 'link-808');">targetDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-825" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-825', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-826" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-826', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">,</tt> </tt>
<a name="L3009"></a><tt class="py-lineno">3009</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-827" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-827', 'ignoreFile', 'link-318');">ignoreFile</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-828" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-828', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">,</tt> </tt>
<a name="L3010"></a><tt class="py-lineno">3010</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-829" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-829', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-830" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-830', 'collectFiles', 'link-820');">collectFiles</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-831" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-831', 'collectDirs', 'link-822');">collectDirs</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L3011"></a><tt class="py-lineno">3011</tt> <tt class="py-line"> </tt>
<a name="CollectConfig.__str__"></a><div id="CollectConfig.__str__-def"><a name="L3012"></a><tt class="py-lineno">3012</tt> <a class="py-toggle" href="#" id="CollectConfig.__str__-toggle" onclick="return toggle('CollectConfig.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig.__str__-expanded"><a name="L3013"></a><tt class="py-lineno">3013</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3014"></a><tt class="py-lineno">3014</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L3015"></a><tt class="py-lineno">3015</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3016"></a><tt class="py-lineno">3016</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-832" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-832', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3017"></a><tt class="py-lineno">3017</tt> <tt class="py-line"> </tt>
<a name="CollectConfig.__cmp__"></a><div id="CollectConfig.__cmp__-def"><a name="L3018"></a><tt class="py-lineno">3018</tt> <a class="py-toggle" href="#" id="CollectConfig.__cmp__-toggle" onclick="return toggle('CollectConfig.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig.__cmp__-expanded"><a name="L3019"></a><tt class="py-lineno">3019</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3020"></a><tt class="py-lineno">3020</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L3021"></a><tt class="py-lineno">3021</tt> <tt class="py-line"><tt class="py-docstring"> Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L3022"></a><tt class="py-lineno">3022</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L3023"></a><tt class="py-lineno">3023</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L3024"></a><tt class="py-lineno">3024</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3025"></a><tt class="py-lineno">3025</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3026"></a><tt class="py-lineno">3026</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3027"></a><tt class="py-lineno">3027</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-833" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-833', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-834" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-834', 'targetDir', 'link-808');">targetDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3028"></a><tt class="py-lineno">3028</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-835" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-835', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-836" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-836', 'targetDir', 'link-808');">targetDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3029"></a><tt class="py-lineno">3029</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3030"></a><tt class="py-lineno">3030</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3031"></a><tt class="py-lineno">3031</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3032"></a><tt class="py-lineno">3032</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-837" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-837', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-838" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-838', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3033"></a><tt class="py-lineno">3033</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-839" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-839', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-840" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-840', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3034"></a><tt class="py-lineno">3034</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3035"></a><tt class="py-lineno">3035</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3036"></a><tt class="py-lineno">3036</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3037"></a><tt class="py-lineno">3037</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-841" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-841', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-842" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-842', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3038"></a><tt class="py-lineno">3038</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-843" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-843', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-844" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-844', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3039"></a><tt class="py-lineno">3039</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3040"></a><tt class="py-lineno">3040</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3041"></a><tt class="py-lineno">3041</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3042"></a><tt class="py-lineno">3042</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-845" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-845', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-846" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-846', 'ignoreFile', 'link-318');">ignoreFile</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3043"></a><tt class="py-lineno">3043</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-847" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-847', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-848" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-848', 'ignoreFile', 'link-318');">ignoreFile</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3044"></a><tt class="py-lineno">3044</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3045"></a><tt class="py-lineno">3045</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3046"></a><tt class="py-lineno">3046</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3047"></a><tt class="py-lineno">3047</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-849" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-849', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-850" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-850', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3048"></a><tt class="py-lineno">3048</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-851" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-851', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-852" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-852', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3049"></a><tt class="py-lineno">3049</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3050"></a><tt class="py-lineno">3050</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3051"></a><tt class="py-lineno">3051</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3052"></a><tt class="py-lineno">3052</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-853" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-853', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-854" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-854', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3053"></a><tt class="py-lineno">3053</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-855" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-855', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-856" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-856', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3054"></a><tt class="py-lineno">3054</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3055"></a><tt class="py-lineno">3055</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3056"></a><tt class="py-lineno">3056</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3057"></a><tt class="py-lineno">3057</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-857" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-857', 'collectFiles', 'link-820');">collectFiles</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-858" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-858', 'collectFiles', 'link-820');">collectFiles</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3058"></a><tt class="py-lineno">3058</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-859" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-859', 'collectFiles', 'link-820');">collectFiles</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-860" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-860', 'collectFiles', 'link-820');">collectFiles</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3059"></a><tt class="py-lineno">3059</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3060"></a><tt class="py-lineno">3060</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3061"></a><tt class="py-lineno">3061</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3062"></a><tt class="py-lineno">3062</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-861" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-861', 'collectDirs', 'link-822');">collectDirs</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-862" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-862', 'collectDirs', 'link-822');">collectDirs</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3063"></a><tt class="py-lineno">3063</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-863" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-863', 'collectDirs', 'link-822');">collectDirs</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-864" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-864', 'collectDirs', 'link-822');">collectDirs</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3064"></a><tt class="py-lineno">3064</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3065"></a><tt class="py-lineno">3065</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3066"></a><tt class="py-lineno">3066</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3067"></a><tt class="py-lineno">3067</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L3068"></a><tt class="py-lineno">3068</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._setTargetDir"></a><div id="CollectConfig._setTargetDir-def"><a name="L3069"></a><tt class="py-lineno">3069</tt> <a class="py-toggle" href="#" id="CollectConfig._setTargetDir-toggle" onclick="return toggle('CollectConfig._setTargetDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_setTargetDir">_setTargetDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._setTargetDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._setTargetDir-expanded"><a name="L3070"></a><tt class="py-lineno">3070</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3071"></a><tt class="py-lineno">3071</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the target directory.</tt> </tt>
<a name="L3072"></a><tt class="py-lineno">3072</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L3073"></a><tt class="py-lineno">3073</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L3074"></a><tt class="py-lineno">3074</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L3075"></a><tt class="py-lineno">3075</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L3076"></a><tt class="py-lineno">3076</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3077"></a><tt class="py-lineno">3077</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3078"></a><tt class="py-lineno">3078</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L3079"></a><tt class="py-lineno">3079</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Target directory must be an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L3080"></a><tt class="py-lineno">3080</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_targetDir</tt> <tt class="py-op">=</tt> <tt id="link-865" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-865', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3081"></a><tt class="py-lineno">3081</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._getTargetDir"></a><div id="CollectConfig._getTargetDir-def"><a name="L3082"></a><tt class="py-lineno">3082</tt> <a class="py-toggle" href="#" id="CollectConfig._getTargetDir-toggle" onclick="return toggle('CollectConfig._getTargetDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_getTargetDir">_getTargetDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._getTargetDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._getTargetDir-expanded"><a name="L3083"></a><tt class="py-lineno">3083</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3084"></a><tt class="py-lineno">3084</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the target directory.</tt> </tt>
<a name="L3085"></a><tt class="py-lineno">3085</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3086"></a><tt class="py-lineno">3086</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_targetDir</tt> </tt>
</div><a name="L3087"></a><tt class="py-lineno">3087</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._setCollectMode"></a><div id="CollectConfig._setCollectMode-def"><a name="L3088"></a><tt class="py-lineno">3088</tt> <a class="py-toggle" href="#" id="CollectConfig._setCollectMode-toggle" onclick="return toggle('CollectConfig._setCollectMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_setCollectMode">_setCollectMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._setCollectMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._setCollectMode-expanded"><a name="L3089"></a><tt class="py-lineno">3089</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3090"></a><tt class="py-lineno">3090</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the collect mode.</tt> </tt>
<a name="L3091"></a><tt class="py-lineno">3091</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the mode must be one of L{VALID_COLLECT_MODES}.</tt> </tt>
<a name="L3092"></a><tt class="py-lineno">3092</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L3093"></a><tt class="py-lineno">3093</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3094"></a><tt class="py-lineno">3094</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3095"></a><tt class="py-lineno">3095</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-866" class="py-name"><a title="CedarBackup2.config.VALID_COLLECT_MODES" class="py-name" href="#" onclick="return doclink('link-866', 'VALID_COLLECT_MODES', 'link-55');">VALID_COLLECT_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3096"></a><tt class="py-lineno">3096</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Collect mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-867" class="py-name"><a title="CedarBackup2.config.VALID_COLLECT_MODES" class="py-name" href="#" onclick="return doclink('link-867', 'VALID_COLLECT_MODES', 'link-55');">VALID_COLLECT_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L3097"></a><tt class="py-lineno">3097</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L3098"></a><tt class="py-lineno">3098</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._getCollectMode"></a><div id="CollectConfig._getCollectMode-def"><a name="L3099"></a><tt class="py-lineno">3099</tt> <a class="py-toggle" href="#" id="CollectConfig._getCollectMode-toggle" onclick="return toggle('CollectConfig._getCollectMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_getCollectMode">_getCollectMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._getCollectMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._getCollectMode-expanded"><a name="L3100"></a><tt class="py-lineno">3100</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3101"></a><tt class="py-lineno">3101</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the collect mode.</tt> </tt>
<a name="L3102"></a><tt class="py-lineno">3102</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3103"></a><tt class="py-lineno">3103</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectMode</tt> </tt>
</div><a name="L3104"></a><tt class="py-lineno">3104</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._setArchiveMode"></a><div id="CollectConfig._setArchiveMode-def"><a name="L3105"></a><tt class="py-lineno">3105</tt> <a class="py-toggle" href="#" id="CollectConfig._setArchiveMode-toggle" onclick="return toggle('CollectConfig._setArchiveMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_setArchiveMode">_setArchiveMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._setArchiveMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._setArchiveMode-expanded"><a name="L3106"></a><tt class="py-lineno">3106</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3107"></a><tt class="py-lineno">3107</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the archive mode.</tt> </tt>
<a name="L3108"></a><tt class="py-lineno">3108</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the mode must be one of L{VALID_ARCHIVE_MODES}.</tt> </tt>
<a name="L3109"></a><tt class="py-lineno">3109</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L3110"></a><tt class="py-lineno">3110</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3111"></a><tt class="py-lineno">3111</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3112"></a><tt class="py-lineno">3112</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-868" class="py-name"><a title="CedarBackup2.config.VALID_ARCHIVE_MODES" class="py-name" href="#" onclick="return doclink('link-868', 'VALID_ARCHIVE_MODES', 'link-56');">VALID_ARCHIVE_MODES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3113"></a><tt class="py-lineno">3113</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Archive mode must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-869" class="py-name"><a title="CedarBackup2.config.VALID_ARCHIVE_MODES" class="py-name" href="#" onclick="return doclink('link-869', 'VALID_ARCHIVE_MODES', 'link-56');">VALID_ARCHIVE_MODES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L3114"></a><tt class="py-lineno">3114</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L3115"></a><tt class="py-lineno">3115</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._getArchiveMode"></a><div id="CollectConfig._getArchiveMode-def"><a name="L3116"></a><tt class="py-lineno">3116</tt> <a class="py-toggle" href="#" id="CollectConfig._getArchiveMode-toggle" onclick="return toggle('CollectConfig._getArchiveMode');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_getArchiveMode">_getArchiveMode</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._getArchiveMode-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._getArchiveMode-expanded"><a name="L3117"></a><tt class="py-lineno">3117</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3118"></a><tt class="py-lineno">3118</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the archive mode.</tt> </tt>
<a name="L3119"></a><tt class="py-lineno">3119</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3120"></a><tt class="py-lineno">3120</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_archiveMode</tt> </tt>
</div><a name="L3121"></a><tt class="py-lineno">3121</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._setIgnoreFile"></a><div id="CollectConfig._setIgnoreFile-def"><a name="L3122"></a><tt class="py-lineno">3122</tt> <a class="py-toggle" href="#" id="CollectConfig._setIgnoreFile-toggle" onclick="return toggle('CollectConfig._setIgnoreFile');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_setIgnoreFile">_setIgnoreFile</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._setIgnoreFile-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._setIgnoreFile-expanded"><a name="L3123"></a><tt class="py-lineno">3123</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3124"></a><tt class="py-lineno">3124</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the ignore file.</tt> </tt>
<a name="L3125"></a><tt class="py-lineno">3125</tt> <tt class="py-line"><tt class="py-docstring"> The value must be a non-empty string if it is not C{None}.</tt> </tt>
<a name="L3126"></a><tt class="py-lineno">3126</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is an empty string.</tt> </tt>
<a name="L3127"></a><tt class="py-lineno">3127</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L3128"></a><tt class="py-lineno">3128</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3129"></a><tt class="py-lineno">3129</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3130"></a><tt class="py-lineno">3130</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L3131"></a><tt class="py-lineno">3131</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The ignore file must be a non-empty string."</tt><tt class="py-op">)</tt> </tt>
<a name="L3132"></a><tt class="py-lineno">3132</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFile</tt> <tt class="py-op">=</tt> <tt id="link-870" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-870', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3133"></a><tt class="py-lineno">3133</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._getIgnoreFile"></a><div id="CollectConfig._getIgnoreFile-def"><a name="L3134"></a><tt class="py-lineno">3134</tt> <a class="py-toggle" href="#" id="CollectConfig._getIgnoreFile-toggle" onclick="return toggle('CollectConfig._getIgnoreFile');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_getIgnoreFile">_getIgnoreFile</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._getIgnoreFile-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._getIgnoreFile-expanded"><a name="L3135"></a><tt class="py-lineno">3135</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3136"></a><tt class="py-lineno">3136</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the ignore file.</tt> </tt>
<a name="L3137"></a><tt class="py-lineno">3137</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3138"></a><tt class="py-lineno">3138</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ignoreFile</tt> </tt>
</div><a name="L3139"></a><tt class="py-lineno">3139</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._setAbsoluteExcludePaths"></a><div id="CollectConfig._setAbsoluteExcludePaths-def"><a name="L3140"></a><tt class="py-lineno">3140</tt> <a class="py-toggle" href="#" id="CollectConfig._setAbsoluteExcludePaths-toggle" onclick="return toggle('CollectConfig._setAbsoluteExcludePaths');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_setAbsoluteExcludePaths">_setAbsoluteExcludePaths</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._setAbsoluteExcludePaths-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._setAbsoluteExcludePaths-expanded"><a name="L3141"></a><tt class="py-lineno">3141</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3142"></a><tt class="py-lineno">3142</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the absolute exclude paths list.</tt> </tt>
<a name="L3143"></a><tt class="py-lineno">3143</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be an absolute path.</tt> </tt>
<a name="L3144"></a><tt class="py-lineno">3144</tt> <tt class="py-line"><tt class="py-docstring"> Elements do not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L3145"></a><tt class="py-lineno">3145</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L3146"></a><tt class="py-lineno">3146</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3147"></a><tt class="py-lineno">3147</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3148"></a><tt class="py-lineno">3148</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3149"></a><tt class="py-lineno">3149</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3150"></a><tt class="py-lineno">3150</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L3151"></a><tt class="py-lineno">3151</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> </tt>
<a name="L3152"></a><tt class="py-lineno">3152</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> <tt class="py-op">=</tt> <tt id="link-871" class="py-name"><a title="CedarBackup2.util.AbsolutePathList" class="py-name" href="#" onclick="return doclink('link-871', 'AbsolutePathList', 'link-8');">AbsolutePathList</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L3153"></a><tt class="py-lineno">3153</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt><tt class="py-op">.</tt><tt id="link-872" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-872', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L3154"></a><tt class="py-lineno">3154</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L3155"></a><tt class="py-lineno">3155</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L3156"></a><tt class="py-lineno">3156</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L3157"></a><tt class="py-lineno">3157</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._getAbsoluteExcludePaths"></a><div id="CollectConfig._getAbsoluteExcludePaths-def"><a name="L3158"></a><tt class="py-lineno">3158</tt> <a class="py-toggle" href="#" id="CollectConfig._getAbsoluteExcludePaths-toggle" onclick="return toggle('CollectConfig._getAbsoluteExcludePaths');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_getAbsoluteExcludePaths">_getAbsoluteExcludePaths</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._getAbsoluteExcludePaths-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._getAbsoluteExcludePaths-expanded"><a name="L3159"></a><tt class="py-lineno">3159</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3160"></a><tt class="py-lineno">3160</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the absolute exclude paths list.</tt> </tt>
<a name="L3161"></a><tt class="py-lineno">3161</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3162"></a><tt class="py-lineno">3162</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_absoluteExcludePaths</tt> </tt>
</div><a name="L3163"></a><tt class="py-lineno">3163</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._setExcludePatterns"></a><div id="CollectConfig._setExcludePatterns-def"><a name="L3164"></a><tt class="py-lineno">3164</tt> <a class="py-toggle" href="#" id="CollectConfig._setExcludePatterns-toggle" onclick="return toggle('CollectConfig._setExcludePatterns');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_setExcludePatterns">_setExcludePatterns</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._setExcludePatterns-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._setExcludePatterns-expanded"><a name="L3165"></a><tt class="py-lineno">3165</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3166"></a><tt class="py-lineno">3166</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the exclude patterns list.</tt> </tt>
<a name="L3167"></a><tt class="py-lineno">3167</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3168"></a><tt class="py-lineno">3168</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3169"></a><tt class="py-lineno">3169</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3170"></a><tt class="py-lineno">3170</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3171"></a><tt class="py-lineno">3171</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L3172"></a><tt class="py-lineno">3172</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> </tt>
<a name="L3173"></a><tt class="py-lineno">3173</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> <tt class="py-op">=</tt> <tt id="link-873" class="py-name"><a title="CedarBackup2.util.RegexList" class="py-name" href="#" onclick="return doclink('link-873', 'RegexList', 'link-14');">RegexList</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L3174"></a><tt class="py-lineno">3174</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt><tt class="py-op">.</tt><tt id="link-874" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-874', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L3175"></a><tt class="py-lineno">3175</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L3176"></a><tt class="py-lineno">3176</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L3177"></a><tt class="py-lineno">3177</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L3178"></a><tt class="py-lineno">3178</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._getExcludePatterns"></a><div id="CollectConfig._getExcludePatterns-def"><a name="L3179"></a><tt class="py-lineno">3179</tt> <a class="py-toggle" href="#" id="CollectConfig._getExcludePatterns-toggle" onclick="return toggle('CollectConfig._getExcludePatterns');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_getExcludePatterns">_getExcludePatterns</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._getExcludePatterns-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._getExcludePatterns-expanded"><a name="L3180"></a><tt class="py-lineno">3180</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3181"></a><tt class="py-lineno">3181</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the exclude patterns list.</tt> </tt>
<a name="L3182"></a><tt class="py-lineno">3182</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3183"></a><tt class="py-lineno">3183</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_excludePatterns</tt> </tt>
</div><a name="L3184"></a><tt class="py-lineno">3184</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._setCollectFiles"></a><div id="CollectConfig._setCollectFiles-def"><a name="L3185"></a><tt class="py-lineno">3185</tt> <a class="py-toggle" href="#" id="CollectConfig._setCollectFiles-toggle" onclick="return toggle('CollectConfig._setCollectFiles');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_setCollectFiles">_setCollectFiles</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._setCollectFiles-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._setCollectFiles-expanded"><a name="L3186"></a><tt class="py-lineno">3186</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3187"></a><tt class="py-lineno">3187</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the collect files list.</tt> </tt>
<a name="L3188"></a><tt class="py-lineno">3188</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a C{CollectFile}.</tt> </tt>
<a name="L3189"></a><tt class="py-lineno">3189</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{CollectFile}</tt> </tt>
<a name="L3190"></a><tt class="py-lineno">3190</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3191"></a><tt class="py-lineno">3191</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3192"></a><tt class="py-lineno">3192</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectFiles</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3193"></a><tt class="py-lineno">3193</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3194"></a><tt class="py-lineno">3194</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L3195"></a><tt class="py-lineno">3195</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectFiles</tt> </tt>
<a name="L3196"></a><tt class="py-lineno">3196</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectFiles</tt> <tt class="py-op">=</tt> <tt id="link-875" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-875', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-876" class="py-name" targets="Class CedarBackup2.config.CollectFile=CedarBackup2.config.CollectFile-class.html"><a title="CedarBackup2.config.CollectFile" class="py-name" href="#" onclick="return doclink('link-876', 'CollectFile', 'link-876');">CollectFile</a></tt><tt class="py-op">,</tt> <tt class="py-string">"CollectFile"</tt><tt class="py-op">)</tt> </tt>
<a name="L3197"></a><tt class="py-lineno">3197</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectFiles</tt><tt class="py-op">.</tt><tt id="link-877" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-877', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L3198"></a><tt class="py-lineno">3198</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L3199"></a><tt class="py-lineno">3199</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectFiles</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L3200"></a><tt class="py-lineno">3200</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L3201"></a><tt class="py-lineno">3201</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._getCollectFiles"></a><div id="CollectConfig._getCollectFiles-def"><a name="L3202"></a><tt class="py-lineno">3202</tt> <a class="py-toggle" href="#" id="CollectConfig._getCollectFiles-toggle" onclick="return toggle('CollectConfig._getCollectFiles');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_getCollectFiles">_getCollectFiles</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._getCollectFiles-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._getCollectFiles-expanded"><a name="L3203"></a><tt class="py-lineno">3203</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3204"></a><tt class="py-lineno">3204</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the collect files list.</tt> </tt>
<a name="L3205"></a><tt class="py-lineno">3205</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3206"></a><tt class="py-lineno">3206</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectFiles</tt> </tt>
</div><a name="L3207"></a><tt class="py-lineno">3207</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._setCollectDirs"></a><div id="CollectConfig._setCollectDirs-def"><a name="L3208"></a><tt class="py-lineno">3208</tt> <a class="py-toggle" href="#" id="CollectConfig._setCollectDirs-toggle" onclick="return toggle('CollectConfig._setCollectDirs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_setCollectDirs">_setCollectDirs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._setCollectDirs-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._setCollectDirs-expanded"><a name="L3209"></a><tt class="py-lineno">3209</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3210"></a><tt class="py-lineno">3210</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the collect dirs list.</tt> </tt>
<a name="L3211"></a><tt class="py-lineno">3211</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a C{CollectDir}.</tt> </tt>
<a name="L3212"></a><tt class="py-lineno">3212</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{CollectDir}</tt> </tt>
<a name="L3213"></a><tt class="py-lineno">3213</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3214"></a><tt class="py-lineno">3214</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3215"></a><tt class="py-lineno">3215</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDirs</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3216"></a><tt class="py-lineno">3216</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3217"></a><tt class="py-lineno">3217</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L3218"></a><tt class="py-lineno">3218</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDirs</tt> </tt>
<a name="L3219"></a><tt class="py-lineno">3219</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDirs</tt> <tt class="py-op">=</tt> <tt id="link-878" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-878', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-879" class="py-name" targets="Class CedarBackup2.config.CollectDir=CedarBackup2.config.CollectDir-class.html"><a title="CedarBackup2.config.CollectDir" class="py-name" href="#" onclick="return doclink('link-879', 'CollectDir', 'link-879');">CollectDir</a></tt><tt class="py-op">,</tt> <tt class="py-string">"CollectDir"</tt><tt class="py-op">)</tt> </tt>
<a name="L3220"></a><tt class="py-lineno">3220</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDirs</tt><tt class="py-op">.</tt><tt id="link-880" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-880', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L3221"></a><tt class="py-lineno">3221</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L3222"></a><tt class="py-lineno">3222</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDirs</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L3223"></a><tt class="py-lineno">3223</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L3224"></a><tt class="py-lineno">3224</tt> <tt class="py-line"> </tt>
<a name="CollectConfig._getCollectDirs"></a><div id="CollectConfig._getCollectDirs-def"><a name="L3225"></a><tt class="py-lineno">3225</tt> <a class="py-toggle" href="#" id="CollectConfig._getCollectDirs-toggle" onclick="return toggle('CollectConfig._getCollectDirs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.CollectConfig-class.html#_getCollectDirs">_getCollectDirs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CollectConfig._getCollectDirs-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="CollectConfig._getCollectDirs-expanded"><a name="L3226"></a><tt class="py-lineno">3226</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3227"></a><tt class="py-lineno">3227</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the collect dirs list.</tt> </tt>
<a name="L3228"></a><tt class="py-lineno">3228</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3229"></a><tt class="py-lineno">3229</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collectDirs</tt> </tt>
</div><a name="L3230"></a><tt class="py-lineno">3230</tt> <tt class="py-line"> </tt>
<a name="L3231"></a><tt class="py-lineno">3231</tt> <tt class="py-line"> <tt id="link-881" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-881', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-882" class="py-name" targets="Method CedarBackup2.config.CollectConfig._getTargetDir()=CedarBackup2.config.CollectConfig-class.html#_getTargetDir,Method CedarBackup2.config.StageConfig._getTargetDir()=CedarBackup2.config.StageConfig-class.html#_getTargetDir"><a title="CedarBackup2.config.CollectConfig._getTargetDir
CedarBackup2.config.StageConfig._getTargetDir" class="py-name" href="#" onclick="return doclink('link-882', '_getTargetDir', 'link-882');">_getTargetDir</a></tt><tt class="py-op">,</tt> <tt id="link-883" class="py-name" targets="Method CedarBackup2.config.CollectConfig._setTargetDir()=CedarBackup2.config.CollectConfig-class.html#_setTargetDir,Method CedarBackup2.config.StageConfig._setTargetDir()=CedarBackup2.config.StageConfig-class.html#_setTargetDir"><a title="CedarBackup2.config.CollectConfig._setTargetDir
CedarBackup2.config.StageConfig._setTargetDir" class="py-name" href="#" onclick="return doclink('link-883', '_setTargetDir', 'link-883');">_setTargetDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Directory to collect files into."</tt><tt class="py-op">)</tt> </tt>
<a name="L3232"></a><tt class="py-lineno">3232</tt> <tt class="py-line"> <tt id="link-884" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-884', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-885" class="py-name"><a title="CedarBackup2.actions.collect._getCollectMode
CedarBackup2.config.CollectConfig._getCollectMode
CedarBackup2.config.CollectDir._getCollectMode
CedarBackup2.config.CollectFile._getCollectMode
CedarBackup2.extend.mbox.MboxConfig._getCollectMode
CedarBackup2.extend.mbox.MboxDir._getCollectMode
CedarBackup2.extend.mbox.MboxFile._getCollectMode
CedarBackup2.extend.mbox._getCollectMode
CedarBackup2.extend.subversion.Repository._getCollectMode
CedarBackup2.extend.subversion.RepositoryDir._getCollectMode
CedarBackup2.extend.subversion.SubversionConfig._getCollectMode
CedarBackup2.extend.subversion._getCollectMode" class="py-name" href="#" onclick="return doclink('link-885', '_getCollectMode', 'link-307');">_getCollectMode</a></tt><tt class="py-op">,</tt> <tt id="link-886" class="py-name"><a title="CedarBackup2.config.CollectConfig._setCollectMode
CedarBackup2.config.CollectDir._setCollectMode
CedarBackup2.config.CollectFile._setCollectMode
CedarBackup2.extend.mbox.MboxConfig._setCollectMode
CedarBackup2.extend.mbox.MboxDir._setCollectMode
CedarBackup2.extend.mbox.MboxFile._setCollectMode
CedarBackup2.extend.subversion.Repository._setCollectMode
CedarBackup2.extend.subversion.RepositoryDir._setCollectMode
CedarBackup2.extend.subversion.SubversionConfig._setCollectMode" class="py-name" href="#" onclick="return doclink('link-886', '_setCollectMode', 'link-308');">_setCollectMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Default collect mode."</tt><tt class="py-op">)</tt> </tt>
<a name="L3233"></a><tt class="py-lineno">3233</tt> <tt class="py-line"> <tt id="link-887" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-887', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-888" class="py-name"><a title="CedarBackup2.actions.collect._getArchiveMode
CedarBackup2.config.CollectConfig._getArchiveMode
CedarBackup2.config.CollectDir._getArchiveMode
CedarBackup2.config.CollectFile._getArchiveMode" class="py-name" href="#" onclick="return doclink('link-888', '_getArchiveMode', 'link-310');">_getArchiveMode</a></tt><tt class="py-op">,</tt> <tt id="link-889" class="py-name"><a title="CedarBackup2.config.CollectConfig._setArchiveMode
CedarBackup2.config.CollectDir._setArchiveMode
CedarBackup2.config.CollectFile._setArchiveMode" class="py-name" href="#" onclick="return doclink('link-889', '_setArchiveMode', 'link-311');">_setArchiveMode</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Default archive mode for collect files."</tt><tt class="py-op">)</tt> </tt>
<a name="L3234"></a><tt class="py-lineno">3234</tt> <tt class="py-line"> <tt id="link-890" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-890', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-891" class="py-name"><a title="CedarBackup2.actions.collect._getIgnoreFile
CedarBackup2.config.CollectConfig._getIgnoreFile
CedarBackup2.config.CollectDir._getIgnoreFile
CedarBackup2.filesystem.FilesystemList._getIgnoreFile" class="py-name" href="#" onclick="return doclink('link-891', '_getIgnoreFile', 'link-404');">_getIgnoreFile</a></tt><tt class="py-op">,</tt> <tt id="link-892" class="py-name"><a title="CedarBackup2.config.CollectConfig._setIgnoreFile
CedarBackup2.config.CollectDir._setIgnoreFile
CedarBackup2.filesystem.FilesystemList._setIgnoreFile" class="py-name" href="#" onclick="return doclink('link-892', '_setIgnoreFile', 'link-405');">_setIgnoreFile</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Default ignore file name."</tt><tt class="py-op">)</tt> </tt>
<a name="L3235"></a><tt class="py-lineno">3235</tt> <tt class="py-line"> <tt id="link-893" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-893', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-894" class="py-name"><a title="CedarBackup2.config.CollectConfig._getAbsoluteExcludePaths
CedarBackup2.config.CollectDir._getAbsoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-894', '_getAbsoluteExcludePaths', 'link-416');">_getAbsoluteExcludePaths</a></tt><tt class="py-op">,</tt> <tt id="link-895" class="py-name"><a title="CedarBackup2.config.CollectConfig._setAbsoluteExcludePaths
CedarBackup2.config.CollectDir._setAbsoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-895', '_setAbsoluteExcludePaths', 'link-417');">_setAbsoluteExcludePaths</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of absolute paths to exclude."</tt><tt class="py-op">)</tt> </tt>
<a name="L3236"></a><tt class="py-lineno">3236</tt> <tt class="py-line"> <tt id="link-896" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-896', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-897" class="py-name"><a title="CedarBackup2.config.CollectConfig._getExcludePatterns
CedarBackup2.config.CollectDir._getExcludePatterns
CedarBackup2.extend.mbox.MboxDir._getExcludePatterns
CedarBackup2.extend.subversion.RepositoryDir._getExcludePatterns
CedarBackup2.filesystem.FilesystemList._getExcludePatterns" class="py-name" href="#" onclick="return doclink('link-897', '_getExcludePatterns', 'link-422');">_getExcludePatterns</a></tt><tt class="py-op">,</tt> <tt id="link-898" class="py-name"><a title="CedarBackup2.config.CollectConfig._setExcludePatterns
CedarBackup2.config.CollectDir._setExcludePatterns
CedarBackup2.extend.mbox.MboxDir._setExcludePatterns
CedarBackup2.extend.subversion.RepositoryDir._setExcludePatterns
CedarBackup2.filesystem.FilesystemList._setExcludePatterns" class="py-name" href="#" onclick="return doclink('link-898', '_setExcludePatterns', 'link-423');">_setExcludePatterns</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of regular expressions patterns to exclude."</tt><tt class="py-op">)</tt> </tt>
<a name="L3237"></a><tt class="py-lineno">3237</tt> <tt class="py-line"> <tt id="link-899" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-899', 'collectFiles', 'link-820');">collectFiles</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-900" class="py-name" targets="Method CedarBackup2.config.CollectConfig._getCollectFiles()=CedarBackup2.config.CollectConfig-class.html#_getCollectFiles"><a title="CedarBackup2.config.CollectConfig._getCollectFiles" class="py-name" href="#" onclick="return doclink('link-900', '_getCollectFiles', 'link-900');">_getCollectFiles</a></tt><tt class="py-op">,</tt> <tt id="link-901" class="py-name" targets="Method CedarBackup2.config.CollectConfig._setCollectFiles()=CedarBackup2.config.CollectConfig-class.html#_setCollectFiles"><a title="CedarBackup2.config.CollectConfig._setCollectFiles" class="py-name" href="#" onclick="return doclink('link-901', '_setCollectFiles', 'link-901');">_setCollectFiles</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of collect files."</tt><tt class="py-op">)</tt> </tt>
<a name="L3238"></a><tt class="py-lineno">3238</tt> <tt class="py-line"> <tt id="link-902" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-902', 'collectDirs', 'link-822');">collectDirs</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-903" class="py-name" targets="Method CedarBackup2.config.CollectConfig._getCollectDirs()=CedarBackup2.config.CollectConfig-class.html#_getCollectDirs"><a title="CedarBackup2.config.CollectConfig._getCollectDirs" class="py-name" href="#" onclick="return doclink('link-903', '_getCollectDirs', 'link-903');">_getCollectDirs</a></tt><tt class="py-op">,</tt> <tt id="link-904" class="py-name" targets="Method CedarBackup2.config.CollectConfig._setCollectDirs()=CedarBackup2.config.CollectConfig-class.html#_setCollectDirs"><a title="CedarBackup2.config.CollectConfig._setCollectDirs" class="py-name" href="#" onclick="return doclink('link-904', '_setCollectDirs', 'link-904');">_setCollectDirs</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of collect directories."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3239"></a><tt class="py-lineno">3239</tt> <tt class="py-line"> </tt>
<a name="StageConfig"></a><div id="StageConfig-def"><a name="L3240"></a><tt class="py-lineno">3240</tt> <tt class="py-line"> </tt>
<a name="L3241"></a><tt class="py-lineno">3241</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L3242"></a><tt class="py-lineno">3242</tt> <tt class="py-line"><tt class="py-comment"># StageConfig class definition</tt> </tt>
<a name="L3243"></a><tt class="py-lineno">3243</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L3244"></a><tt class="py-lineno">3244</tt> <tt class="py-line"> </tt>
<a name="L3245"></a><tt class="py-lineno">3245</tt> <a class="py-toggle" href="#" id="StageConfig-toggle" onclick="return toggle('StageConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html">StageConfig</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="StageConfig-expanded"><a name="L3246"></a><tt class="py-lineno">3246</tt> <tt class="py-line"> </tt>
<a name="L3247"></a><tt class="py-lineno">3247</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3248"></a><tt class="py-lineno">3248</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup stage configuration.</tt> </tt>
<a name="L3249"></a><tt class="py-lineno">3249</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3250"></a><tt class="py-lineno">3250</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L3251"></a><tt class="py-lineno">3251</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3252"></a><tt class="py-lineno">3252</tt> <tt class="py-line"><tt class="py-docstring"> - The target directory must be an absolute path</tt> </tt>
<a name="L3253"></a><tt class="py-lineno">3253</tt> <tt class="py-line"><tt class="py-docstring"> - The list of local peers must contain only C{LocalPeer} objects</tt> </tt>
<a name="L3254"></a><tt class="py-lineno">3254</tt> <tt class="py-line"><tt class="py-docstring"> - The list of remote peers must contain only C{RemotePeer} objects</tt> </tt>
<a name="L3255"></a><tt class="py-lineno">3255</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3256"></a><tt class="py-lineno">3256</tt> <tt class="py-line"><tt class="py-docstring"> @note: Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L3257"></a><tt class="py-lineno">3257</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3258"></a><tt class="py-lineno">3258</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, targetDir, localPeers, remotePeers</tt> </tt>
<a name="L3259"></a><tt class="py-lineno">3259</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3260"></a><tt class="py-lineno">3260</tt> <tt class="py-line"> </tt>
<a name="StageConfig.__init__"></a><div id="StageConfig.__init__-def"><a name="L3261"></a><tt class="py-lineno">3261</tt> <a class="py-toggle" href="#" id="StageConfig.__init__-toggle" onclick="return toggle('StageConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">targetDir</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">localPeers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">remotePeers</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig.__init__-expanded"><a name="L3262"></a><tt class="py-lineno">3262</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3263"></a><tt class="py-lineno">3263</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{StageConfig} class.</tt> </tt>
<a name="L3264"></a><tt class="py-lineno">3264</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3265"></a><tt class="py-lineno">3265</tt> <tt class="py-line"><tt class="py-docstring"> @param targetDir: Directory to stage files into, by peer name.</tt> </tt>
<a name="L3266"></a><tt class="py-lineno">3266</tt> <tt class="py-line"><tt class="py-docstring"> @param localPeers: List of local peers.</tt> </tt>
<a name="L3267"></a><tt class="py-lineno">3267</tt> <tt class="py-line"><tt class="py-docstring"> @param remotePeers: List of remote peers.</tt> </tt>
<a name="L3268"></a><tt class="py-lineno">3268</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3269"></a><tt class="py-lineno">3269</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L3270"></a><tt class="py-lineno">3270</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3271"></a><tt class="py-lineno">3271</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_targetDir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3272"></a><tt class="py-lineno">3272</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3273"></a><tt class="py-lineno">3273</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3274"></a><tt class="py-lineno">3274</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-905" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-905', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op">=</tt> <tt id="link-906" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-906', 'targetDir', 'link-808');">targetDir</a></tt> </tt>
<a name="L3275"></a><tt class="py-lineno">3275</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-907" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-907', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">=</tt> <tt id="link-908" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-908', 'localPeers', 'link-777');">localPeers</a></tt> </tt>
<a name="L3276"></a><tt class="py-lineno">3276</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-909" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-909', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">=</tt> <tt id="link-910" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-910', 'remotePeers', 'link-779');">remotePeers</a></tt> </tt>
</div><a name="L3277"></a><tt class="py-lineno">3277</tt> <tt class="py-line"> </tt>
<a name="StageConfig.__repr__"></a><div id="StageConfig.__repr__-def"><a name="L3278"></a><tt class="py-lineno">3278</tt> <a class="py-toggle" href="#" id="StageConfig.__repr__-toggle" onclick="return toggle('StageConfig.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig.__repr__-expanded"><a name="L3279"></a><tt class="py-lineno">3279</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3280"></a><tt class="py-lineno">3280</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L3281"></a><tt class="py-lineno">3281</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3282"></a><tt class="py-lineno">3282</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"StageConfig(%s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-911" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-911', 'targetDir', 'link-808');">targetDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-912" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-912', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-913" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-913', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L3283"></a><tt class="py-lineno">3283</tt> <tt class="py-line"> </tt>
<a name="StageConfig.__str__"></a><div id="StageConfig.__str__-def"><a name="L3284"></a><tt class="py-lineno">3284</tt> <a class="py-toggle" href="#" id="StageConfig.__str__-toggle" onclick="return toggle('StageConfig.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig.__str__-expanded"><a name="L3285"></a><tt class="py-lineno">3285</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3286"></a><tt class="py-lineno">3286</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L3287"></a><tt class="py-lineno">3287</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3288"></a><tt class="py-lineno">3288</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-914" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-914', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3289"></a><tt class="py-lineno">3289</tt> <tt class="py-line"> </tt>
<a name="StageConfig.__cmp__"></a><div id="StageConfig.__cmp__-def"><a name="L3290"></a><tt class="py-lineno">3290</tt> <a class="py-toggle" href="#" id="StageConfig.__cmp__-toggle" onclick="return toggle('StageConfig.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig.__cmp__-expanded"><a name="L3291"></a><tt class="py-lineno">3291</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3292"></a><tt class="py-lineno">3292</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L3293"></a><tt class="py-lineno">3293</tt> <tt class="py-line"><tt class="py-docstring"> Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L3294"></a><tt class="py-lineno">3294</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L3295"></a><tt class="py-lineno">3295</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L3296"></a><tt class="py-lineno">3296</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3297"></a><tt class="py-lineno">3297</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3298"></a><tt class="py-lineno">3298</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3299"></a><tt class="py-lineno">3299</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-915" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-915', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-916" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-916', 'targetDir', 'link-808');">targetDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3300"></a><tt class="py-lineno">3300</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-917" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-917', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-918" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-918', 'targetDir', 'link-808');">targetDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3301"></a><tt class="py-lineno">3301</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3302"></a><tt class="py-lineno">3302</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3303"></a><tt class="py-lineno">3303</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3304"></a><tt class="py-lineno">3304</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-919" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-919', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-920" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-920', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3305"></a><tt class="py-lineno">3305</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-921" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-921', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-922" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-922', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3306"></a><tt class="py-lineno">3306</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3307"></a><tt class="py-lineno">3307</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3308"></a><tt class="py-lineno">3308</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3309"></a><tt class="py-lineno">3309</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-923" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-923', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-924" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-924', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3310"></a><tt class="py-lineno">3310</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-925" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-925', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-926" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-926', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3311"></a><tt class="py-lineno">3311</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3312"></a><tt class="py-lineno">3312</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3313"></a><tt class="py-lineno">3313</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3314"></a><tt class="py-lineno">3314</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L3315"></a><tt class="py-lineno">3315</tt> <tt class="py-line"> </tt>
<a name="StageConfig.hasPeers"></a><div id="StageConfig.hasPeers-def"><a name="L3316"></a><tt class="py-lineno">3316</tt> <a class="py-toggle" href="#" id="StageConfig.hasPeers-toggle" onclick="return toggle('StageConfig.hasPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#hasPeers">hasPeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig.hasPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig.hasPeers-expanded"><a name="L3317"></a><tt class="py-lineno">3317</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3318"></a><tt class="py-lineno">3318</tt> <tt class="py-line"><tt class="py-docstring"> Indicates whether any peers are filled into this object.</tt> </tt>
<a name="L3319"></a><tt class="py-lineno">3319</tt> <tt class="py-line"><tt class="py-docstring"> @return: Boolean true if any local or remote peers are filled in, false otherwise.</tt> </tt>
<a name="L3320"></a><tt class="py-lineno">3320</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3321"></a><tt class="py-lineno">3321</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-927" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-927', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-928" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-928', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> </tt>
<a name="L3322"></a><tt class="py-lineno">3322</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-929" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-929', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-930" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-930', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3323"></a><tt class="py-lineno">3323</tt> <tt class="py-line"> </tt>
<a name="StageConfig._setTargetDir"></a><div id="StageConfig._setTargetDir-def"><a name="L3324"></a><tt class="py-lineno">3324</tt> <a class="py-toggle" href="#" id="StageConfig._setTargetDir-toggle" onclick="return toggle('StageConfig._setTargetDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#_setTargetDir">_setTargetDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig._setTargetDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig._setTargetDir-expanded"><a name="L3325"></a><tt class="py-lineno">3325</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3326"></a><tt class="py-lineno">3326</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the target directory.</tt> </tt>
<a name="L3327"></a><tt class="py-lineno">3327</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L3328"></a><tt class="py-lineno">3328</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L3329"></a><tt class="py-lineno">3329</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L3330"></a><tt class="py-lineno">3330</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L3331"></a><tt class="py-lineno">3331</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3332"></a><tt class="py-lineno">3332</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3333"></a><tt class="py-lineno">3333</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L3334"></a><tt class="py-lineno">3334</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Target directory must be an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L3335"></a><tt class="py-lineno">3335</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_targetDir</tt> <tt class="py-op">=</tt> <tt id="link-931" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-931', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3336"></a><tt class="py-lineno">3336</tt> <tt class="py-line"> </tt>
<a name="StageConfig._getTargetDir"></a><div id="StageConfig._getTargetDir-def"><a name="L3337"></a><tt class="py-lineno">3337</tt> <a class="py-toggle" href="#" id="StageConfig._getTargetDir-toggle" onclick="return toggle('StageConfig._getTargetDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#_getTargetDir">_getTargetDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig._getTargetDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig._getTargetDir-expanded"><a name="L3338"></a><tt class="py-lineno">3338</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3339"></a><tt class="py-lineno">3339</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the target directory.</tt> </tt>
<a name="L3340"></a><tt class="py-lineno">3340</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3341"></a><tt class="py-lineno">3341</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_targetDir</tt> </tt>
</div><a name="L3342"></a><tt class="py-lineno">3342</tt> <tt class="py-line"> </tt>
<a name="StageConfig._setLocalPeers"></a><div id="StageConfig._setLocalPeers-def"><a name="L3343"></a><tt class="py-lineno">3343</tt> <a class="py-toggle" href="#" id="StageConfig._setLocalPeers-toggle" onclick="return toggle('StageConfig._setLocalPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#_setLocalPeers">_setLocalPeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig._setLocalPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig._setLocalPeers-expanded"><a name="L3344"></a><tt class="py-lineno">3344</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3345"></a><tt class="py-lineno">3345</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the local peers list.</tt> </tt>
<a name="L3346"></a><tt class="py-lineno">3346</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a C{LocalPeer}.</tt> </tt>
<a name="L3347"></a><tt class="py-lineno">3347</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L3348"></a><tt class="py-lineno">3348</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3349"></a><tt class="py-lineno">3349</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3350"></a><tt class="py-lineno">3350</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3351"></a><tt class="py-lineno">3351</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3352"></a><tt class="py-lineno">3352</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L3353"></a><tt class="py-lineno">3353</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> </tt>
<a name="L3354"></a><tt class="py-lineno">3354</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> <tt class="py-op">=</tt> <tt id="link-932" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-932', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-933" class="py-name"><a title="CedarBackup2.config.LocalPeer
CedarBackup2.peer.LocalPeer" class="py-name" href="#" onclick="return doclink('link-933', 'LocalPeer', 'link-797');">LocalPeer</a></tt><tt class="py-op">,</tt> <tt class="py-string">"LocalPeer"</tt><tt class="py-op">)</tt> </tt>
<a name="L3355"></a><tt class="py-lineno">3355</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt><tt class="py-op">.</tt><tt id="link-934" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-934', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L3356"></a><tt class="py-lineno">3356</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L3357"></a><tt class="py-lineno">3357</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L3358"></a><tt class="py-lineno">3358</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L3359"></a><tt class="py-lineno">3359</tt> <tt class="py-line"> </tt>
<a name="StageConfig._getLocalPeers"></a><div id="StageConfig._getLocalPeers-def"><a name="L3360"></a><tt class="py-lineno">3360</tt> <a class="py-toggle" href="#" id="StageConfig._getLocalPeers-toggle" onclick="return toggle('StageConfig._getLocalPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#_getLocalPeers">_getLocalPeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig._getLocalPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig._getLocalPeers-expanded"><a name="L3361"></a><tt class="py-lineno">3361</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3362"></a><tt class="py-lineno">3362</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the local peers list.</tt> </tt>
<a name="L3363"></a><tt class="py-lineno">3363</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3364"></a><tt class="py-lineno">3364</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_localPeers</tt> </tt>
</div><a name="L3365"></a><tt class="py-lineno">3365</tt> <tt class="py-line"> </tt>
<a name="StageConfig._setRemotePeers"></a><div id="StageConfig._setRemotePeers-def"><a name="L3366"></a><tt class="py-lineno">3366</tt> <a class="py-toggle" href="#" id="StageConfig._setRemotePeers-toggle" onclick="return toggle('StageConfig._setRemotePeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#_setRemotePeers">_setRemotePeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig._setRemotePeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig._setRemotePeers-expanded"><a name="L3367"></a><tt class="py-lineno">3367</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3368"></a><tt class="py-lineno">3368</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the remote peers list.</tt> </tt>
<a name="L3369"></a><tt class="py-lineno">3369</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a C{RemotePeer}.</tt> </tt>
<a name="L3370"></a><tt class="py-lineno">3370</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{RemotePeer}</tt> </tt>
<a name="L3371"></a><tt class="py-lineno">3371</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3372"></a><tt class="py-lineno">3372</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3373"></a><tt class="py-lineno">3373</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3374"></a><tt class="py-lineno">3374</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3375"></a><tt class="py-lineno">3375</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L3376"></a><tt class="py-lineno">3376</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> </tt>
<a name="L3377"></a><tt class="py-lineno">3377</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> <tt class="py-op">=</tt> <tt id="link-935" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-935', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-936" class="py-name"><a title="CedarBackup2.config.RemotePeer
CedarBackup2.peer.RemotePeer" class="py-name" href="#" onclick="return doclink('link-936', 'RemotePeer', 'link-800');">RemotePeer</a></tt><tt class="py-op">,</tt> <tt class="py-string">"RemotePeer"</tt><tt class="py-op">)</tt> </tt>
<a name="L3378"></a><tt class="py-lineno">3378</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt><tt class="py-op">.</tt><tt id="link-937" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-937', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L3379"></a><tt class="py-lineno">3379</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L3380"></a><tt class="py-lineno">3380</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L3381"></a><tt class="py-lineno">3381</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L3382"></a><tt class="py-lineno">3382</tt> <tt class="py-line"> </tt>
<a name="StageConfig._getRemotePeers"></a><div id="StageConfig._getRemotePeers-def"><a name="L3383"></a><tt class="py-lineno">3383</tt> <a class="py-toggle" href="#" id="StageConfig._getRemotePeers-toggle" onclick="return toggle('StageConfig._getRemotePeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StageConfig-class.html#_getRemotePeers">_getRemotePeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StageConfig._getRemotePeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StageConfig._getRemotePeers-expanded"><a name="L3384"></a><tt class="py-lineno">3384</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3385"></a><tt class="py-lineno">3385</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the remote peers list.</tt> </tt>
<a name="L3386"></a><tt class="py-lineno">3386</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3387"></a><tt class="py-lineno">3387</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_remotePeers</tt> </tt>
</div><a name="L3388"></a><tt class="py-lineno">3388</tt> <tt class="py-line"> </tt>
<a name="L3389"></a><tt class="py-lineno">3389</tt> <tt class="py-line"> <tt id="link-938" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-938', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-939" class="py-name"><a title="CedarBackup2.config.CollectConfig._getTargetDir
CedarBackup2.config.StageConfig._getTargetDir" class="py-name" href="#" onclick="return doclink('link-939', '_getTargetDir', 'link-882');">_getTargetDir</a></tt><tt class="py-op">,</tt> <tt id="link-940" class="py-name"><a title="CedarBackup2.config.CollectConfig._setTargetDir
CedarBackup2.config.StageConfig._setTargetDir" class="py-name" href="#" onclick="return doclink('link-940', '_setTargetDir', 'link-883');">_setTargetDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Directory to stage files into, by peer name."</tt><tt class="py-op">)</tt> </tt>
<a name="L3390"></a><tt class="py-lineno">3390</tt> <tt class="py-line"> <tt id="link-941" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-941', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-942" class="py-name"><a title="CedarBackup2.actions.stage._getLocalPeers
CedarBackup2.config.PeersConfig._getLocalPeers
CedarBackup2.config.StageConfig._getLocalPeers" class="py-name" href="#" onclick="return doclink('link-942', '_getLocalPeers', 'link-803');">_getLocalPeers</a></tt><tt class="py-op">,</tt> <tt id="link-943" class="py-name"><a title="CedarBackup2.config.PeersConfig._setLocalPeers
CedarBackup2.config.StageConfig._setLocalPeers" class="py-name" href="#" onclick="return doclink('link-943', '_setLocalPeers', 'link-804');">_setLocalPeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of local peers."</tt><tt class="py-op">)</tt> </tt>
<a name="L3391"></a><tt class="py-lineno">3391</tt> <tt class="py-line"> <tt id="link-944" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-944', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-945" class="py-name"><a title="CedarBackup2.actions.stage._getRemotePeers
CedarBackup2.config.PeersConfig._getRemotePeers
CedarBackup2.config.StageConfig._getRemotePeers" class="py-name" href="#" onclick="return doclink('link-945', '_getRemotePeers', 'link-806');">_getRemotePeers</a></tt><tt class="py-op">,</tt> <tt id="link-946" class="py-name"><a title="CedarBackup2.config.PeersConfig._setRemotePeers
CedarBackup2.config.StageConfig._setRemotePeers" class="py-name" href="#" onclick="return doclink('link-946', '_setRemotePeers', 'link-807');">_setRemotePeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of remote peers."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3392"></a><tt class="py-lineno">3392</tt> <tt class="py-line"> </tt>
<a name="StoreConfig"></a><div id="StoreConfig-def"><a name="L3393"></a><tt class="py-lineno">3393</tt> <tt class="py-line"> </tt>
<a name="L3394"></a><tt class="py-lineno">3394</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L3395"></a><tt class="py-lineno">3395</tt> <tt class="py-line"><tt class="py-comment"># StoreConfig class definition</tt> </tt>
<a name="L3396"></a><tt class="py-lineno">3396</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L3397"></a><tt class="py-lineno">3397</tt> <tt class="py-line"> </tt>
<a name="L3398"></a><tt class="py-lineno">3398</tt> <a class="py-toggle" href="#" id="StoreConfig-toggle" onclick="return toggle('StoreConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html">StoreConfig</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="StoreConfig-expanded"><a name="L3399"></a><tt class="py-lineno">3399</tt> <tt class="py-line"> </tt>
<a name="L3400"></a><tt class="py-lineno">3400</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3401"></a><tt class="py-lineno">3401</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup store configuration.</tt> </tt>
<a name="L3402"></a><tt class="py-lineno">3402</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3403"></a><tt class="py-lineno">3403</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L3404"></a><tt class="py-lineno">3404</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3405"></a><tt class="py-lineno">3405</tt> <tt class="py-line"><tt class="py-docstring"> - The source directory must be an absolute path.</tt> </tt>
<a name="L3406"></a><tt class="py-lineno">3406</tt> <tt class="py-line"><tt class="py-docstring"> - The media type must be one of the values in L{VALID_MEDIA_TYPES}.</tt> </tt>
<a name="L3407"></a><tt class="py-lineno">3407</tt> <tt class="py-line"><tt class="py-docstring"> - The device type must be one of the values in L{VALID_DEVICE_TYPES}.</tt> </tt>
<a name="L3408"></a><tt class="py-lineno">3408</tt> <tt class="py-line"><tt class="py-docstring"> - The device path must be an absolute path.</tt> </tt>
<a name="L3409"></a><tt class="py-lineno">3409</tt> <tt class="py-line"><tt class="py-docstring"> - The SCSI id, if provided, must be in the form specified by L{validateScsiId}.</tt> </tt>
<a name="L3410"></a><tt class="py-lineno">3410</tt> <tt class="py-line"><tt class="py-docstring"> - The drive speed must be an integer >= 1</tt> </tt>
<a name="L3411"></a><tt class="py-lineno">3411</tt> <tt class="py-line"><tt class="py-docstring"> - The blanking behavior must be a C{BlankBehavior} object</tt> </tt>
<a name="L3412"></a><tt class="py-lineno">3412</tt> <tt class="py-line"><tt class="py-docstring"> - The refresh media delay must be an integer >= 0</tt> </tt>
<a name="L3413"></a><tt class="py-lineno">3413</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3414"></a><tt class="py-lineno">3414</tt> <tt class="py-line"><tt class="py-docstring"> Note that although the blanking factor must be a positive floating point</tt> </tt>
<a name="L3415"></a><tt class="py-lineno">3415</tt> <tt class="py-line"><tt class="py-docstring"> number, it is stored as a string. This is done so that we can losslessly go</tt> </tt>
<a name="L3416"></a><tt class="py-lineno">3416</tt> <tt class="py-line"><tt class="py-docstring"> back and forth between XML and object representations of configuration.</tt> </tt>
<a name="L3417"></a><tt class="py-lineno">3417</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3418"></a><tt class="py-lineno">3418</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, sourceDir, </tt> </tt>
<a name="L3419"></a><tt class="py-lineno">3419</tt> <tt class="py-line"><tt class="py-docstring"> mediaType, deviceType, devicePath, deviceScsiId, </tt> </tt>
<a name="L3420"></a><tt class="py-lineno">3420</tt> <tt class="py-line"><tt class="py-docstring"> driveSpeed, checkData, checkMedia, warnMidnite, noEject, </tt> </tt>
<a name="L3421"></a><tt class="py-lineno">3421</tt> <tt class="py-line"><tt class="py-docstring"> blankBehavior, refreshMediaDelay</tt> </tt>
<a name="L3422"></a><tt class="py-lineno">3422</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3423"></a><tt class="py-lineno">3423</tt> <tt class="py-line"> </tt>
<a name="StoreConfig.__init__"></a><div id="StoreConfig.__init__-def"><a name="L3424"></a><tt class="py-lineno">3424</tt> <a class="py-toggle" href="#" id="StoreConfig.__init__-toggle" onclick="return toggle('StoreConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">sourceDir</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">mediaType</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">deviceType</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L3425"></a><tt class="py-lineno">3425</tt> <tt class="py-line"> <tt class="py-param">devicePath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">deviceScsiId</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">driveSpeed</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L3426"></a><tt class="py-lineno">3426</tt> <tt class="py-line"> <tt class="py-param">checkData</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">warnMidnite</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">noEject</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> </tt>
<a name="L3427"></a><tt class="py-lineno">3427</tt> <tt class="py-line"> <tt class="py-param">checkMedia</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">blankBehavior</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">refreshMediaDelay</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig.__init__-expanded"><a name="L3428"></a><tt class="py-lineno">3428</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3429"></a><tt class="py-lineno">3429</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{StoreConfig} class.</tt> </tt>
<a name="L3430"></a><tt class="py-lineno">3430</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3431"></a><tt class="py-lineno">3431</tt> <tt class="py-line"><tt class="py-docstring"> @param sourceDir: Directory whose contents should be written to media.</tt> </tt>
<a name="L3432"></a><tt class="py-lineno">3432</tt> <tt class="py-line"><tt class="py-docstring"> @param mediaType: Type of the media (see notes above).</tt> </tt>
<a name="L3433"></a><tt class="py-lineno">3433</tt> <tt class="py-line"><tt class="py-docstring"> @param deviceType: Type of the device (optional, see notes above).</tt> </tt>
<a name="L3434"></a><tt class="py-lineno">3434</tt> <tt class="py-line"><tt class="py-docstring"> @param devicePath: Filesystem device name for writer device, i.e. C{/dev/cdrw}.</tt> </tt>
<a name="L3435"></a><tt class="py-lineno">3435</tt> <tt class="py-line"><tt class="py-docstring"> @param deviceScsiId: SCSI id for writer device, i.e. C{[<method>:]scsibus,target,lun}.</tt> </tt>
<a name="L3436"></a><tt class="py-lineno">3436</tt> <tt class="py-line"><tt class="py-docstring"> @param driveSpeed: Speed of the drive, i.e. C{2} for 2x drive, etc.</tt> </tt>
<a name="L3437"></a><tt class="py-lineno">3437</tt> <tt class="py-line"><tt class="py-docstring"> @param checkData: Whether resulting image should be validated.</tt> </tt>
<a name="L3438"></a><tt class="py-lineno">3438</tt> <tt class="py-line"><tt class="py-docstring"> @param checkMedia: Whether media should be checked before being written to.</tt> </tt>
<a name="L3439"></a><tt class="py-lineno">3439</tt> <tt class="py-line"><tt class="py-docstring"> @param warnMidnite: Whether to generate warnings for crossing midnite.</tt> </tt>
<a name="L3440"></a><tt class="py-lineno">3440</tt> <tt class="py-line"><tt class="py-docstring"> @param noEject: Indicates that the writer device should not be ejected.</tt> </tt>
<a name="L3441"></a><tt class="py-lineno">3441</tt> <tt class="py-line"><tt class="py-docstring"> @param blankBehavior: Controls optimized blanking behavior.</tt> </tt>
<a name="L3442"></a><tt class="py-lineno">3442</tt> <tt class="py-line"><tt class="py-docstring"> @param refreshMediaDelay: Delay, in seconds, to add after refreshing media</tt> </tt>
<a name="L3443"></a><tt class="py-lineno">3443</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3444"></a><tt class="py-lineno">3444</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L3445"></a><tt class="py-lineno">3445</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3446"></a><tt class="py-lineno">3446</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_sourceDir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3447"></a><tt class="py-lineno">3447</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mediaType</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3448"></a><tt class="py-lineno">3448</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deviceType</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3449"></a><tt class="py-lineno">3449</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_devicePath</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3450"></a><tt class="py-lineno">3450</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deviceScsiId</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3451"></a><tt class="py-lineno">3451</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_driveSpeed</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3452"></a><tt class="py-lineno">3452</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_checkData</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3453"></a><tt class="py-lineno">3453</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_checkMedia</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3454"></a><tt class="py-lineno">3454</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_warnMidnite</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3455"></a><tt class="py-lineno">3455</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_noEject</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3456"></a><tt class="py-lineno">3456</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankBehavior</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3457"></a><tt class="py-lineno">3457</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_refreshMediaDelay</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3458"></a><tt class="py-lineno">3458</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-947" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.sourceDir=CedarBackup2.config.StoreConfig-class.html#sourceDir"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-947', 'sourceDir', 'link-947');">sourceDir</a></tt> <tt class="py-op">=</tt> <tt id="link-948" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-948', 'sourceDir', 'link-947');">sourceDir</a></tt> </tt>
<a name="L3459"></a><tt class="py-lineno">3459</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-949" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.mediaType=CedarBackup2.config.StoreConfig-class.html#mediaType,Variable CedarBackup2.writers.cdwriter.MediaDefinition.mediaType=CedarBackup2.writers.cdwriter.MediaDefinition-class.html#mediaType,Variable CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType=CedarBackup2.writers.dvdwriter.MediaDefinition-class.html#mediaType"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-949', 'mediaType', 'link-949');">mediaType</a></tt> <tt class="py-op">=</tt> <tt id="link-950" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-950', 'mediaType', 'link-949');">mediaType</a></tt> </tt>
<a name="L3460"></a><tt class="py-lineno">3460</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-951" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.deviceType=CedarBackup2.config.StoreConfig-class.html#deviceType,Variable CedarBackup2.writers.cdwriter.CdWriter.deviceType=CedarBackup2.writers.cdwriter.CdWriter-class.html#deviceType"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-951', 'deviceType', 'link-951');">deviceType</a></tt> <tt class="py-op">=</tt> <tt id="link-952" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-952', 'deviceType', 'link-951');">deviceType</a></tt> </tt>
<a name="L3461"></a><tt class="py-lineno">3461</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-953" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.devicePath=CedarBackup2.config.StoreConfig-class.html#devicePath"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-953', 'devicePath', 'link-953');">devicePath</a></tt> <tt class="py-op">=</tt> <tt id="link-954" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-954', 'devicePath', 'link-953');">devicePath</a></tt> </tt>
<a name="L3462"></a><tt class="py-lineno">3462</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-955" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.deviceScsiId=CedarBackup2.config.StoreConfig-class.html#deviceScsiId"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-955', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt> <tt class="py-op">=</tt> <tt id="link-956" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-956', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt> </tt>
<a name="L3463"></a><tt class="py-lineno">3463</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-957" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.driveSpeed=CedarBackup2.config.StoreConfig-class.html#driveSpeed,Variable CedarBackup2.writers.cdwriter.CdWriter.driveSpeed=CedarBackup2.writers.cdwriter.CdWriter-class.html#driveSpeed,Variable CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed=CedarBackup2.writers.dvdwriter.DvdWriter-class.html#driveSpeed"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-957', 'driveSpeed', 'link-957');">driveSpeed</a></tt> <tt class="py-op">=</tt> <tt id="link-958" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-958', 'driveSpeed', 'link-957');">driveSpeed</a></tt> </tt>
<a name="L3464"></a><tt class="py-lineno">3464</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-959" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.checkData=CedarBackup2.config.StoreConfig-class.html#checkData"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-959', 'checkData', 'link-959');">checkData</a></tt> <tt class="py-op">=</tt> <tt id="link-960" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-960', 'checkData', 'link-959');">checkData</a></tt> </tt>
<a name="L3465"></a><tt class="py-lineno">3465</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-961" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.checkMedia=CedarBackup2.config.StoreConfig-class.html#checkMedia"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-961', 'checkMedia', 'link-961');">checkMedia</a></tt> <tt class="py-op">=</tt> <tt id="link-962" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-962', 'checkMedia', 'link-961');">checkMedia</a></tt> </tt>
<a name="L3466"></a><tt class="py-lineno">3466</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-963" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.warnMidnite=CedarBackup2.config.StoreConfig-class.html#warnMidnite"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-963', 'warnMidnite', 'link-963');">warnMidnite</a></tt> <tt class="py-op">=</tt> <tt id="link-964" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-964', 'warnMidnite', 'link-963');">warnMidnite</a></tt> </tt>
<a name="L3467"></a><tt class="py-lineno">3467</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-965" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.noEject=CedarBackup2.config.StoreConfig-class.html#noEject"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-965', 'noEject', 'link-965');">noEject</a></tt> <tt class="py-op">=</tt> <tt id="link-966" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-966', 'noEject', 'link-965');">noEject</a></tt> </tt>
<a name="L3468"></a><tt class="py-lineno">3468</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-967" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.blankBehavior=CedarBackup2.config.StoreConfig-class.html#blankBehavior"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-967', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-op">=</tt> <tt id="link-968" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-968', 'blankBehavior', 'link-967');">blankBehavior</a></tt> </tt>
<a name="L3469"></a><tt class="py-lineno">3469</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-969" class="py-name" targets="Variable CedarBackup2.config.StoreConfig.refreshMediaDelay=CedarBackup2.config.StoreConfig-class.html#refreshMediaDelay,Variable CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay=CedarBackup2.writers.cdwriter.CdWriter-class.html#refreshMediaDelay,Variable CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay=CedarBackup2.writers.dvdwriter.DvdWriter-class.html#refreshMediaDelay"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-969', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt> <tt class="py-op">=</tt> <tt id="link-970" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-970', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt> </tt>
</div><a name="L3470"></a><tt class="py-lineno">3470</tt> <tt class="py-line"> </tt>
<a name="StoreConfig.__repr__"></a><div id="StoreConfig.__repr__-def"><a name="L3471"></a><tt class="py-lineno">3471</tt> <a class="py-toggle" href="#" id="StoreConfig.__repr__-toggle" onclick="return toggle('StoreConfig.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig.__repr__-expanded"><a name="L3472"></a><tt class="py-lineno">3472</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3473"></a><tt class="py-lineno">3473</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L3474"></a><tt class="py-lineno">3474</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3475"></a><tt class="py-lineno">3475</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"StoreConfig(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt> </tt>
<a name="L3476"></a><tt class="py-lineno">3476</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-971" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-971', 'sourceDir', 'link-947');">sourceDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-972" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-972', 'mediaType', 'link-949');">mediaType</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-973" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-973', 'deviceType', 'link-951');">deviceType</a></tt><tt class="py-op">,</tt> </tt>
<a name="L3477"></a><tt class="py-lineno">3477</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-974" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-974', 'devicePath', 'link-953');">devicePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-975" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-975', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-976" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-976', 'driveSpeed', 'link-957');">driveSpeed</a></tt><tt class="py-op">,</tt> </tt>
<a name="L3478"></a><tt class="py-lineno">3478</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-977" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-977', 'checkData', 'link-959');">checkData</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-978" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-978', 'warnMidnite', 'link-963');">warnMidnite</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-979" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-979', 'noEject', 'link-965');">noEject</a></tt><tt class="py-op">,</tt> </tt>
<a name="L3479"></a><tt class="py-lineno">3479</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-980" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-980', 'checkMedia', 'link-961');">checkMedia</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-981" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-981', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-982" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-982', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L3480"></a><tt class="py-lineno">3480</tt> <tt class="py-line"> </tt>
<a name="StoreConfig.__str__"></a><div id="StoreConfig.__str__-def"><a name="L3481"></a><tt class="py-lineno">3481</tt> <a class="py-toggle" href="#" id="StoreConfig.__str__-toggle" onclick="return toggle('StoreConfig.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig.__str__-expanded"><a name="L3482"></a><tt class="py-lineno">3482</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3483"></a><tt class="py-lineno">3483</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L3484"></a><tt class="py-lineno">3484</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3485"></a><tt class="py-lineno">3485</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-983" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-983', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3486"></a><tt class="py-lineno">3486</tt> <tt class="py-line"> </tt>
<a name="StoreConfig.__cmp__"></a><div id="StoreConfig.__cmp__-def"><a name="L3487"></a><tt class="py-lineno">3487</tt> <a class="py-toggle" href="#" id="StoreConfig.__cmp__-toggle" onclick="return toggle('StoreConfig.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig.__cmp__-expanded"><a name="L3488"></a><tt class="py-lineno">3488</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3489"></a><tt class="py-lineno">3489</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L3490"></a><tt class="py-lineno">3490</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L3491"></a><tt class="py-lineno">3491</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L3492"></a><tt class="py-lineno">3492</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3493"></a><tt class="py-lineno">3493</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3494"></a><tt class="py-lineno">3494</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3495"></a><tt class="py-lineno">3495</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-984" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-984', 'sourceDir', 'link-947');">sourceDir</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-985" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-985', 'sourceDir', 'link-947');">sourceDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3496"></a><tt class="py-lineno">3496</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-986" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-986', 'sourceDir', 'link-947');">sourceDir</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-987" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-987', 'sourceDir', 'link-947');">sourceDir</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3497"></a><tt class="py-lineno">3497</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3498"></a><tt class="py-lineno">3498</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3499"></a><tt class="py-lineno">3499</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3500"></a><tt class="py-lineno">3500</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-988" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-988', 'mediaType', 'link-949');">mediaType</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-989" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-989', 'mediaType', 'link-949');">mediaType</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3501"></a><tt class="py-lineno">3501</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-990" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-990', 'mediaType', 'link-949');">mediaType</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-991" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-991', 'mediaType', 'link-949');">mediaType</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3502"></a><tt class="py-lineno">3502</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3503"></a><tt class="py-lineno">3503</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3504"></a><tt class="py-lineno">3504</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3505"></a><tt class="py-lineno">3505</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-992" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-992', 'deviceType', 'link-951');">deviceType</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-993" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-993', 'deviceType', 'link-951');">deviceType</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3506"></a><tt class="py-lineno">3506</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-994" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-994', 'deviceType', 'link-951');">deviceType</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-995" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-995', 'deviceType', 'link-951');">deviceType</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3507"></a><tt class="py-lineno">3507</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3508"></a><tt class="py-lineno">3508</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3509"></a><tt class="py-lineno">3509</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3510"></a><tt class="py-lineno">3510</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-996" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-996', 'devicePath', 'link-953');">devicePath</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-997" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-997', 'devicePath', 'link-953');">devicePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3511"></a><tt class="py-lineno">3511</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-998" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-998', 'devicePath', 'link-953');">devicePath</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-999" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-999', 'devicePath', 'link-953');">devicePath</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3512"></a><tt class="py-lineno">3512</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3513"></a><tt class="py-lineno">3513</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3514"></a><tt class="py-lineno">3514</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3515"></a><tt class="py-lineno">3515</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1000" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-1000', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1001" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-1001', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3516"></a><tt class="py-lineno">3516</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1002" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-1002', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1003" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-1003', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3517"></a><tt class="py-lineno">3517</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3518"></a><tt class="py-lineno">3518</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3519"></a><tt class="py-lineno">3519</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3520"></a><tt class="py-lineno">3520</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1004" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-1004', 'driveSpeed', 'link-957');">driveSpeed</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1005" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-1005', 'driveSpeed', 'link-957');">driveSpeed</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3521"></a><tt class="py-lineno">3521</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1006" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-1006', 'driveSpeed', 'link-957');">driveSpeed</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1007" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-1007', 'driveSpeed', 'link-957');">driveSpeed</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3522"></a><tt class="py-lineno">3522</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3523"></a><tt class="py-lineno">3523</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3524"></a><tt class="py-lineno">3524</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3525"></a><tt class="py-lineno">3525</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1008" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-1008', 'checkData', 'link-959');">checkData</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1009" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-1009', 'checkData', 'link-959');">checkData</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3526"></a><tt class="py-lineno">3526</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1010" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-1010', 'checkData', 'link-959');">checkData</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1011" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-1011', 'checkData', 'link-959');">checkData</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3527"></a><tt class="py-lineno">3527</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3528"></a><tt class="py-lineno">3528</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3529"></a><tt class="py-lineno">3529</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3530"></a><tt class="py-lineno">3530</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1012" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-1012', 'checkMedia', 'link-961');">checkMedia</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1013" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-1013', 'checkMedia', 'link-961');">checkMedia</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3531"></a><tt class="py-lineno">3531</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1014" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-1014', 'checkMedia', 'link-961');">checkMedia</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1015" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-1015', 'checkMedia', 'link-961');">checkMedia</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3532"></a><tt class="py-lineno">3532</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3533"></a><tt class="py-lineno">3533</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3534"></a><tt class="py-lineno">3534</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3535"></a><tt class="py-lineno">3535</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1016" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-1016', 'warnMidnite', 'link-963');">warnMidnite</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1017" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-1017', 'warnMidnite', 'link-963');">warnMidnite</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3536"></a><tt class="py-lineno">3536</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1018" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-1018', 'warnMidnite', 'link-963');">warnMidnite</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1019" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-1019', 'warnMidnite', 'link-963');">warnMidnite</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3537"></a><tt class="py-lineno">3537</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3538"></a><tt class="py-lineno">3538</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3539"></a><tt class="py-lineno">3539</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3540"></a><tt class="py-lineno">3540</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1020" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-1020', 'noEject', 'link-965');">noEject</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1021" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-1021', 'noEject', 'link-965');">noEject</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3541"></a><tt class="py-lineno">3541</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1022" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-1022', 'noEject', 'link-965');">noEject</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1023" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-1023', 'noEject', 'link-965');">noEject</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3542"></a><tt class="py-lineno">3542</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3543"></a><tt class="py-lineno">3543</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3544"></a><tt class="py-lineno">3544</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3545"></a><tt class="py-lineno">3545</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1024" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1024', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1025" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1025', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3546"></a><tt class="py-lineno">3546</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1026" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1026', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1027" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1027', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3547"></a><tt class="py-lineno">3547</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3548"></a><tt class="py-lineno">3548</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3549"></a><tt class="py-lineno">3549</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3550"></a><tt class="py-lineno">3550</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1028" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1028', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1029" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1029', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3551"></a><tt class="py-lineno">3551</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1030" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1030', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1031" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1031', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3552"></a><tt class="py-lineno">3552</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3553"></a><tt class="py-lineno">3553</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3554"></a><tt class="py-lineno">3554</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3555"></a><tt class="py-lineno">3555</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L3556"></a><tt class="py-lineno">3556</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setSourceDir"></a><div id="StoreConfig._setSourceDir-def"><a name="L3557"></a><tt class="py-lineno">3557</tt> <a class="py-toggle" href="#" id="StoreConfig._setSourceDir-toggle" onclick="return toggle('StoreConfig._setSourceDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setSourceDir">_setSourceDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setSourceDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setSourceDir-expanded"><a name="L3558"></a><tt class="py-lineno">3558</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3559"></a><tt class="py-lineno">3559</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the source directory.</tt> </tt>
<a name="L3560"></a><tt class="py-lineno">3560</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L3561"></a><tt class="py-lineno">3561</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L3562"></a><tt class="py-lineno">3562</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L3563"></a><tt class="py-lineno">3563</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L3564"></a><tt class="py-lineno">3564</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3565"></a><tt class="py-lineno">3565</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3566"></a><tt class="py-lineno">3566</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L3567"></a><tt class="py-lineno">3567</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Source directory must be an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L3568"></a><tt class="py-lineno">3568</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_sourceDir</tt> <tt class="py-op">=</tt> <tt id="link-1032" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-1032', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3569"></a><tt class="py-lineno">3569</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getSourceDir"></a><div id="StoreConfig._getSourceDir-def"><a name="L3570"></a><tt class="py-lineno">3570</tt> <a class="py-toggle" href="#" id="StoreConfig._getSourceDir-toggle" onclick="return toggle('StoreConfig._getSourceDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getSourceDir">_getSourceDir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getSourceDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getSourceDir-expanded"><a name="L3571"></a><tt class="py-lineno">3571</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3572"></a><tt class="py-lineno">3572</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the source directory.</tt> </tt>
<a name="L3573"></a><tt class="py-lineno">3573</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3574"></a><tt class="py-lineno">3574</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_sourceDir</tt> </tt>
</div><a name="L3575"></a><tt class="py-lineno">3575</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setMediaType"></a><div id="StoreConfig._setMediaType-def"><a name="L3576"></a><tt class="py-lineno">3576</tt> <a class="py-toggle" href="#" id="StoreConfig._setMediaType-toggle" onclick="return toggle('StoreConfig._setMediaType');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setMediaType">_setMediaType</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setMediaType-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setMediaType-expanded"><a name="L3577"></a><tt class="py-lineno">3577</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3578"></a><tt class="py-lineno">3578</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the media type.</tt> </tt>
<a name="L3579"></a><tt class="py-lineno">3579</tt> <tt class="py-line"><tt class="py-docstring"> The value must be one of L{VALID_MEDIA_TYPES}.</tt> </tt>
<a name="L3580"></a><tt class="py-lineno">3580</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L3581"></a><tt class="py-lineno">3581</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3582"></a><tt class="py-lineno">3582</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3583"></a><tt class="py-lineno">3583</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-1033" class="py-name"><a title="CedarBackup2.config.VALID_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-1033', 'VALID_MEDIA_TYPES', 'link-52');">VALID_MEDIA_TYPES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3584"></a><tt class="py-lineno">3584</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Media type must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-1034" class="py-name"><a title="CedarBackup2.config.VALID_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-1034', 'VALID_MEDIA_TYPES', 'link-52');">VALID_MEDIA_TYPES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L3585"></a><tt class="py-lineno">3585</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mediaType</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L3586"></a><tt class="py-lineno">3586</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getMediaType"></a><div id="StoreConfig._getMediaType-def"><a name="L3587"></a><tt class="py-lineno">3587</tt> <a class="py-toggle" href="#" id="StoreConfig._getMediaType-toggle" onclick="return toggle('StoreConfig._getMediaType');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getMediaType">_getMediaType</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getMediaType-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getMediaType-expanded"><a name="L3588"></a><tt class="py-lineno">3588</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3589"></a><tt class="py-lineno">3589</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the media type.</tt> </tt>
<a name="L3590"></a><tt class="py-lineno">3590</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3591"></a><tt class="py-lineno">3591</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mediaType</tt> </tt>
</div><a name="L3592"></a><tt class="py-lineno">3592</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setDeviceType"></a><div id="StoreConfig._setDeviceType-def"><a name="L3593"></a><tt class="py-lineno">3593</tt> <a class="py-toggle" href="#" id="StoreConfig._setDeviceType-toggle" onclick="return toggle('StoreConfig._setDeviceType');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setDeviceType">_setDeviceType</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setDeviceType-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setDeviceType-expanded"><a name="L3594"></a><tt class="py-lineno">3594</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3595"></a><tt class="py-lineno">3595</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the device type.</tt> </tt>
<a name="L3596"></a><tt class="py-lineno">3596</tt> <tt class="py-line"><tt class="py-docstring"> The value must be one of L{VALID_DEVICE_TYPES}.</tt> </tt>
<a name="L3597"></a><tt class="py-lineno">3597</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L3598"></a><tt class="py-lineno">3598</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3599"></a><tt class="py-lineno">3599</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3600"></a><tt class="py-lineno">3600</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-1035" class="py-name"><a title="CedarBackup2.config.VALID_DEVICE_TYPES" class="py-name" href="#" onclick="return doclink('link-1035', 'VALID_DEVICE_TYPES', 'link-49');">VALID_DEVICE_TYPES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3601"></a><tt class="py-lineno">3601</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Device type must be one of %s."</tt> <tt class="py-op">%</tt> <tt id="link-1036" class="py-name"><a title="CedarBackup2.config.VALID_DEVICE_TYPES" class="py-name" href="#" onclick="return doclink('link-1036', 'VALID_DEVICE_TYPES', 'link-49');">VALID_DEVICE_TYPES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L3602"></a><tt class="py-lineno">3602</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deviceType</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L3603"></a><tt class="py-lineno">3603</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getDeviceType"></a><div id="StoreConfig._getDeviceType-def"><a name="L3604"></a><tt class="py-lineno">3604</tt> <a class="py-toggle" href="#" id="StoreConfig._getDeviceType-toggle" onclick="return toggle('StoreConfig._getDeviceType');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getDeviceType">_getDeviceType</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getDeviceType-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getDeviceType-expanded"><a name="L3605"></a><tt class="py-lineno">3605</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3606"></a><tt class="py-lineno">3606</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the device type.</tt> </tt>
<a name="L3607"></a><tt class="py-lineno">3607</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3608"></a><tt class="py-lineno">3608</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deviceType</tt> </tt>
</div><a name="L3609"></a><tt class="py-lineno">3609</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setDevicePath"></a><div id="StoreConfig._setDevicePath-def"><a name="L3610"></a><tt class="py-lineno">3610</tt> <a class="py-toggle" href="#" id="StoreConfig._setDevicePath-toggle" onclick="return toggle('StoreConfig._setDevicePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setDevicePath">_setDevicePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setDevicePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setDevicePath-expanded"><a name="L3611"></a><tt class="py-lineno">3611</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3612"></a><tt class="py-lineno">3612</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the device path.</tt> </tt>
<a name="L3613"></a><tt class="py-lineno">3613</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an absolute path if it is not C{None}.</tt> </tt>
<a name="L3614"></a><tt class="py-lineno">3614</tt> <tt class="py-line"><tt class="py-docstring"> It does not have to exist on disk at the time of assignment.</tt> </tt>
<a name="L3615"></a><tt class="py-lineno">3615</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not an absolute path.</tt> </tt>
<a name="L3616"></a><tt class="py-lineno">3616</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value cannot be encoded properly.</tt> </tt>
<a name="L3617"></a><tt class="py-lineno">3617</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3618"></a><tt class="py-lineno">3618</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3619"></a><tt class="py-lineno">3619</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isabs</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L3620"></a><tt class="py-lineno">3620</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Device path must be an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L3621"></a><tt class="py-lineno">3621</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_devicePath</tt> <tt class="py-op">=</tt> <tt id="link-1037" class="py-name"><a title="CedarBackup2.util.encodePath" class="py-name" href="#" onclick="return doclink('link-1037', 'encodePath', 'link-15');">encodePath</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3622"></a><tt class="py-lineno">3622</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getDevicePath"></a><div id="StoreConfig._getDevicePath-def"><a name="L3623"></a><tt class="py-lineno">3623</tt> <a class="py-toggle" href="#" id="StoreConfig._getDevicePath-toggle" onclick="return toggle('StoreConfig._getDevicePath');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getDevicePath">_getDevicePath</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getDevicePath-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getDevicePath-expanded"><a name="L3624"></a><tt class="py-lineno">3624</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3625"></a><tt class="py-lineno">3625</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the device path.</tt> </tt>
<a name="L3626"></a><tt class="py-lineno">3626</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3627"></a><tt class="py-lineno">3627</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_devicePath</tt> </tt>
</div><a name="L3628"></a><tt class="py-lineno">3628</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setDeviceScsiId"></a><div id="StoreConfig._setDeviceScsiId-def"><a name="L3629"></a><tt class="py-lineno">3629</tt> <a class="py-toggle" href="#" id="StoreConfig._setDeviceScsiId-toggle" onclick="return toggle('StoreConfig._setDeviceScsiId');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setDeviceScsiId">_setDeviceScsiId</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setDeviceScsiId-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setDeviceScsiId-expanded"><a name="L3630"></a><tt class="py-lineno">3630</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3631"></a><tt class="py-lineno">3631</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the SCSI id</tt> </tt>
<a name="L3632"></a><tt class="py-lineno">3632</tt> <tt class="py-line"><tt class="py-docstring"> The SCSI id must be valid per L{validateScsiId}.</tt> </tt>
<a name="L3633"></a><tt class="py-lineno">3633</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L3634"></a><tt class="py-lineno">3634</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3635"></a><tt class="py-lineno">3635</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3636"></a><tt class="py-lineno">3636</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deviceScsiId</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3637"></a><tt class="py-lineno">3637</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3638"></a><tt class="py-lineno">3638</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deviceScsiId</tt> <tt class="py-op">=</tt> <tt id="link-1038" class="py-name"><a title="CedarBackup2.writers.util.validateScsiId" class="py-name" href="#" onclick="return doclink('link-1038', 'validateScsiId', 'link-3');">validateScsiId</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3639"></a><tt class="py-lineno">3639</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getDeviceScsiId"></a><div id="StoreConfig._getDeviceScsiId-def"><a name="L3640"></a><tt class="py-lineno">3640</tt> <a class="py-toggle" href="#" id="StoreConfig._getDeviceScsiId-toggle" onclick="return toggle('StoreConfig._getDeviceScsiId');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getDeviceScsiId">_getDeviceScsiId</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getDeviceScsiId-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getDeviceScsiId-expanded"><a name="L3641"></a><tt class="py-lineno">3641</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3642"></a><tt class="py-lineno">3642</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the SCSI id.</tt> </tt>
<a name="L3643"></a><tt class="py-lineno">3643</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3644"></a><tt class="py-lineno">3644</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deviceScsiId</tt> </tt>
</div><a name="L3645"></a><tt class="py-lineno">3645</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setDriveSpeed"></a><div id="StoreConfig._setDriveSpeed-def"><a name="L3646"></a><tt class="py-lineno">3646</tt> <a class="py-toggle" href="#" id="StoreConfig._setDriveSpeed-toggle" onclick="return toggle('StoreConfig._setDriveSpeed');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setDriveSpeed">_setDriveSpeed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setDriveSpeed-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setDriveSpeed-expanded"><a name="L3647"></a><tt class="py-lineno">3647</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3648"></a><tt class="py-lineno">3648</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the drive speed.</tt> </tt>
<a name="L3649"></a><tt class="py-lineno">3649</tt> <tt class="py-line"><tt class="py-docstring"> The drive speed must be valid per L{validateDriveSpeed}.</tt> </tt>
<a name="L3650"></a><tt class="py-lineno">3650</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L3651"></a><tt class="py-lineno">3651</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3652"></a><tt class="py-lineno">3652</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_driveSpeed</tt> <tt class="py-op">=</tt> <tt id="link-1039" class="py-name"><a title="CedarBackup2.writers.util.validateDriveSpeed" class="py-name" href="#" onclick="return doclink('link-1039', 'validateDriveSpeed', 'link-4');">validateDriveSpeed</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3653"></a><tt class="py-lineno">3653</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getDriveSpeed"></a><div id="StoreConfig._getDriveSpeed-def"><a name="L3654"></a><tt class="py-lineno">3654</tt> <a class="py-toggle" href="#" id="StoreConfig._getDriveSpeed-toggle" onclick="return toggle('StoreConfig._getDriveSpeed');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getDriveSpeed">_getDriveSpeed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getDriveSpeed-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getDriveSpeed-expanded"><a name="L3655"></a><tt class="py-lineno">3655</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3656"></a><tt class="py-lineno">3656</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the drive speed.</tt> </tt>
<a name="L3657"></a><tt class="py-lineno">3657</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3658"></a><tt class="py-lineno">3658</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_driveSpeed</tt> </tt>
</div><a name="L3659"></a><tt class="py-lineno">3659</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setCheckData"></a><div id="StoreConfig._setCheckData-def"><a name="L3660"></a><tt class="py-lineno">3660</tt> <a class="py-toggle" href="#" id="StoreConfig._setCheckData-toggle" onclick="return toggle('StoreConfig._setCheckData');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setCheckData">_setCheckData</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setCheckData-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setCheckData-expanded"><a name="L3661"></a><tt class="py-lineno">3661</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3662"></a><tt class="py-lineno">3662</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the check data flag.</tt> </tt>
<a name="L3663"></a><tt class="py-lineno">3663</tt> <tt class="py-line"><tt class="py-docstring"> No validations, but we normalize the value to C{True} or C{False}.</tt> </tt>
<a name="L3664"></a><tt class="py-lineno">3664</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3665"></a><tt class="py-lineno">3665</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt><tt class="py-op">:</tt> </tt>
<a name="L3666"></a><tt class="py-lineno">3666</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_checkData</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L3667"></a><tt class="py-lineno">3667</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3668"></a><tt class="py-lineno">3668</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_checkData</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L3669"></a><tt class="py-lineno">3669</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getCheckData"></a><div id="StoreConfig._getCheckData-def"><a name="L3670"></a><tt class="py-lineno">3670</tt> <a class="py-toggle" href="#" id="StoreConfig._getCheckData-toggle" onclick="return toggle('StoreConfig._getCheckData');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getCheckData">_getCheckData</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getCheckData-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getCheckData-expanded"><a name="L3671"></a><tt class="py-lineno">3671</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3672"></a><tt class="py-lineno">3672</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the check data flag.</tt> </tt>
<a name="L3673"></a><tt class="py-lineno">3673</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3674"></a><tt class="py-lineno">3674</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_checkData</tt> </tt>
</div><a name="L3675"></a><tt class="py-lineno">3675</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setCheckMedia"></a><div id="StoreConfig._setCheckMedia-def"><a name="L3676"></a><tt class="py-lineno">3676</tt> <a class="py-toggle" href="#" id="StoreConfig._setCheckMedia-toggle" onclick="return toggle('StoreConfig._setCheckMedia');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setCheckMedia">_setCheckMedia</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setCheckMedia-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setCheckMedia-expanded"><a name="L3677"></a><tt class="py-lineno">3677</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3678"></a><tt class="py-lineno">3678</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the check media flag.</tt> </tt>
<a name="L3679"></a><tt class="py-lineno">3679</tt> <tt class="py-line"><tt class="py-docstring"> No validations, but we normalize the value to C{True} or C{False}.</tt> </tt>
<a name="L3680"></a><tt class="py-lineno">3680</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3681"></a><tt class="py-lineno">3681</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt><tt class="py-op">:</tt> </tt>
<a name="L3682"></a><tt class="py-lineno">3682</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_checkMedia</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L3683"></a><tt class="py-lineno">3683</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3684"></a><tt class="py-lineno">3684</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_checkMedia</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L3685"></a><tt class="py-lineno">3685</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getCheckMedia"></a><div id="StoreConfig._getCheckMedia-def"><a name="L3686"></a><tt class="py-lineno">3686</tt> <a class="py-toggle" href="#" id="StoreConfig._getCheckMedia-toggle" onclick="return toggle('StoreConfig._getCheckMedia');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getCheckMedia">_getCheckMedia</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getCheckMedia-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getCheckMedia-expanded"><a name="L3687"></a><tt class="py-lineno">3687</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3688"></a><tt class="py-lineno">3688</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the check media flag.</tt> </tt>
<a name="L3689"></a><tt class="py-lineno">3689</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3690"></a><tt class="py-lineno">3690</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_checkMedia</tt> </tt>
</div><a name="L3691"></a><tt class="py-lineno">3691</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setWarnMidnite"></a><div id="StoreConfig._setWarnMidnite-def"><a name="L3692"></a><tt class="py-lineno">3692</tt> <a class="py-toggle" href="#" id="StoreConfig._setWarnMidnite-toggle" onclick="return toggle('StoreConfig._setWarnMidnite');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setWarnMidnite">_setWarnMidnite</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setWarnMidnite-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setWarnMidnite-expanded"><a name="L3693"></a><tt class="py-lineno">3693</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3694"></a><tt class="py-lineno">3694</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the midnite warning flag.</tt> </tt>
<a name="L3695"></a><tt class="py-lineno">3695</tt> <tt class="py-line"><tt class="py-docstring"> No validations, but we normalize the value to C{True} or C{False}.</tt> </tt>
<a name="L3696"></a><tt class="py-lineno">3696</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3697"></a><tt class="py-lineno">3697</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt><tt class="py-op">:</tt> </tt>
<a name="L3698"></a><tt class="py-lineno">3698</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_warnMidnite</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L3699"></a><tt class="py-lineno">3699</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3700"></a><tt class="py-lineno">3700</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_warnMidnite</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L3701"></a><tt class="py-lineno">3701</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getWarnMidnite"></a><div id="StoreConfig._getWarnMidnite-def"><a name="L3702"></a><tt class="py-lineno">3702</tt> <a class="py-toggle" href="#" id="StoreConfig._getWarnMidnite-toggle" onclick="return toggle('StoreConfig._getWarnMidnite');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getWarnMidnite">_getWarnMidnite</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getWarnMidnite-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getWarnMidnite-expanded"><a name="L3703"></a><tt class="py-lineno">3703</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3704"></a><tt class="py-lineno">3704</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the midnite warning flag.</tt> </tt>
<a name="L3705"></a><tt class="py-lineno">3705</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3706"></a><tt class="py-lineno">3706</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_warnMidnite</tt> </tt>
</div><a name="L3707"></a><tt class="py-lineno">3707</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setNoEject"></a><div id="StoreConfig._setNoEject-def"><a name="L3708"></a><tt class="py-lineno">3708</tt> <a class="py-toggle" href="#" id="StoreConfig._setNoEject-toggle" onclick="return toggle('StoreConfig._setNoEject');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setNoEject">_setNoEject</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setNoEject-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setNoEject-expanded"><a name="L3709"></a><tt class="py-lineno">3709</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3710"></a><tt class="py-lineno">3710</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the no-eject flag.</tt> </tt>
<a name="L3711"></a><tt class="py-lineno">3711</tt> <tt class="py-line"><tt class="py-docstring"> No validations, but we normalize the value to C{True} or C{False}.</tt> </tt>
<a name="L3712"></a><tt class="py-lineno">3712</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3713"></a><tt class="py-lineno">3713</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt><tt class="py-op">:</tt> </tt>
<a name="L3714"></a><tt class="py-lineno">3714</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_noEject</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L3715"></a><tt class="py-lineno">3715</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3716"></a><tt class="py-lineno">3716</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_noEject</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L3717"></a><tt class="py-lineno">3717</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getNoEject"></a><div id="StoreConfig._getNoEject-def"><a name="L3718"></a><tt class="py-lineno">3718</tt> <a class="py-toggle" href="#" id="StoreConfig._getNoEject-toggle" onclick="return toggle('StoreConfig._getNoEject');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getNoEject">_getNoEject</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getNoEject-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getNoEject-expanded"><a name="L3719"></a><tt class="py-lineno">3719</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3720"></a><tt class="py-lineno">3720</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the no-eject flag.</tt> </tt>
<a name="L3721"></a><tt class="py-lineno">3721</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3722"></a><tt class="py-lineno">3722</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_noEject</tt> </tt>
</div><a name="L3723"></a><tt class="py-lineno">3723</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setBlankBehavior"></a><div id="StoreConfig._setBlankBehavior-def"><a name="L3724"></a><tt class="py-lineno">3724</tt> <a class="py-toggle" href="#" id="StoreConfig._setBlankBehavior-toggle" onclick="return toggle('StoreConfig._setBlankBehavior');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setBlankBehavior">_setBlankBehavior</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setBlankBehavior-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setBlankBehavior-expanded"><a name="L3725"></a><tt class="py-lineno">3725</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3726"></a><tt class="py-lineno">3726</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set blanking behavior configuration.</tt> </tt>
<a name="L3727"></a><tt class="py-lineno">3727</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be a C{BlankBehavior} object.</tt> </tt>
<a name="L3728"></a><tt class="py-lineno">3728</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{BlankBehavior}</tt> </tt>
<a name="L3729"></a><tt class="py-lineno">3729</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3730"></a><tt class="py-lineno">3730</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3731"></a><tt class="py-lineno">3731</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankBehavior</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3732"></a><tt class="py-lineno">3732</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3733"></a><tt class="py-lineno">3733</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1040" class="py-name" targets="Class CedarBackup2.config.BlankBehavior=CedarBackup2.config.BlankBehavior-class.html"><a title="CedarBackup2.config.BlankBehavior" class="py-name" href="#" onclick="return doclink('link-1040', 'BlankBehavior', 'link-1040');">BlankBehavior</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L3734"></a><tt class="py-lineno">3734</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{BlankBehavior} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L3735"></a><tt class="py-lineno">3735</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankBehavior</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L3736"></a><tt class="py-lineno">3736</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getBlankBehavior"></a><div id="StoreConfig._getBlankBehavior-def"><a name="L3737"></a><tt class="py-lineno">3737</tt> <a class="py-toggle" href="#" id="StoreConfig._getBlankBehavior-toggle" onclick="return toggle('StoreConfig._getBlankBehavior');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getBlankBehavior">_getBlankBehavior</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getBlankBehavior-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getBlankBehavior-expanded"><a name="L3738"></a><tt class="py-lineno">3738</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3739"></a><tt class="py-lineno">3739</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the blanking behavior configuration.</tt> </tt>
<a name="L3740"></a><tt class="py-lineno">3740</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3741"></a><tt class="py-lineno">3741</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_blankBehavior</tt> </tt>
</div><a name="L3742"></a><tt class="py-lineno">3742</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._setRefreshMediaDelay"></a><div id="StoreConfig._setRefreshMediaDelay-def"><a name="L3743"></a><tt class="py-lineno">3743</tt> <a class="py-toggle" href="#" id="StoreConfig._setRefreshMediaDelay-toggle" onclick="return toggle('StoreConfig._setRefreshMediaDelay');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_setRefreshMediaDelay">_setRefreshMediaDelay</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._setRefreshMediaDelay-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._setRefreshMediaDelay-expanded"><a name="L3744"></a><tt class="py-lineno">3744</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3745"></a><tt class="py-lineno">3745</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the refreshMediaDelay.</tt> </tt>
<a name="L3746"></a><tt class="py-lineno">3746</tt> <tt class="py-line"><tt class="py-docstring"> The value must be an integer >= 0.</tt> </tt>
<a name="L3747"></a><tt class="py-lineno">3747</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not valid.</tt> </tt>
<a name="L3748"></a><tt class="py-lineno">3748</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3749"></a><tt class="py-lineno">3749</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3750"></a><tt class="py-lineno">3750</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_refreshMediaDelay</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3751"></a><tt class="py-lineno">3751</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3752"></a><tt class="py-lineno">3752</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L3753"></a><tt class="py-lineno">3753</tt> <tt class="py-line"> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L3754"></a><tt class="py-lineno">3754</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">TypeError</tt><tt class="py-op">:</tt> </tt>
<a name="L3755"></a><tt class="py-lineno">3755</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Action refreshMediaDelay value must be an integer >= 0."</tt><tt class="py-op">)</tt> </tt>
<a name="L3756"></a><tt class="py-lineno">3756</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-op"><</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L3757"></a><tt class="py-lineno">3757</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Action refreshMediaDelay value must be an integer >= 0."</tt><tt class="py-op">)</tt> </tt>
<a name="L3758"></a><tt class="py-lineno">3758</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L3759"></a><tt class="py-lineno">3759</tt> <tt class="py-line"> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> <tt class="py-comment"># normalize this out, since it's the default</tt> </tt>
<a name="L3760"></a><tt class="py-lineno">3760</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_refreshMediaDelay</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L3761"></a><tt class="py-lineno">3761</tt> <tt class="py-line"> </tt>
<a name="StoreConfig._getRefreshMediaDelay"></a><div id="StoreConfig._getRefreshMediaDelay-def"><a name="L3762"></a><tt class="py-lineno">3762</tt> <a class="py-toggle" href="#" id="StoreConfig._getRefreshMediaDelay-toggle" onclick="return toggle('StoreConfig._getRefreshMediaDelay');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.StoreConfig-class.html#_getRefreshMediaDelay">_getRefreshMediaDelay</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StoreConfig._getRefreshMediaDelay-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="StoreConfig._getRefreshMediaDelay-expanded"><a name="L3763"></a><tt class="py-lineno">3763</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3764"></a><tt class="py-lineno">3764</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the action refreshMediaDelay.</tt> </tt>
<a name="L3765"></a><tt class="py-lineno">3765</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3766"></a><tt class="py-lineno">3766</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_refreshMediaDelay</tt> </tt>
</div><a name="L3767"></a><tt class="py-lineno">3767</tt> <tt class="py-line"> </tt>
<a name="L3768"></a><tt class="py-lineno">3768</tt> <tt class="py-line"> <tt id="link-1041" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-1041', 'sourceDir', 'link-947');">sourceDir</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1042" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getSourceDir()=CedarBackup2.config.StoreConfig-class.html#_getSourceDir"><a title="CedarBackup2.config.StoreConfig._getSourceDir" class="py-name" href="#" onclick="return doclink('link-1042', '_getSourceDir', 'link-1042');">_getSourceDir</a></tt><tt class="py-op">,</tt> <tt id="link-1043" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setSourceDir()=CedarBackup2.config.StoreConfig-class.html#_setSourceDir"><a title="CedarBackup2.config.StoreConfig._setSourceDir" class="py-name" href="#" onclick="return doclink('link-1043', '_setSourceDir', 'link-1043');">_setSourceDir</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Directory whose contents should be written to media."</tt><tt class="py-op">)</tt> </tt>
<a name="L3769"></a><tt class="py-lineno">3769</tt> <tt class="py-line"> <tt id="link-1044" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-1044', 'mediaType', 'link-949');">mediaType</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1045" class="py-name" targets="Function CedarBackup2.actions.util._getMediaType()=CedarBackup2.actions.util-module.html#_getMediaType,Method CedarBackup2.config.StoreConfig._getMediaType()=CedarBackup2.config.StoreConfig-class.html#_getMediaType,Method CedarBackup2.writers.cdwriter.MediaDefinition._getMediaType()=CedarBackup2.writers.cdwriter.MediaDefinition-class.html#_getMediaType,Method CedarBackup2.writers.dvdwriter.MediaDefinition._getMediaType()=CedarBackup2.writers.dvdwriter.MediaDefinition-class.html#_getMediaType"><a title="CedarBackup2.actions.util._getMediaType
CedarBackup2.config.StoreConfig._getMediaType
CedarBackup2.writers.cdwriter.MediaDefinition._getMediaType
CedarBackup2.writers.dvdwriter.MediaDefinition._getMediaType" class="py-name" href="#" onclick="return doclink('link-1045', '_getMediaType', 'link-1045');">_getMediaType</a></tt><tt class="py-op">,</tt> <tt id="link-1046" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setMediaType()=CedarBackup2.config.StoreConfig-class.html#_setMediaType"><a title="CedarBackup2.config.StoreConfig._setMediaType" class="py-name" href="#" onclick="return doclink('link-1046', '_setMediaType', 'link-1046');">_setMediaType</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Type of the media (see notes above)."</tt><tt class="py-op">)</tt> </tt>
<a name="L3770"></a><tt class="py-lineno">3770</tt> <tt class="py-line"> <tt id="link-1047" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-1047', 'deviceType', 'link-951');">deviceType</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1048" class="py-name" targets="Function CedarBackup2.actions.util._getDeviceType()=CedarBackup2.actions.util-module.html#_getDeviceType,Method CedarBackup2.config.StoreConfig._getDeviceType()=CedarBackup2.config.StoreConfig-class.html#_getDeviceType,Method CedarBackup2.writers.cdwriter.CdWriter._getDeviceType()=CedarBackup2.writers.cdwriter.CdWriter-class.html#_getDeviceType"><a title="CedarBackup2.actions.util._getDeviceType
CedarBackup2.config.StoreConfig._getDeviceType
CedarBackup2.writers.cdwriter.CdWriter._getDeviceType" class="py-name" href="#" onclick="return doclink('link-1048', '_getDeviceType', 'link-1048');">_getDeviceType</a></tt><tt class="py-op">,</tt> <tt id="link-1049" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setDeviceType()=CedarBackup2.config.StoreConfig-class.html#_setDeviceType"><a title="CedarBackup2.config.StoreConfig._setDeviceType" class="py-name" href="#" onclick="return doclink('link-1049', '_setDeviceType', 'link-1049');">_setDeviceType</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Type of the device (optional, see notes above)."</tt><tt class="py-op">)</tt> </tt>
<a name="L3771"></a><tt class="py-lineno">3771</tt> <tt class="py-line"> <tt id="link-1050" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-1050', 'devicePath', 'link-953');">devicePath</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1051" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getDevicePath()=CedarBackup2.config.StoreConfig-class.html#_getDevicePath"><a title="CedarBackup2.config.StoreConfig._getDevicePath" class="py-name" href="#" onclick="return doclink('link-1051', '_getDevicePath', 'link-1051');">_getDevicePath</a></tt><tt class="py-op">,</tt> <tt id="link-1052" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setDevicePath()=CedarBackup2.config.StoreConfig-class.html#_setDevicePath"><a title="CedarBackup2.config.StoreConfig._setDevicePath" class="py-name" href="#" onclick="return doclink('link-1052', '_setDevicePath', 'link-1052');">_setDevicePath</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Filesystem device name for writer device."</tt><tt class="py-op">)</tt> </tt>
<a name="L3772"></a><tt class="py-lineno">3772</tt> <tt class="py-line"> <tt id="link-1053" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-1053', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1054" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getDeviceScsiId()=CedarBackup2.config.StoreConfig-class.html#_getDeviceScsiId"><a title="CedarBackup2.config.StoreConfig._getDeviceScsiId" class="py-name" href="#" onclick="return doclink('link-1054', '_getDeviceScsiId', 'link-1054');">_getDeviceScsiId</a></tt><tt class="py-op">,</tt> <tt id="link-1055" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setDeviceScsiId()=CedarBackup2.config.StoreConfig-class.html#_setDeviceScsiId"><a title="CedarBackup2.config.StoreConfig._setDeviceScsiId" class="py-name" href="#" onclick="return doclink('link-1055', '_setDeviceScsiId', 'link-1055');">_setDeviceScsiId</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"SCSI id for writer device (optional, see notes above)."</tt><tt class="py-op">)</tt> </tt>
<a name="L3773"></a><tt class="py-lineno">3773</tt> <tt class="py-line"> <tt id="link-1056" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-1056', 'driveSpeed', 'link-957');">driveSpeed</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1057" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getDriveSpeed()=CedarBackup2.config.StoreConfig-class.html#_getDriveSpeed,Method CedarBackup2.writers.cdwriter.CdWriter._getDriveSpeed()=CedarBackup2.writers.cdwriter.CdWriter-class.html#_getDriveSpeed,Method CedarBackup2.writers.dvdwriter.DvdWriter._getDriveSpeed()=CedarBackup2.writers.dvdwriter.DvdWriter-class.html#_getDriveSpeed"><a title="CedarBackup2.config.StoreConfig._getDriveSpeed
CedarBackup2.writers.cdwriter.CdWriter._getDriveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter._getDriveSpeed" class="py-name" href="#" onclick="return doclink('link-1057', '_getDriveSpeed', 'link-1057');">_getDriveSpeed</a></tt><tt class="py-op">,</tt> <tt id="link-1058" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setDriveSpeed()=CedarBackup2.config.StoreConfig-class.html#_setDriveSpeed"><a title="CedarBackup2.config.StoreConfig._setDriveSpeed" class="py-name" href="#" onclick="return doclink('link-1058', '_setDriveSpeed', 'link-1058');">_setDriveSpeed</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Speed of the drive."</tt><tt class="py-op">)</tt> </tt>
<a name="L3774"></a><tt class="py-lineno">3774</tt> <tt class="py-line"> <tt id="link-1059" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-1059', 'checkData', 'link-959');">checkData</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1060" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getCheckData()=CedarBackup2.config.StoreConfig-class.html#_getCheckData"><a title="CedarBackup2.config.StoreConfig._getCheckData" class="py-name" href="#" onclick="return doclink('link-1060', '_getCheckData', 'link-1060');">_getCheckData</a></tt><tt class="py-op">,</tt> <tt id="link-1061" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setCheckData()=CedarBackup2.config.StoreConfig-class.html#_setCheckData"><a title="CedarBackup2.config.StoreConfig._setCheckData" class="py-name" href="#" onclick="return doclink('link-1061', '_setCheckData', 'link-1061');">_setCheckData</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Whether resulting image should be validated."</tt><tt class="py-op">)</tt> </tt>
<a name="L3775"></a><tt class="py-lineno">3775</tt> <tt class="py-line"> <tt id="link-1062" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-1062', 'checkMedia', 'link-961');">checkMedia</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1063" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getCheckMedia()=CedarBackup2.config.StoreConfig-class.html#_getCheckMedia"><a title="CedarBackup2.config.StoreConfig._getCheckMedia" class="py-name" href="#" onclick="return doclink('link-1063', '_getCheckMedia', 'link-1063');">_getCheckMedia</a></tt><tt class="py-op">,</tt> <tt id="link-1064" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setCheckMedia()=CedarBackup2.config.StoreConfig-class.html#_setCheckMedia"><a title="CedarBackup2.config.StoreConfig._setCheckMedia" class="py-name" href="#" onclick="return doclink('link-1064', '_setCheckMedia', 'link-1064');">_setCheckMedia</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Whether media should be checked before being written to."</tt><tt class="py-op">)</tt> </tt>
<a name="L3776"></a><tt class="py-lineno">3776</tt> <tt class="py-line"> <tt id="link-1065" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-1065', 'warnMidnite', 'link-963');">warnMidnite</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1066" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getWarnMidnite()=CedarBackup2.config.StoreConfig-class.html#_getWarnMidnite"><a title="CedarBackup2.config.StoreConfig._getWarnMidnite" class="py-name" href="#" onclick="return doclink('link-1066', '_getWarnMidnite', 'link-1066');">_getWarnMidnite</a></tt><tt class="py-op">,</tt> <tt id="link-1067" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setWarnMidnite()=CedarBackup2.config.StoreConfig-class.html#_setWarnMidnite"><a title="CedarBackup2.config.StoreConfig._setWarnMidnite" class="py-name" href="#" onclick="return doclink('link-1067', '_setWarnMidnite', 'link-1067');">_setWarnMidnite</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Whether to generate warnings for crossing midnite."</tt><tt class="py-op">)</tt> </tt>
<a name="L3777"></a><tt class="py-lineno">3777</tt> <tt class="py-line"> <tt id="link-1068" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-1068', 'noEject', 'link-965');">noEject</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1069" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getNoEject()=CedarBackup2.config.StoreConfig-class.html#_getNoEject"><a title="CedarBackup2.config.StoreConfig._getNoEject" class="py-name" href="#" onclick="return doclink('link-1069', '_getNoEject', 'link-1069');">_getNoEject</a></tt><tt class="py-op">,</tt> <tt id="link-1070" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setNoEject()=CedarBackup2.config.StoreConfig-class.html#_setNoEject"><a title="CedarBackup2.config.StoreConfig._setNoEject" class="py-name" href="#" onclick="return doclink('link-1070', '_setNoEject', 'link-1070');">_setNoEject</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Indicates that the writer device should not be ejected."</tt><tt class="py-op">)</tt> </tt>
<a name="L3778"></a><tt class="py-lineno">3778</tt> <tt class="py-line"> <tt id="link-1071" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1071', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1072" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getBlankBehavior()=CedarBackup2.config.StoreConfig-class.html#_getBlankBehavior"><a title="CedarBackup2.config.StoreConfig._getBlankBehavior" class="py-name" href="#" onclick="return doclink('link-1072', '_getBlankBehavior', 'link-1072');">_getBlankBehavior</a></tt><tt class="py-op">,</tt> <tt id="link-1073" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setBlankBehavior()=CedarBackup2.config.StoreConfig-class.html#_setBlankBehavior"><a title="CedarBackup2.config.StoreConfig._setBlankBehavior" class="py-name" href="#" onclick="return doclink('link-1073', '_setBlankBehavior', 'link-1073');">_setBlankBehavior</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Controls optimized blanking behavior."</tt><tt class="py-op">)</tt> </tt>
<a name="L3779"></a><tt class="py-lineno">3779</tt> <tt class="py-line"> <tt id="link-1074" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1074', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1075" class="py-name" targets="Method CedarBackup2.config.StoreConfig._getRefreshMediaDelay()=CedarBackup2.config.StoreConfig-class.html#_getRefreshMediaDelay,Method CedarBackup2.writers.cdwriter.CdWriter._getRefreshMediaDelay()=CedarBackup2.writers.cdwriter.CdWriter-class.html#_getRefreshMediaDelay,Method CedarBackup2.writers.dvdwriter.DvdWriter._getRefreshMediaDelay()=CedarBackup2.writers.dvdwriter.DvdWriter-class.html#_getRefreshMediaDelay"><a title="CedarBackup2.config.StoreConfig._getRefreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter._getRefreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter._getRefreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1075', '_getRefreshMediaDelay', 'link-1075');">_getRefreshMediaDelay</a></tt><tt class="py-op">,</tt> <tt id="link-1076" class="py-name" targets="Method CedarBackup2.config.StoreConfig._setRefreshMediaDelay()=CedarBackup2.config.StoreConfig-class.html#_setRefreshMediaDelay"><a title="CedarBackup2.config.StoreConfig._setRefreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1076', '_setRefreshMediaDelay', 'link-1076');">_setRefreshMediaDelay</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Delay, in seconds, to add after refreshing media."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3780"></a><tt class="py-lineno">3780</tt> <tt class="py-line"> </tt>
<a name="PurgeConfig"></a><div id="PurgeConfig-def"><a name="L3781"></a><tt class="py-lineno">3781</tt> <tt class="py-line"> </tt>
<a name="L3782"></a><tt class="py-lineno">3782</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L3783"></a><tt class="py-lineno">3783</tt> <tt class="py-line"><tt class="py-comment"># PurgeConfig class definition</tt> </tt>
<a name="L3784"></a><tt class="py-lineno">3784</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L3785"></a><tt class="py-lineno">3785</tt> <tt class="py-line"> </tt>
<a name="L3786"></a><tt class="py-lineno">3786</tt> <a class="py-toggle" href="#" id="PurgeConfig-toggle" onclick="return toggle('PurgeConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeConfig-class.html">PurgeConfig</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeConfig-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="PurgeConfig-expanded"><a name="L3787"></a><tt class="py-lineno">3787</tt> <tt class="py-line"> </tt>
<a name="L3788"></a><tt class="py-lineno">3788</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3789"></a><tt class="py-lineno">3789</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup purge configuration.</tt> </tt>
<a name="L3790"></a><tt class="py-lineno">3790</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3791"></a><tt class="py-lineno">3791</tt> <tt class="py-line"><tt class="py-docstring"> The following restrictions exist on data in this class:</tt> </tt>
<a name="L3792"></a><tt class="py-lineno">3792</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3793"></a><tt class="py-lineno">3793</tt> <tt class="py-line"><tt class="py-docstring"> - The purge directory list must be a list of C{PurgeDir} objects.</tt> </tt>
<a name="L3794"></a><tt class="py-lineno">3794</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3795"></a><tt class="py-lineno">3795</tt> <tt class="py-line"><tt class="py-docstring"> For the C{purgeDirs} list, validation is accomplished through the</tt> </tt>
<a name="L3796"></a><tt class="py-lineno">3796</tt> <tt class="py-line"><tt class="py-docstring"> L{util.ObjectTypeList} list implementation that overrides common list</tt> </tt>
<a name="L3797"></a><tt class="py-lineno">3797</tt> <tt class="py-line"><tt class="py-docstring"> methods and transparently ensures that each element is a C{PurgeDir}.</tt> </tt>
<a name="L3798"></a><tt class="py-lineno">3798</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3799"></a><tt class="py-lineno">3799</tt> <tt class="py-line"><tt class="py-docstring"> @note: Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L3800"></a><tt class="py-lineno">3800</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3801"></a><tt class="py-lineno">3801</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, purgeDirs</tt> </tt>
<a name="L3802"></a><tt class="py-lineno">3802</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3803"></a><tt class="py-lineno">3803</tt> <tt class="py-line"> </tt>
<a name="PurgeConfig.__init__"></a><div id="PurgeConfig.__init__-def"><a name="L3804"></a><tt class="py-lineno">3804</tt> <a class="py-toggle" href="#" id="PurgeConfig.__init__-toggle" onclick="return toggle('PurgeConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">purgeDirs</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeConfig.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeConfig.__init__-expanded"><a name="L3805"></a><tt class="py-lineno">3805</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3806"></a><tt class="py-lineno">3806</tt> <tt class="py-line"><tt class="py-docstring"> Constructor for the C{Purge} class.</tt> </tt>
<a name="L3807"></a><tt class="py-lineno">3807</tt> <tt class="py-line"><tt class="py-docstring"> @param purgeDirs: List of purge directories.</tt> </tt>
<a name="L3808"></a><tt class="py-lineno">3808</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the values is invalid.</tt> </tt>
<a name="L3809"></a><tt class="py-lineno">3809</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3810"></a><tt class="py-lineno">3810</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purgeDirs</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3811"></a><tt class="py-lineno">3811</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1077" class="py-name" targets="Variable CedarBackup2.config.PurgeConfig.purgeDirs=CedarBackup2.config.PurgeConfig-class.html#purgeDirs"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1077', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> <tt class="py-op">=</tt> <tt id="link-1078" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1078', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> </tt>
</div><a name="L3812"></a><tt class="py-lineno">3812</tt> <tt class="py-line"> </tt>
<a name="PurgeConfig.__repr__"></a><div id="PurgeConfig.__repr__-def"><a name="L3813"></a><tt class="py-lineno">3813</tt> <a class="py-toggle" href="#" id="PurgeConfig.__repr__-toggle" onclick="return toggle('PurgeConfig.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeConfig-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeConfig.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeConfig.__repr__-expanded"><a name="L3814"></a><tt class="py-lineno">3814</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3815"></a><tt class="py-lineno">3815</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L3816"></a><tt class="py-lineno">3816</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3817"></a><tt class="py-lineno">3817</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"PurgeConfig(%s)"</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1079" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1079', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> </tt>
</div><a name="L3818"></a><tt class="py-lineno">3818</tt> <tt class="py-line"> </tt>
<a name="PurgeConfig.__str__"></a><div id="PurgeConfig.__str__-def"><a name="L3819"></a><tt class="py-lineno">3819</tt> <a class="py-toggle" href="#" id="PurgeConfig.__str__-toggle" onclick="return toggle('PurgeConfig.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeConfig-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeConfig.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeConfig.__str__-expanded"><a name="L3820"></a><tt class="py-lineno">3820</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3821"></a><tt class="py-lineno">3821</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L3822"></a><tt class="py-lineno">3822</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3823"></a><tt class="py-lineno">3823</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1080" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-1080', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3824"></a><tt class="py-lineno">3824</tt> <tt class="py-line"> </tt>
<a name="PurgeConfig.__cmp__"></a><div id="PurgeConfig.__cmp__-def"><a name="L3825"></a><tt class="py-lineno">3825</tt> <a class="py-toggle" href="#" id="PurgeConfig.__cmp__-toggle" onclick="return toggle('PurgeConfig.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeConfig-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeConfig.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeConfig.__cmp__-expanded"><a name="L3826"></a><tt class="py-lineno">3826</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3827"></a><tt class="py-lineno">3827</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L3828"></a><tt class="py-lineno">3828</tt> <tt class="py-line"><tt class="py-docstring"> Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L3829"></a><tt class="py-lineno">3829</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L3830"></a><tt class="py-lineno">3830</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L3831"></a><tt class="py-lineno">3831</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3832"></a><tt class="py-lineno">3832</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3833"></a><tt class="py-lineno">3833</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3834"></a><tt class="py-lineno">3834</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1081" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1081', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1082" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1082', 'purgeDirs', 'link-1077');">purgeDirs</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3835"></a><tt class="py-lineno">3835</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1083" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1083', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1084" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1084', 'purgeDirs', 'link-1077');">purgeDirs</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3836"></a><tt class="py-lineno">3836</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L3837"></a><tt class="py-lineno">3837</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3838"></a><tt class="py-lineno">3838</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L3839"></a><tt class="py-lineno">3839</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L3840"></a><tt class="py-lineno">3840</tt> <tt class="py-line"> </tt>
<a name="PurgeConfig._setPurgeDirs"></a><div id="PurgeConfig._setPurgeDirs-def"><a name="L3841"></a><tt class="py-lineno">3841</tt> <a class="py-toggle" href="#" id="PurgeConfig._setPurgeDirs-toggle" onclick="return toggle('PurgeConfig._setPurgeDirs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeConfig-class.html#_setPurgeDirs">_setPurgeDirs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeConfig._setPurgeDirs-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeConfig._setPurgeDirs-expanded"><a name="L3842"></a><tt class="py-lineno">3842</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3843"></a><tt class="py-lineno">3843</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the purge dirs list.</tt> </tt>
<a name="L3844"></a><tt class="py-lineno">3844</tt> <tt class="py-line"><tt class="py-docstring"> Either the value must be C{None} or each element must be a C{PurgeDir}.</tt> </tt>
<a name="L3845"></a><tt class="py-lineno">3845</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{PurgeDir}</tt> </tt>
<a name="L3846"></a><tt class="py-lineno">3846</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3847"></a><tt class="py-lineno">3847</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3848"></a><tt class="py-lineno">3848</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purgeDirs</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3849"></a><tt class="py-lineno">3849</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L3850"></a><tt class="py-lineno">3850</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L3851"></a><tt class="py-lineno">3851</tt> <tt class="py-line"> <tt class="py-name">saved</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purgeDirs</tt> </tt>
<a name="L3852"></a><tt class="py-lineno">3852</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purgeDirs</tt> <tt class="py-op">=</tt> <tt id="link-1085" class="py-name"><a title="CedarBackup2.util.ObjectTypeList" class="py-name" href="#" onclick="return doclink('link-1085', 'ObjectTypeList', 'link-9');">ObjectTypeList</a></tt><tt class="py-op">(</tt><tt id="link-1086" class="py-name" targets="Class CedarBackup2.config.PurgeDir=CedarBackup2.config.PurgeDir-class.html"><a title="CedarBackup2.config.PurgeDir" class="py-name" href="#" onclick="return doclink('link-1086', 'PurgeDir', 'link-1086');">PurgeDir</a></tt><tt class="py-op">,</tt> <tt class="py-string">"PurgeDir"</tt><tt class="py-op">)</tt> </tt>
<a name="L3853"></a><tt class="py-lineno">3853</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purgeDirs</tt><tt class="py-op">.</tt><tt id="link-1087" class="py-name"><a title="CedarBackup2.extend
CedarBackup2.util.AbsolutePathList.extend
CedarBackup2.util.ObjectTypeList.extend
CedarBackup2.util.RegexList.extend
CedarBackup2.util.RegexMatchList.extend
CedarBackup2.util.RestrictedContentList.extend" class="py-name" href="#" onclick="return doclink('link-1087', 'extend', 'link-116');">extend</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L3854"></a><tt class="py-lineno">3854</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L3855"></a><tt class="py-lineno">3855</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purgeDirs</tt> <tt class="py-op">=</tt> <tt class="py-name">saved</tt> </tt>
<a name="L3856"></a><tt class="py-lineno">3856</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt>
</div><a name="L3857"></a><tt class="py-lineno">3857</tt> <tt class="py-line"> </tt>
<a name="PurgeConfig._getPurgeDirs"></a><div id="PurgeConfig._getPurgeDirs-def"><a name="L3858"></a><tt class="py-lineno">3858</tt> <a class="py-toggle" href="#" id="PurgeConfig._getPurgeDirs-toggle" onclick="return toggle('PurgeConfig._getPurgeDirs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.PurgeConfig-class.html#_getPurgeDirs">_getPurgeDirs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="PurgeConfig._getPurgeDirs-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="PurgeConfig._getPurgeDirs-expanded"><a name="L3859"></a><tt class="py-lineno">3859</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3860"></a><tt class="py-lineno">3860</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the purge dirs list.</tt> </tt>
<a name="L3861"></a><tt class="py-lineno">3861</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3862"></a><tt class="py-lineno">3862</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purgeDirs</tt> </tt>
</div><a name="L3863"></a><tt class="py-lineno">3863</tt> <tt class="py-line"> </tt>
<a name="L3864"></a><tt class="py-lineno">3864</tt> <tt class="py-line"> <tt id="link-1088" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1088', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1089" class="py-name" targets="Method CedarBackup2.config.PurgeConfig._getPurgeDirs()=CedarBackup2.config.PurgeConfig-class.html#_getPurgeDirs"><a title="CedarBackup2.config.PurgeConfig._getPurgeDirs" class="py-name" href="#" onclick="return doclink('link-1089', '_getPurgeDirs', 'link-1089');">_getPurgeDirs</a></tt><tt class="py-op">,</tt> <tt id="link-1090" class="py-name" targets="Method CedarBackup2.config.PurgeConfig._setPurgeDirs()=CedarBackup2.config.PurgeConfig-class.html#_setPurgeDirs"><a title="CedarBackup2.config.PurgeConfig._setPurgeDirs" class="py-name" href="#" onclick="return doclink('link-1090', '_setPurgeDirs', 'link-1090');">_setPurgeDirs</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"List of directories to purge."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3865"></a><tt class="py-lineno">3865</tt> <tt class="py-line"> </tt>
<a name="Config"></a><div id="Config-def"><a name="L3866"></a><tt class="py-lineno">3866</tt> <tt class="py-line"> </tt>
<a name="L3867"></a><tt class="py-lineno">3867</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L3868"></a><tt class="py-lineno">3868</tt> <tt class="py-line"><tt class="py-comment"># Config class definition</tt> </tt>
<a name="L3869"></a><tt class="py-lineno">3869</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L3870"></a><tt class="py-lineno">3870</tt> <tt class="py-line"> </tt>
<a name="L3871"></a><tt class="py-lineno">3871</tt> <a class="py-toggle" href="#" id="Config-toggle" onclick="return toggle('Config');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html">Config</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="Config-expanded"><a name="L3872"></a><tt class="py-lineno">3872</tt> <tt class="py-line"> </tt>
<a name="L3873"></a><tt class="py-lineno">3873</tt> <tt class="py-line"> <tt class="py-comment">######################</tt> </tt>
<a name="L3874"></a><tt class="py-lineno">3874</tt> <tt class="py-line"> <tt class="py-comment"># Class documentation</tt> </tt>
<a name="L3875"></a><tt class="py-lineno">3875</tt> <tt class="py-line"> <tt class="py-comment">######################</tt> </tt>
<a name="L3876"></a><tt class="py-lineno">3876</tt> <tt class="py-line"> </tt>
<a name="L3877"></a><tt class="py-lineno">3877</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3878"></a><tt class="py-lineno">3878</tt> <tt class="py-line"><tt class="py-docstring"> Class representing a Cedar Backup XML configuration document.</tt> </tt>
<a name="L3879"></a><tt class="py-lineno">3879</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3880"></a><tt class="py-lineno">3880</tt> <tt class="py-line"><tt class="py-docstring"> The C{Config} class is a Python object representation of a Cedar Backup XML</tt> </tt>
<a name="L3881"></a><tt class="py-lineno">3881</tt> <tt class="py-line"><tt class="py-docstring"> configuration file. It is intended to be the only Python-language interface</tt> </tt>
<a name="L3882"></a><tt class="py-lineno">3882</tt> <tt class="py-line"><tt class="py-docstring"> to Cedar Backup configuration on disk for both Cedar Backup itself and for</tt> </tt>
<a name="L3883"></a><tt class="py-lineno">3883</tt> <tt class="py-line"><tt class="py-docstring"> external applications.</tt> </tt>
<a name="L3884"></a><tt class="py-lineno">3884</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3885"></a><tt class="py-lineno">3885</tt> <tt class="py-line"><tt class="py-docstring"> The object representation is two-way: XML data can be used to create a</tt> </tt>
<a name="L3886"></a><tt class="py-lineno">3886</tt> <tt class="py-line"><tt class="py-docstring"> C{Config} object, and then changes to the object can be propogated back to</tt> </tt>
<a name="L3887"></a><tt class="py-lineno">3887</tt> <tt class="py-line"><tt class="py-docstring"> disk. A C{Config} object can even be used to create a configuration file</tt> </tt>
<a name="L3888"></a><tt class="py-lineno">3888</tt> <tt class="py-line"><tt class="py-docstring"> from scratch programmatically.</tt> </tt>
<a name="L3889"></a><tt class="py-lineno">3889</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L3890"></a><tt class="py-lineno">3890</tt> <tt class="py-line"><tt class="py-docstring"> This class and the classes it is composed from often use Python's</tt> </tt>
<a name="L3891"></a><tt class="py-lineno">3891</tt> <tt class="py-line"><tt class="py-docstring"> C{property} construct to validate input and limit access to values. Some</tt> </tt>
<a name="L3892"></a><tt class="py-lineno">3892</tt> <tt class="py-line"><tt class="py-docstring"> validations can only be done once a document is considered "complete"</tt> </tt>
<a name="L3893"></a><tt class="py-lineno">3893</tt> <tt class="py-line"><tt class="py-docstring"> (see module notes for more details). </tt> </tt>
<a name="L3894"></a><tt class="py-lineno">3894</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3895"></a><tt class="py-lineno">3895</tt> <tt class="py-line"><tt class="py-docstring"> Assignments to the various instance variables must match the expected</tt> </tt>
<a name="L3896"></a><tt class="py-lineno">3896</tt> <tt class="py-line"><tt class="py-docstring"> type, i.e. C{reference} must be a C{ReferenceConfig}. The internal check</tt> </tt>
<a name="L3897"></a><tt class="py-lineno">3897</tt> <tt class="py-line"><tt class="py-docstring"> uses the built-in C{isinstance} function, so it should be OK to use</tt> </tt>
<a name="L3898"></a><tt class="py-lineno">3898</tt> <tt class="py-line"><tt class="py-docstring"> subclasses if you want to. </tt> </tt>
<a name="L3899"></a><tt class="py-lineno">3899</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3900"></a><tt class="py-lineno">3900</tt> <tt class="py-line"><tt class="py-docstring"> If an instance variable is not set, its value will be C{None}. When an</tt> </tt>
<a name="L3901"></a><tt class="py-lineno">3901</tt> <tt class="py-line"><tt class="py-docstring"> object is initialized without using an XML document, all of the values</tt> </tt>
<a name="L3902"></a><tt class="py-lineno">3902</tt> <tt class="py-line"><tt class="py-docstring"> will be C{None}. Even when an object is initialized using XML, some of</tt> </tt>
<a name="L3903"></a><tt class="py-lineno">3903</tt> <tt class="py-line"><tt class="py-docstring"> the values might be C{None} because not every section is required.</tt> </tt>
<a name="L3904"></a><tt class="py-lineno">3904</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3905"></a><tt class="py-lineno">3905</tt> <tt class="py-line"><tt class="py-docstring"> @note: Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L3906"></a><tt class="py-lineno">3906</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3907"></a><tt class="py-lineno">3907</tt> <tt class="py-line"><tt class="py-docstring"> @sort: __init__, __repr__, __str__, __cmp__, extractXml, validate, </tt> </tt>
<a name="L3908"></a><tt class="py-lineno">3908</tt> <tt class="py-line"><tt class="py-docstring"> reference, extensions, options, collect, stage, store, purge,</tt> </tt>
<a name="L3909"></a><tt class="py-lineno">3909</tt> <tt class="py-line"><tt class="py-docstring"> _getReference, _setReference, _getExtensions, _setExtensions, </tt> </tt>
<a name="L3910"></a><tt class="py-lineno">3910</tt> <tt class="py-line"><tt class="py-docstring"> _getOptions, _setOptions, _getPeers, _setPeers, _getCollect, </tt> </tt>
<a name="L3911"></a><tt class="py-lineno">3911</tt> <tt class="py-line"><tt class="py-docstring"> _setCollect, _getStage, _setStage, _getStore, _setStore, </tt> </tt>
<a name="L3912"></a><tt class="py-lineno">3912</tt> <tt class="py-line"><tt class="py-docstring"> _getPurge, _setPurge</tt> </tt>
<a name="L3913"></a><tt class="py-lineno">3913</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3914"></a><tt class="py-lineno">3914</tt> <tt class="py-line"> </tt>
<a name="L3915"></a><tt class="py-lineno">3915</tt> <tt class="py-line"> <tt class="py-comment">##############</tt> </tt>
<a name="L3916"></a><tt class="py-lineno">3916</tt> <tt class="py-line"> <tt class="py-comment"># Constructor</tt> </tt>
<a name="L3917"></a><tt class="py-lineno">3917</tt> <tt class="py-line"> <tt class="py-comment">##############</tt> </tt>
<a name="L3918"></a><tt class="py-lineno">3918</tt> <tt class="py-line"> </tt>
<a name="Config.__init__"></a><div id="Config.__init__-def"><a name="L3919"></a><tt class="py-lineno">3919</tt> <a class="py-toggle" href="#" id="Config.__init__-toggle" onclick="return toggle('Config.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">xmlData</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">xmlPath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">validate</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config.__init__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config.__init__-expanded"><a name="L3920"></a><tt class="py-lineno">3920</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3921"></a><tt class="py-lineno">3921</tt> <tt class="py-line"><tt class="py-docstring"> Initializes a configuration object.</tt> </tt>
<a name="L3922"></a><tt class="py-lineno">3922</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3923"></a><tt class="py-lineno">3923</tt> <tt class="py-line"><tt class="py-docstring"> If you initialize the object without passing either C{xmlData} or</tt> </tt>
<a name="L3924"></a><tt class="py-lineno">3924</tt> <tt class="py-line"><tt class="py-docstring"> C{xmlPath}, then configuration will be empty and will be invalid until it</tt> </tt>
<a name="L3925"></a><tt class="py-lineno">3925</tt> <tt class="py-line"><tt class="py-docstring"> is filled in properly.</tt> </tt>
<a name="L3926"></a><tt class="py-lineno">3926</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3927"></a><tt class="py-lineno">3927</tt> <tt class="py-line"><tt class="py-docstring"> No reference to the original XML data or original path is saved off by</tt> </tt>
<a name="L3928"></a><tt class="py-lineno">3928</tt> <tt class="py-line"><tt class="py-docstring"> this class. Once the data has been parsed (successfully or not) this</tt> </tt>
<a name="L3929"></a><tt class="py-lineno">3929</tt> <tt class="py-line"><tt class="py-docstring"> original information is discarded.</tt> </tt>
<a name="L3930"></a><tt class="py-lineno">3930</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3931"></a><tt class="py-lineno">3931</tt> <tt class="py-line"><tt class="py-docstring"> Unless the C{validate} argument is C{False}, the L{Config.validate}</tt> </tt>
<a name="L3932"></a><tt class="py-lineno">3932</tt> <tt class="py-line"><tt class="py-docstring"> method will be called (with its default arguments) against configuration</tt> </tt>
<a name="L3933"></a><tt class="py-lineno">3933</tt> <tt class="py-line"><tt class="py-docstring"> after successfully parsing any passed-in XML. Keep in mind that even if</tt> </tt>
<a name="L3934"></a><tt class="py-lineno">3934</tt> <tt class="py-line"><tt class="py-docstring"> C{validate} is C{False}, it might not be possible to parse the passed-in</tt> </tt>
<a name="L3935"></a><tt class="py-lineno">3935</tt> <tt class="py-line"><tt class="py-docstring"> XML document if lower-level validations fail.</tt> </tt>
<a name="L3936"></a><tt class="py-lineno">3936</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3937"></a><tt class="py-lineno">3937</tt> <tt class="py-line"><tt class="py-docstring"> @note: It is strongly suggested that the C{validate} option always be set</tt> </tt>
<a name="L3938"></a><tt class="py-lineno">3938</tt> <tt class="py-line"><tt class="py-docstring"> to C{True} (the default) unless there is a specific need to read in</tt> </tt>
<a name="L3939"></a><tt class="py-lineno">3939</tt> <tt class="py-line"><tt class="py-docstring"> invalid configuration from disk. </tt> </tt>
<a name="L3940"></a><tt class="py-lineno">3940</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3941"></a><tt class="py-lineno">3941</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlData: XML data representing configuration.</tt> </tt>
<a name="L3942"></a><tt class="py-lineno">3942</tt> <tt class="py-line"><tt class="py-docstring"> @type xmlData: String data.</tt> </tt>
<a name="L3943"></a><tt class="py-lineno">3943</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3944"></a><tt class="py-lineno">3944</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlPath: Path to an XML file on disk.</tt> </tt>
<a name="L3945"></a><tt class="py-lineno">3945</tt> <tt class="py-line"><tt class="py-docstring"> @type xmlPath: Absolute path to a file on disk.</tt> </tt>
<a name="L3946"></a><tt class="py-lineno">3946</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3947"></a><tt class="py-lineno">3947</tt> <tt class="py-line"><tt class="py-docstring"> @param validate: Validate the document after parsing it.</tt> </tt>
<a name="L3948"></a><tt class="py-lineno">3948</tt> <tt class="py-line"><tt class="py-docstring"> @type validate: Boolean true/false.</tt> </tt>
<a name="L3949"></a><tt class="py-lineno">3949</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L3950"></a><tt class="py-lineno">3950</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If both C{xmlData} and C{xmlPath} are passed-in.</tt> </tt>
<a name="L3951"></a><tt class="py-lineno">3951</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the XML data in C{xmlData} or C{xmlPath} cannot be parsed.</tt> </tt>
<a name="L3952"></a><tt class="py-lineno">3952</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the parsed configuration document is not valid.</tt> </tt>
<a name="L3953"></a><tt class="py-lineno">3953</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3954"></a><tt class="py-lineno">3954</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_reference</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3955"></a><tt class="py-lineno">3955</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_extensions</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3956"></a><tt class="py-lineno">3956</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_options</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3957"></a><tt class="py-lineno">3957</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_peers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3958"></a><tt class="py-lineno">3958</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collect</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3959"></a><tt class="py-lineno">3959</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stage</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3960"></a><tt class="py-lineno">3960</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_store</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3961"></a><tt class="py-lineno">3961</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purge</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3962"></a><tt class="py-lineno">3962</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1091" class="py-name" targets="Variable CedarBackup2.config.Config.reference=CedarBackup2.config.Config-class.html#reference"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1091', 'reference', 'link-1091');">reference</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3963"></a><tt class="py-lineno">3963</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1092" class="py-name" targets="Variable CedarBackup2.config.Config.extensions=CedarBackup2.config.Config-class.html#extensions"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1092', 'extensions', 'link-1092');">extensions</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3964"></a><tt class="py-lineno">3964</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1093" class="py-name" targets="Variable CedarBackup2.config.Config.options=CedarBackup2.config.Config-class.html#options"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1093', 'options', 'link-1093');">options</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3965"></a><tt class="py-lineno">3965</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1094" class="py-name" targets="Variable CedarBackup2.config.Config.peers=CedarBackup2.config.Config-class.html#peers"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1094', 'peers', 'link-1094');">peers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3966"></a><tt class="py-lineno">3966</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1095" class="py-name" targets="Module CedarBackup2.actions.collect=CedarBackup2.actions.collect-module.html,Variable CedarBackup2.config.Config.collect=CedarBackup2.config.Config-class.html#collect"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1095', 'collect', 'link-1095');">collect</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3967"></a><tt class="py-lineno">3967</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1096" class="py-name" targets="Module CedarBackup2.actions.stage=CedarBackup2.actions.stage-module.html,Variable CedarBackup2.config.Config.stage=CedarBackup2.config.Config-class.html#stage"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1096', 'stage', 'link-1096');">stage</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3968"></a><tt class="py-lineno">3968</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1097" class="py-name" targets="Module CedarBackup2.actions.store=CedarBackup2.actions.store-module.html,Variable CedarBackup2.config.Config.store=CedarBackup2.config.Config-class.html#store"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1097', 'store', 'link-1097');">store</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3969"></a><tt class="py-lineno">3969</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1098" class="py-name" targets="Module CedarBackup2.actions.purge=CedarBackup2.actions.purge-module.html,Variable CedarBackup2.config.Config.purge=CedarBackup2.config.Config-class.html#purge"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1098', 'purge', 'link-1098');">purge</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L3970"></a><tt class="py-lineno">3970</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">xmlData</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">xmlPath</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3971"></a><tt class="py-lineno">3971</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Use either xmlData or xmlPath, but not both."</tt><tt class="py-op">)</tt> </tt>
<a name="L3972"></a><tt class="py-lineno">3972</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">xmlData</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3973"></a><tt class="py-lineno">3973</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1099" class="py-name" targets="Method CedarBackup2.config.Config._parseXmlData()=CedarBackup2.config.Config-class.html#_parseXmlData,Method CedarBackup2.extend.capacity.LocalConfig._parseXmlData()=CedarBackup2.extend.capacity.LocalConfig-class.html#_parseXmlData,Method CedarBackup2.extend.encrypt.LocalConfig._parseXmlData()=CedarBackup2.extend.encrypt.LocalConfig-class.html#_parseXmlData,Method CedarBackup2.extend.mbox.LocalConfig._parseXmlData()=CedarBackup2.extend.mbox.LocalConfig-class.html#_parseXmlData,Method CedarBackup2.extend.mysql.LocalConfig._parseXmlData()=CedarBackup2.extend.mysql.LocalConfig-class.html#_parseXmlData,Method CedarBackup2.extend.postgresql.LocalConfig._parseXmlData()=CedarBackup2.extend.postgresql.LocalConfig-class.html#_parseXmlData,Method CedarBackup2.extend.split.LocalConfig._parseXmlData()=CedarBackup2.extend.split.LocalConfig-class.html#_parseXmlData,Method CedarBackup2.extend.subversion.LocalConfig._parseXmlData()=CedarBackup2.extend.subversion.LocalConfig-class.html#_parseXmlData"><a title="CedarBackup2.config.Config._parseXmlData
CedarBackup2.extend.capacity.LocalConfig._parseXmlData
CedarBackup2.extend.encrypt.LocalConfig._parseXmlData
CedarBackup2.extend.mbox.LocalConfig._parseXmlData
CedarBackup2.extend.mysql.LocalConfig._parseXmlData
CedarBackup2.extend.postgresql.LocalConfig._parseXmlData
CedarBackup2.extend.split.LocalConfig._parseXmlData
CedarBackup2.extend.subversion.LocalConfig._parseXmlData" class="py-name" href="#" onclick="return doclink('link-1099', '_parseXmlData', 'link-1099');">_parseXmlData</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlData</tt><tt class="py-op">)</tt> </tt>
<a name="L3974"></a><tt class="py-lineno">3974</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1100" class="py-name" targets="Module CedarBackup2.actions.validate=CedarBackup2.actions.validate-module.html,Method CedarBackup2.cli.Options.validate()=CedarBackup2.cli.Options-class.html#validate,Method CedarBackup2.config.Config.validate()=CedarBackup2.config.Config-class.html#validate,Method CedarBackup2.extend.capacity.LocalConfig.validate()=CedarBackup2.extend.capacity.LocalConfig-class.html#validate,Method CedarBackup2.extend.encrypt.LocalConfig.validate()=CedarBackup2.extend.encrypt.LocalConfig-class.html#validate,Method CedarBackup2.extend.mbox.LocalConfig.validate()=CedarBackup2.extend.mbox.LocalConfig-class.html#validate,Method CedarBackup2.extend.mysql.LocalConfig.validate()=CedarBackup2.extend.mysql.LocalConfig-class.html#validate,Method CedarBackup2.extend.postgresql.LocalConfig.validate()=CedarBackup2.extend.postgresql.LocalConfig-class.html#validate,Method CedarBackup2.extend.split.LocalConfig.validate()=CedarBackup2.extend.split.LocalConfig-class.html#validate,Method CedarBackup2.extend.subversion.LocalConfig.validate()=CedarBackup2.extend.subversion.LocalConfig-class.html#validate,Method CedarBackup2.tools.span.SpanOptions.validate()=CedarBackup2.tools.span.SpanOptions-class.html#validate"><a title="CedarBackup2.actions.validate
CedarBackup2.cli.Options.validate
CedarBackup2.config.Config.validate
CedarBackup2.extend.capacity.LocalConfig.validate
CedarBackup2.extend.encrypt.LocalConfig.validate
CedarBackup2.extend.mbox.LocalConfig.validate
CedarBackup2.extend.mysql.LocalConfig.validate
CedarBackup2.extend.postgresql.LocalConfig.validate
CedarBackup2.extend.split.LocalConfig.validate
CedarBackup2.extend.subversion.LocalConfig.validate
CedarBackup2.tools.span.SpanOptions.validate" class="py-name" href="#" onclick="return doclink('link-1100', 'validate', 'link-1100');">validate</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3975"></a><tt class="py-lineno">3975</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1101" class="py-name"><a title="CedarBackup2.actions.validate
CedarBackup2.cli.Options.validate
CedarBackup2.config.Config.validate
CedarBackup2.extend.capacity.LocalConfig.validate
CedarBackup2.extend.encrypt.LocalConfig.validate
CedarBackup2.extend.mbox.LocalConfig.validate
CedarBackup2.extend.mysql.LocalConfig.validate
CedarBackup2.extend.postgresql.LocalConfig.validate
CedarBackup2.extend.split.LocalConfig.validate
CedarBackup2.extend.subversion.LocalConfig.validate
CedarBackup2.tools.span.SpanOptions.validate" class="py-name" href="#" onclick="return doclink('link-1101', 'validate', 'link-1100');">validate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L3976"></a><tt class="py-lineno">3976</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">xmlPath</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L3977"></a><tt class="py-lineno">3977</tt> <tt class="py-line"> <tt class="py-name">xmlData</tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">xmlPath</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L3978"></a><tt class="py-lineno">3978</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1102" class="py-name"><a title="CedarBackup2.config.Config._parseXmlData
CedarBackup2.extend.capacity.LocalConfig._parseXmlData
CedarBackup2.extend.encrypt.LocalConfig._parseXmlData
CedarBackup2.extend.mbox.LocalConfig._parseXmlData
CedarBackup2.extend.mysql.LocalConfig._parseXmlData
CedarBackup2.extend.postgresql.LocalConfig._parseXmlData
CedarBackup2.extend.split.LocalConfig._parseXmlData
CedarBackup2.extend.subversion.LocalConfig._parseXmlData" class="py-name" href="#" onclick="return doclink('link-1102', '_parseXmlData', 'link-1099');">_parseXmlData</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlData</tt><tt class="py-op">)</tt> </tt>
<a name="L3979"></a><tt class="py-lineno">3979</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1103" class="py-name"><a title="CedarBackup2.actions.validate
CedarBackup2.cli.Options.validate
CedarBackup2.config.Config.validate
CedarBackup2.extend.capacity.LocalConfig.validate
CedarBackup2.extend.encrypt.LocalConfig.validate
CedarBackup2.extend.mbox.LocalConfig.validate
CedarBackup2.extend.mysql.LocalConfig.validate
CedarBackup2.extend.postgresql.LocalConfig.validate
CedarBackup2.extend.split.LocalConfig.validate
CedarBackup2.extend.subversion.LocalConfig.validate
CedarBackup2.tools.span.SpanOptions.validate" class="py-name" href="#" onclick="return doclink('link-1103', 'validate', 'link-1100');">validate</a></tt><tt class="py-op">:</tt> </tt>
<a name="L3980"></a><tt class="py-lineno">3980</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1104" class="py-name"><a title="CedarBackup2.actions.validate
CedarBackup2.cli.Options.validate
CedarBackup2.config.Config.validate
CedarBackup2.extend.capacity.LocalConfig.validate
CedarBackup2.extend.encrypt.LocalConfig.validate
CedarBackup2.extend.mbox.LocalConfig.validate
CedarBackup2.extend.mysql.LocalConfig.validate
CedarBackup2.extend.postgresql.LocalConfig.validate
CedarBackup2.extend.split.LocalConfig.validate
CedarBackup2.extend.subversion.LocalConfig.validate
CedarBackup2.tools.span.SpanOptions.validate" class="py-name" href="#" onclick="return doclink('link-1104', 'validate', 'link-1100');">validate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L3981"></a><tt class="py-lineno">3981</tt> <tt class="py-line"> </tt>
<a name="L3982"></a><tt class="py-lineno">3982</tt> <tt class="py-line"> </tt>
<a name="L3983"></a><tt class="py-lineno">3983</tt> <tt class="py-line"> <tt class="py-comment">#########################</tt> </tt>
<a name="L3984"></a><tt class="py-lineno">3984</tt> <tt class="py-line"> <tt class="py-comment"># String representations</tt> </tt>
<a name="L3985"></a><tt class="py-lineno">3985</tt> <tt class="py-line"> <tt class="py-comment">#########################</tt> </tt>
<a name="L3986"></a><tt class="py-lineno">3986</tt> <tt class="py-line"> </tt>
<a name="Config.__repr__"></a><div id="Config.__repr__-def"><a name="L3987"></a><tt class="py-lineno">3987</tt> <a class="py-toggle" href="#" id="Config.__repr__-toggle" onclick="return toggle('Config.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config.__repr__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config.__repr__-expanded"><a name="L3988"></a><tt class="py-lineno">3988</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3989"></a><tt class="py-lineno">3989</tt> <tt class="py-line"><tt class="py-docstring"> Official string representation for class instance.</tt> </tt>
<a name="L3990"></a><tt class="py-lineno">3990</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3991"></a><tt class="py-lineno">3991</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"Config(%s, %s, %s, %s, %s, %s, %s, %s)"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1105" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1105', 'reference', 'link-1091');">reference</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1106" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1106', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1107" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1107', 'options', 'link-1093');">options</a></tt><tt class="py-op">,</tt> </tt>
<a name="L3992"></a><tt class="py-lineno">3992</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1108" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1108', 'peers', 'link-1094');">peers</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1109" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1109', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1110" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1110', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1111" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1111', 'store', 'link-1097');">store</a></tt><tt class="py-op">,</tt> </tt>
<a name="L3993"></a><tt class="py-lineno">3993</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1112" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1112', 'purge', 'link-1098');">purge</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L3994"></a><tt class="py-lineno">3994</tt> <tt class="py-line"> </tt>
<a name="Config.__str__"></a><div id="Config.__str__-def"><a name="L3995"></a><tt class="py-lineno">3995</tt> <a class="py-toggle" href="#" id="Config.__str__-toggle" onclick="return toggle('Config.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config.__str__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config.__str__-expanded"><a name="L3996"></a><tt class="py-lineno">3996</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L3997"></a><tt class="py-lineno">3997</tt> <tt class="py-line"><tt class="py-docstring"> Informal string representation for class instance.</tt> </tt>
<a name="L3998"></a><tt class="py-lineno">3998</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L3999"></a><tt class="py-lineno">3999</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1113" class="py-name"><a title="CedarBackup2.cli.Options.__repr__
CedarBackup2.config.ActionDependencies.__repr__
CedarBackup2.config.ActionHook.__repr__
CedarBackup2.config.BlankBehavior.__repr__
CedarBackup2.config.ByteQuantity.__repr__
CedarBackup2.config.CollectConfig.__repr__
CedarBackup2.config.CollectDir.__repr__
CedarBackup2.config.CollectFile.__repr__
CedarBackup2.config.CommandOverride.__repr__
CedarBackup2.config.Config.__repr__
CedarBackup2.config.ExtendedAction.__repr__
CedarBackup2.config.ExtensionsConfig.__repr__
CedarBackup2.config.LocalPeer.__repr__
CedarBackup2.config.OptionsConfig.__repr__
CedarBackup2.config.PeersConfig.__repr__
CedarBackup2.config.PostActionHook.__repr__
CedarBackup2.config.PreActionHook.__repr__
CedarBackup2.config.PurgeConfig.__repr__
CedarBackup2.config.PurgeDir.__repr__
CedarBackup2.config.ReferenceConfig.__repr__
CedarBackup2.config.RemotePeer.__repr__
CedarBackup2.config.StageConfig.__repr__
CedarBackup2.config.StoreConfig.__repr__
CedarBackup2.extend.capacity.CapacityConfig.__repr__
CedarBackup2.extend.capacity.LocalConfig.__repr__
CedarBackup2.extend.capacity.PercentageQuantity.__repr__
CedarBackup2.extend.encrypt.EncryptConfig.__repr__
CedarBackup2.extend.encrypt.LocalConfig.__repr__
CedarBackup2.extend.mbox.LocalConfig.__repr__
CedarBackup2.extend.mbox.MboxConfig.__repr__
CedarBackup2.extend.mbox.MboxDir.__repr__
CedarBackup2.extend.mbox.MboxFile.__repr__
CedarBackup2.extend.mysql.LocalConfig.__repr__
CedarBackup2.extend.mysql.MysqlConfig.__repr__
CedarBackup2.extend.postgresql.LocalConfig.__repr__
CedarBackup2.extend.postgresql.PostgresqlConfig.__repr__
CedarBackup2.extend.split.LocalConfig.__repr__
CedarBackup2.extend.split.SplitConfig.__repr__
CedarBackup2.extend.subversion.BDBRepository.__repr__
CedarBackup2.extend.subversion.FSFSRepository.__repr__
CedarBackup2.extend.subversion.LocalConfig.__repr__
CedarBackup2.extend.subversion.Repository.__repr__
CedarBackup2.extend.subversion.RepositoryDir.__repr__
CedarBackup2.extend.subversion.SubversionConfig.__repr__
CedarBackup2.util.Diagnostics.__repr__
CedarBackup2.util.DirectedGraph.__repr__" class="py-name" href="#" onclick="return doclink('link-1113', '__repr__', 'link-74');">__repr__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L4000"></a><tt class="py-lineno">4000</tt> <tt class="py-line"> </tt>
<a name="L4001"></a><tt class="py-lineno">4001</tt> <tt class="py-line"> </tt>
<a name="L4002"></a><tt class="py-lineno">4002</tt> <tt class="py-line"> <tt class="py-comment">#############################</tt> </tt>
<a name="L4003"></a><tt class="py-lineno">4003</tt> <tt class="py-line"> <tt class="py-comment"># Standard comparison method</tt> </tt>
<a name="L4004"></a><tt class="py-lineno">4004</tt> <tt class="py-line"> <tt class="py-comment">#############################</tt> </tt>
<a name="L4005"></a><tt class="py-lineno">4005</tt> <tt class="py-line"> </tt>
<a name="Config.__cmp__"></a><div id="Config.__cmp__-def"><a name="L4006"></a><tt class="py-lineno">4006</tt> <a class="py-toggle" href="#" id="Config.__cmp__-toggle" onclick="return toggle('Config.__cmp__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#__cmp__">__cmp__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config.__cmp__-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config.__cmp__-expanded"><a name="L4007"></a><tt class="py-lineno">4007</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4008"></a><tt class="py-lineno">4008</tt> <tt class="py-line"><tt class="py-docstring"> Definition of equals operator for this class.</tt> </tt>
<a name="L4009"></a><tt class="py-lineno">4009</tt> <tt class="py-line"><tt class="py-docstring"> Lists within this class are "unordered" for equality comparisons.</tt> </tt>
<a name="L4010"></a><tt class="py-lineno">4010</tt> <tt class="py-line"><tt class="py-docstring"> @param other: Other object to compare to.</tt> </tt>
<a name="L4011"></a><tt class="py-lineno">4011</tt> <tt class="py-line"><tt class="py-docstring"> @return: -1/0/1 depending on whether self is C{<}, C{=} or C{>} other.</tt> </tt>
<a name="L4012"></a><tt class="py-lineno">4012</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4013"></a><tt class="py-lineno">4013</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">other</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4014"></a><tt class="py-lineno">4014</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4015"></a><tt class="py-lineno">4015</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1114" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1114', 'reference', 'link-1091');">reference</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1115" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1115', 'reference', 'link-1091');">reference</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4016"></a><tt class="py-lineno">4016</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1116" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1116', 'reference', 'link-1091');">reference</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1117" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1117', 'reference', 'link-1091');">reference</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4017"></a><tt class="py-lineno">4017</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L4018"></a><tt class="py-lineno">4018</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4019"></a><tt class="py-lineno">4019</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4020"></a><tt class="py-lineno">4020</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1118" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1118', 'extensions', 'link-1092');">extensions</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1119" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1119', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4021"></a><tt class="py-lineno">4021</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1120" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1120', 'extensions', 'link-1092');">extensions</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1121" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1121', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4022"></a><tt class="py-lineno">4022</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L4023"></a><tt class="py-lineno">4023</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4024"></a><tt class="py-lineno">4024</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4025"></a><tt class="py-lineno">4025</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1122" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1122', 'options', 'link-1093');">options</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1123" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1123', 'options', 'link-1093');">options</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4026"></a><tt class="py-lineno">4026</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1124" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1124', 'options', 'link-1093');">options</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1125" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1125', 'options', 'link-1093');">options</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4027"></a><tt class="py-lineno">4027</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L4028"></a><tt class="py-lineno">4028</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4029"></a><tt class="py-lineno">4029</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4030"></a><tt class="py-lineno">4030</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1126" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1126', 'peers', 'link-1094');">peers</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1127" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1127', 'peers', 'link-1094');">peers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4031"></a><tt class="py-lineno">4031</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1128" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1128', 'peers', 'link-1094');">peers</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1129" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1129', 'peers', 'link-1094');">peers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4032"></a><tt class="py-lineno">4032</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L4033"></a><tt class="py-lineno">4033</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4034"></a><tt class="py-lineno">4034</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4035"></a><tt class="py-lineno">4035</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1130" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1130', 'collect', 'link-1095');">collect</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1131" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1131', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4036"></a><tt class="py-lineno">4036</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1132" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1132', 'collect', 'link-1095');">collect</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1133" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1133', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4037"></a><tt class="py-lineno">4037</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L4038"></a><tt class="py-lineno">4038</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4039"></a><tt class="py-lineno">4039</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4040"></a><tt class="py-lineno">4040</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1134" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1134', 'stage', 'link-1096');">stage</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1135" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1135', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4041"></a><tt class="py-lineno">4041</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1136" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1136', 'stage', 'link-1096');">stage</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1137" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1137', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4042"></a><tt class="py-lineno">4042</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L4043"></a><tt class="py-lineno">4043</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4044"></a><tt class="py-lineno">4044</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4045"></a><tt class="py-lineno">4045</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1138" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1138', 'store', 'link-1097');">store</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1139" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1139', 'store', 'link-1097');">store</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4046"></a><tt class="py-lineno">4046</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1140" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1140', 'store', 'link-1097');">store</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1141" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1141', 'store', 'link-1097');">store</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4047"></a><tt class="py-lineno">4047</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L4048"></a><tt class="py-lineno">4048</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4049"></a><tt class="py-lineno">4049</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4050"></a><tt class="py-lineno">4050</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1142" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1142', 'purge', 'link-1098');">purge</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1143" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1143', 'purge', 'link-1098');">purge</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4051"></a><tt class="py-lineno">4051</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1144" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1144', 'purge', 'link-1098');">purge</a></tt> <tt class="py-op"><</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-1145" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1145', 'purge', 'link-1098');">purge</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4052"></a><tt class="py-lineno">4052</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L4053"></a><tt class="py-lineno">4053</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4054"></a><tt class="py-lineno">4054</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
<a name="L4055"></a><tt class="py-lineno">4055</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L4056"></a><tt class="py-lineno">4056</tt> <tt class="py-line"> </tt>
<a name="L4057"></a><tt class="py-lineno">4057</tt> <tt class="py-line"> </tt>
<a name="L4058"></a><tt class="py-lineno">4058</tt> <tt class="py-line"> <tt class="py-comment">#############</tt> </tt>
<a name="L4059"></a><tt class="py-lineno">4059</tt> <tt class="py-line"> <tt class="py-comment"># Properties</tt> </tt>
<a name="L4060"></a><tt class="py-lineno">4060</tt> <tt class="py-line"> <tt class="py-comment">#############</tt> </tt>
<a name="L4061"></a><tt class="py-lineno">4061</tt> <tt class="py-line"> </tt>
<a name="Config._setReference"></a><div id="Config._setReference-def"><a name="L4062"></a><tt class="py-lineno">4062</tt> <a class="py-toggle" href="#" id="Config._setReference-toggle" onclick="return toggle('Config._setReference');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_setReference">_setReference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._setReference-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._setReference-expanded"><a name="L4063"></a><tt class="py-lineno">4063</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4064"></a><tt class="py-lineno">4064</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the reference configuration value.</tt> </tt>
<a name="L4065"></a><tt class="py-lineno">4065</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be a C{ReferenceConfig} object.</tt> </tt>
<a name="L4066"></a><tt class="py-lineno">4066</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{ReferenceConfig}</tt> </tt>
<a name="L4067"></a><tt class="py-lineno">4067</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4068"></a><tt class="py-lineno">4068</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4069"></a><tt class="py-lineno">4069</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_reference</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4070"></a><tt class="py-lineno">4070</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4071"></a><tt class="py-lineno">4071</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1146" class="py-name" targets="Class CedarBackup2.config.ReferenceConfig=CedarBackup2.config.ReferenceConfig-class.html"><a title="CedarBackup2.config.ReferenceConfig" class="py-name" href="#" onclick="return doclink('link-1146', 'ReferenceConfig', 'link-1146');">ReferenceConfig</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4072"></a><tt class="py-lineno">4072</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{ReferenceConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4073"></a><tt class="py-lineno">4073</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_reference</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L4074"></a><tt class="py-lineno">4074</tt> <tt class="py-line"> </tt>
<a name="Config._getReference"></a><div id="Config._getReference-def"><a name="L4075"></a><tt class="py-lineno">4075</tt> <a class="py-toggle" href="#" id="Config._getReference-toggle" onclick="return toggle('Config._getReference');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_getReference">_getReference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._getReference-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._getReference-expanded"><a name="L4076"></a><tt class="py-lineno">4076</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4077"></a><tt class="py-lineno">4077</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the reference configuration value.</tt> </tt>
<a name="L4078"></a><tt class="py-lineno">4078</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4079"></a><tt class="py-lineno">4079</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_reference</tt> </tt>
</div><a name="L4080"></a><tt class="py-lineno">4080</tt> <tt class="py-line"> </tt>
<a name="Config._setExtensions"></a><div id="Config._setExtensions-def"><a name="L4081"></a><tt class="py-lineno">4081</tt> <a class="py-toggle" href="#" id="Config._setExtensions-toggle" onclick="return toggle('Config._setExtensions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_setExtensions">_setExtensions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._setExtensions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._setExtensions-expanded"><a name="L4082"></a><tt class="py-lineno">4082</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4083"></a><tt class="py-lineno">4083</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the extensions configuration value.</tt> </tt>
<a name="L4084"></a><tt class="py-lineno">4084</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be a C{ExtensionsConfig} object.</tt> </tt>
<a name="L4085"></a><tt class="py-lineno">4085</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{ExtensionsConfig}</tt> </tt>
<a name="L4086"></a><tt class="py-lineno">4086</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4087"></a><tt class="py-lineno">4087</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4088"></a><tt class="py-lineno">4088</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_extensions</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4089"></a><tt class="py-lineno">4089</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4090"></a><tt class="py-lineno">4090</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1147" class="py-name" targets="Class CedarBackup2.config.ExtensionsConfig=CedarBackup2.config.ExtensionsConfig-class.html"><a title="CedarBackup2.config.ExtensionsConfig" class="py-name" href="#" onclick="return doclink('link-1147', 'ExtensionsConfig', 'link-1147');">ExtensionsConfig</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4091"></a><tt class="py-lineno">4091</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{ExtensionsConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4092"></a><tt class="py-lineno">4092</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_extensions</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L4093"></a><tt class="py-lineno">4093</tt> <tt class="py-line"> </tt>
<a name="Config._getExtensions"></a><div id="Config._getExtensions-def"><a name="L4094"></a><tt class="py-lineno">4094</tt> <a class="py-toggle" href="#" id="Config._getExtensions-toggle" onclick="return toggle('Config._getExtensions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_getExtensions">_getExtensions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._getExtensions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._getExtensions-expanded"><a name="L4095"></a><tt class="py-lineno">4095</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4096"></a><tt class="py-lineno">4096</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the extensions configuration value.</tt> </tt>
<a name="L4097"></a><tt class="py-lineno">4097</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4098"></a><tt class="py-lineno">4098</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_extensions</tt> </tt>
</div><a name="L4099"></a><tt class="py-lineno">4099</tt> <tt class="py-line"> </tt>
<a name="Config._setOptions"></a><div id="Config._setOptions-def"><a name="L4100"></a><tt class="py-lineno">4100</tt> <a class="py-toggle" href="#" id="Config._setOptions-toggle" onclick="return toggle('Config._setOptions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_setOptions">_setOptions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._setOptions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._setOptions-expanded"><a name="L4101"></a><tt class="py-lineno">4101</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4102"></a><tt class="py-lineno">4102</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the options configuration value.</tt> </tt>
<a name="L4103"></a><tt class="py-lineno">4103</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be an C{OptionsConfig} object.</tt> </tt>
<a name="L4104"></a><tt class="py-lineno">4104</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{OptionsConfig}</tt> </tt>
<a name="L4105"></a><tt class="py-lineno">4105</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4106"></a><tt class="py-lineno">4106</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4107"></a><tt class="py-lineno">4107</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_options</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4108"></a><tt class="py-lineno">4108</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4109"></a><tt class="py-lineno">4109</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1148" class="py-name" targets="Class CedarBackup2.config.OptionsConfig=CedarBackup2.config.OptionsConfig-class.html"><a title="CedarBackup2.config.OptionsConfig" class="py-name" href="#" onclick="return doclink('link-1148', 'OptionsConfig', 'link-1148');">OptionsConfig</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4110"></a><tt class="py-lineno">4110</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{OptionsConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4111"></a><tt class="py-lineno">4111</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_options</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L4112"></a><tt class="py-lineno">4112</tt> <tt class="py-line"> </tt>
<a name="Config._getOptions"></a><div id="Config._getOptions-def"><a name="L4113"></a><tt class="py-lineno">4113</tt> <a class="py-toggle" href="#" id="Config._getOptions-toggle" onclick="return toggle('Config._getOptions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_getOptions">_getOptions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._getOptions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._getOptions-expanded"><a name="L4114"></a><tt class="py-lineno">4114</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4115"></a><tt class="py-lineno">4115</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the options configuration value.</tt> </tt>
<a name="L4116"></a><tt class="py-lineno">4116</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4117"></a><tt class="py-lineno">4117</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_options</tt> </tt>
</div><a name="L4118"></a><tt class="py-lineno">4118</tt> <tt class="py-line"> </tt>
<a name="Config._setPeers"></a><div id="Config._setPeers-def"><a name="L4119"></a><tt class="py-lineno">4119</tt> <a class="py-toggle" href="#" id="Config._setPeers-toggle" onclick="return toggle('Config._setPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_setPeers">_setPeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._setPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._setPeers-expanded"><a name="L4120"></a><tt class="py-lineno">4120</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4121"></a><tt class="py-lineno">4121</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the peers configuration value.</tt> </tt>
<a name="L4122"></a><tt class="py-lineno">4122</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be an C{PeersConfig} object.</tt> </tt>
<a name="L4123"></a><tt class="py-lineno">4123</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{PeersConfig}</tt> </tt>
<a name="L4124"></a><tt class="py-lineno">4124</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4125"></a><tt class="py-lineno">4125</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4126"></a><tt class="py-lineno">4126</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_peers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4127"></a><tt class="py-lineno">4127</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4128"></a><tt class="py-lineno">4128</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1149" class="py-name" targets="Class CedarBackup2.config.PeersConfig=CedarBackup2.config.PeersConfig-class.html"><a title="CedarBackup2.config.PeersConfig" class="py-name" href="#" onclick="return doclink('link-1149', 'PeersConfig', 'link-1149');">PeersConfig</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4129"></a><tt class="py-lineno">4129</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{PeersConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4130"></a><tt class="py-lineno">4130</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_peers</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L4131"></a><tt class="py-lineno">4131</tt> <tt class="py-line"> </tt>
<a name="Config._getPeers"></a><div id="Config._getPeers-def"><a name="L4132"></a><tt class="py-lineno">4132</tt> <a class="py-toggle" href="#" id="Config._getPeers-toggle" onclick="return toggle('Config._getPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_getPeers">_getPeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._getPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._getPeers-expanded"><a name="L4133"></a><tt class="py-lineno">4133</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4134"></a><tt class="py-lineno">4134</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the peers configuration value.</tt> </tt>
<a name="L4135"></a><tt class="py-lineno">4135</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4136"></a><tt class="py-lineno">4136</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_peers</tt> </tt>
</div><a name="L4137"></a><tt class="py-lineno">4137</tt> <tt class="py-line"> </tt>
<a name="Config._setCollect"></a><div id="Config._setCollect-def"><a name="L4138"></a><tt class="py-lineno">4138</tt> <a class="py-toggle" href="#" id="Config._setCollect-toggle" onclick="return toggle('Config._setCollect');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_setCollect">_setCollect</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._setCollect-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._setCollect-expanded"><a name="L4139"></a><tt class="py-lineno">4139</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4140"></a><tt class="py-lineno">4140</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the collect configuration value.</tt> </tt>
<a name="L4141"></a><tt class="py-lineno">4141</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be a C{CollectConfig} object.</tt> </tt>
<a name="L4142"></a><tt class="py-lineno">4142</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{CollectConfig}</tt> </tt>
<a name="L4143"></a><tt class="py-lineno">4143</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4144"></a><tt class="py-lineno">4144</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4145"></a><tt class="py-lineno">4145</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collect</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4146"></a><tt class="py-lineno">4146</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4147"></a><tt class="py-lineno">4147</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1150" class="py-name" targets="Class CedarBackup2.config.CollectConfig=CedarBackup2.config.CollectConfig-class.html"><a title="CedarBackup2.config.CollectConfig" class="py-name" href="#" onclick="return doclink('link-1150', 'CollectConfig', 'link-1150');">CollectConfig</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4148"></a><tt class="py-lineno">4148</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{CollectConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4149"></a><tt class="py-lineno">4149</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collect</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L4150"></a><tt class="py-lineno">4150</tt> <tt class="py-line"> </tt>
<a name="Config._getCollect"></a><div id="Config._getCollect-def"><a name="L4151"></a><tt class="py-lineno">4151</tt> <a class="py-toggle" href="#" id="Config._getCollect-toggle" onclick="return toggle('Config._getCollect');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_getCollect">_getCollect</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._getCollect-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._getCollect-expanded"><a name="L4152"></a><tt class="py-lineno">4152</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4153"></a><tt class="py-lineno">4153</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the collect configuration value.</tt> </tt>
<a name="L4154"></a><tt class="py-lineno">4154</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4155"></a><tt class="py-lineno">4155</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collect</tt> </tt>
</div><a name="L4156"></a><tt class="py-lineno">4156</tt> <tt class="py-line"> </tt>
<a name="Config._setStage"></a><div id="Config._setStage-def"><a name="L4157"></a><tt class="py-lineno">4157</tt> <a class="py-toggle" href="#" id="Config._setStage-toggle" onclick="return toggle('Config._setStage');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_setStage">_setStage</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._setStage-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._setStage-expanded"><a name="L4158"></a><tt class="py-lineno">4158</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4159"></a><tt class="py-lineno">4159</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the stage configuration value.</tt> </tt>
<a name="L4160"></a><tt class="py-lineno">4160</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be a C{StageConfig} object.</tt> </tt>
<a name="L4161"></a><tt class="py-lineno">4161</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{StageConfig}</tt> </tt>
<a name="L4162"></a><tt class="py-lineno">4162</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4163"></a><tt class="py-lineno">4163</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4164"></a><tt class="py-lineno">4164</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stage</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4165"></a><tt class="py-lineno">4165</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4166"></a><tt class="py-lineno">4166</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1151" class="py-name" targets="Class CedarBackup2.config.StageConfig=CedarBackup2.config.StageConfig-class.html"><a title="CedarBackup2.config.StageConfig" class="py-name" href="#" onclick="return doclink('link-1151', 'StageConfig', 'link-1151');">StageConfig</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4167"></a><tt class="py-lineno">4167</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{StageConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4168"></a><tt class="py-lineno">4168</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stage</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L4169"></a><tt class="py-lineno">4169</tt> <tt class="py-line"> </tt>
<a name="Config._getStage"></a><div id="Config._getStage-def"><a name="L4170"></a><tt class="py-lineno">4170</tt> <a class="py-toggle" href="#" id="Config._getStage-toggle" onclick="return toggle('Config._getStage');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_getStage">_getStage</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._getStage-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._getStage-expanded"><a name="L4171"></a><tt class="py-lineno">4171</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4172"></a><tt class="py-lineno">4172</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the stage configuration value.</tt> </tt>
<a name="L4173"></a><tt class="py-lineno">4173</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4174"></a><tt class="py-lineno">4174</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stage</tt> </tt>
</div><a name="L4175"></a><tt class="py-lineno">4175</tt> <tt class="py-line"> </tt>
<a name="Config._setStore"></a><div id="Config._setStore-def"><a name="L4176"></a><tt class="py-lineno">4176</tt> <a class="py-toggle" href="#" id="Config._setStore-toggle" onclick="return toggle('Config._setStore');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_setStore">_setStore</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._setStore-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._setStore-expanded"><a name="L4177"></a><tt class="py-lineno">4177</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4178"></a><tt class="py-lineno">4178</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the store configuration value.</tt> </tt>
<a name="L4179"></a><tt class="py-lineno">4179</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be a C{StoreConfig} object.</tt> </tt>
<a name="L4180"></a><tt class="py-lineno">4180</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{StoreConfig}</tt> </tt>
<a name="L4181"></a><tt class="py-lineno">4181</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4182"></a><tt class="py-lineno">4182</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4183"></a><tt class="py-lineno">4183</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_store</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4184"></a><tt class="py-lineno">4184</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4185"></a><tt class="py-lineno">4185</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1152" class="py-name" targets="Class CedarBackup2.config.StoreConfig=CedarBackup2.config.StoreConfig-class.html"><a title="CedarBackup2.config.StoreConfig" class="py-name" href="#" onclick="return doclink('link-1152', 'StoreConfig', 'link-1152');">StoreConfig</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4186"></a><tt class="py-lineno">4186</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{StoreConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4187"></a><tt class="py-lineno">4187</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_store</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L4188"></a><tt class="py-lineno">4188</tt> <tt class="py-line"> </tt>
<a name="Config._getStore"></a><div id="Config._getStore-def"><a name="L4189"></a><tt class="py-lineno">4189</tt> <a class="py-toggle" href="#" id="Config._getStore-toggle" onclick="return toggle('Config._getStore');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_getStore">_getStore</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._getStore-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._getStore-expanded"><a name="L4190"></a><tt class="py-lineno">4190</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4191"></a><tt class="py-lineno">4191</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the store configuration value.</tt> </tt>
<a name="L4192"></a><tt class="py-lineno">4192</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4193"></a><tt class="py-lineno">4193</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_store</tt> </tt>
</div><a name="L4194"></a><tt class="py-lineno">4194</tt> <tt class="py-line"> </tt>
<a name="Config._setPurge"></a><div id="Config._setPurge-def"><a name="L4195"></a><tt class="py-lineno">4195</tt> <a class="py-toggle" href="#" id="Config._setPurge-toggle" onclick="return toggle('Config._setPurge');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_setPurge">_setPurge</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._setPurge-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._setPurge-expanded"><a name="L4196"></a><tt class="py-lineno">4196</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4197"></a><tt class="py-lineno">4197</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to set the purge configuration value.</tt> </tt>
<a name="L4198"></a><tt class="py-lineno">4198</tt> <tt class="py-line"><tt class="py-docstring"> If not C{None}, the value must be a C{PurgeConfig} object.</tt> </tt>
<a name="L4199"></a><tt class="py-lineno">4199</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the value is not a C{PurgeConfig}</tt> </tt>
<a name="L4200"></a><tt class="py-lineno">4200</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4201"></a><tt class="py-lineno">4201</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">value</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4202"></a><tt class="py-lineno">4202</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purge</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4203"></a><tt class="py-lineno">4203</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4204"></a><tt class="py-lineno">4204</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt id="link-1153" class="py-name" targets="Class CedarBackup2.config.PurgeConfig=CedarBackup2.config.PurgeConfig-class.html"><a title="CedarBackup2.config.PurgeConfig" class="py-name" href="#" onclick="return doclink('link-1153', 'PurgeConfig', 'link-1153');">PurgeConfig</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4205"></a><tt class="py-lineno">4205</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Value must be a C{PurgeConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4206"></a><tt class="py-lineno">4206</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purge</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L4207"></a><tt class="py-lineno">4207</tt> <tt class="py-line"> </tt>
<a name="Config._getPurge"></a><div id="Config._getPurge-def"><a name="L4208"></a><tt class="py-lineno">4208</tt> <a class="py-toggle" href="#" id="Config._getPurge-toggle" onclick="return toggle('Config._getPurge');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_getPurge">_getPurge</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._getPurge-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._getPurge-expanded"><a name="L4209"></a><tt class="py-lineno">4209</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4210"></a><tt class="py-lineno">4210</tt> <tt class="py-line"><tt class="py-docstring"> Property target used to get the purge configuration value.</tt> </tt>
<a name="L4211"></a><tt class="py-lineno">4211</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4212"></a><tt class="py-lineno">4212</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purge</tt> </tt>
</div><a name="L4213"></a><tt class="py-lineno">4213</tt> <tt class="py-line"> </tt>
<a name="L4214"></a><tt class="py-lineno">4214</tt> <tt class="py-line"> <tt id="link-1154" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1154', 'reference', 'link-1091');">reference</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1155" class="py-name" targets="Method CedarBackup2.config.Config._getReference()=CedarBackup2.config.Config-class.html#_getReference"><a title="CedarBackup2.config.Config._getReference" class="py-name" href="#" onclick="return doclink('link-1155', '_getReference', 'link-1155');">_getReference</a></tt><tt class="py-op">,</tt> <tt id="link-1156" class="py-name" targets="Method CedarBackup2.config.Config._setReference()=CedarBackup2.config.Config-class.html#_setReference"><a title="CedarBackup2.config.Config._setReference" class="py-name" href="#" onclick="return doclink('link-1156', '_setReference', 'link-1156');">_setReference</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Reference configuration in terms of a C{ReferenceConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4215"></a><tt class="py-lineno">4215</tt> <tt class="py-line"> <tt id="link-1157" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1157', 'extensions', 'link-1092');">extensions</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1158" class="py-name" targets="Method CedarBackup2.config.Config._getExtensions()=CedarBackup2.config.Config-class.html#_getExtensions"><a title="CedarBackup2.config.Config._getExtensions" class="py-name" href="#" onclick="return doclink('link-1158', '_getExtensions', 'link-1158');">_getExtensions</a></tt><tt class="py-op">,</tt> <tt id="link-1159" class="py-name" targets="Method CedarBackup2.config.Config._setExtensions()=CedarBackup2.config.Config-class.html#_setExtensions"><a title="CedarBackup2.config.Config._setExtensions" class="py-name" href="#" onclick="return doclink('link-1159', '_setExtensions', 'link-1159');">_setExtensions</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Extensions configuration in terms of a C{ExtensionsConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4216"></a><tt class="py-lineno">4216</tt> <tt class="py-line"> <tt id="link-1160" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1160', 'options', 'link-1093');">options</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1161" class="py-name" targets="Method CedarBackup2.config.Config._getOptions()=CedarBackup2.config.Config-class.html#_getOptions"><a title="CedarBackup2.config.Config._getOptions" class="py-name" href="#" onclick="return doclink('link-1161', '_getOptions', 'link-1161');">_getOptions</a></tt><tt class="py-op">,</tt> <tt id="link-1162" class="py-name" targets="Method CedarBackup2.config.Config._setOptions()=CedarBackup2.config.Config-class.html#_setOptions"><a title="CedarBackup2.config.Config._setOptions" class="py-name" href="#" onclick="return doclink('link-1162', '_setOptions', 'link-1162');">_setOptions</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Options configuration in terms of a C{OptionsConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4217"></a><tt class="py-lineno">4217</tt> <tt class="py-line"> <tt id="link-1163" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1163', 'peers', 'link-1094');">peers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1164" class="py-name" targets="Method CedarBackup2.config.Config._getPeers()=CedarBackup2.config.Config-class.html#_getPeers"><a title="CedarBackup2.config.Config._getPeers" class="py-name" href="#" onclick="return doclink('link-1164', '_getPeers', 'link-1164');">_getPeers</a></tt><tt class="py-op">,</tt> <tt id="link-1165" class="py-name" targets="Method CedarBackup2.config.Config._setPeers()=CedarBackup2.config.Config-class.html#_setPeers"><a title="CedarBackup2.config.Config._setPeers" class="py-name" href="#" onclick="return doclink('link-1165', '_setPeers', 'link-1165');">_setPeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Peers configuration in terms of a C{PeersConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4218"></a><tt class="py-lineno">4218</tt> <tt class="py-line"> <tt id="link-1166" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1166', 'collect', 'link-1095');">collect</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1167" class="py-name" targets="Method CedarBackup2.config.Config._getCollect()=CedarBackup2.config.Config-class.html#_getCollect"><a title="CedarBackup2.config.Config._getCollect" class="py-name" href="#" onclick="return doclink('link-1167', '_getCollect', 'link-1167');">_getCollect</a></tt><tt class="py-op">,</tt> <tt id="link-1168" class="py-name" targets="Method CedarBackup2.config.Config._setCollect()=CedarBackup2.config.Config-class.html#_setCollect"><a title="CedarBackup2.config.Config._setCollect" class="py-name" href="#" onclick="return doclink('link-1168', '_setCollect', 'link-1168');">_setCollect</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Collect configuration in terms of a C{CollectConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4219"></a><tt class="py-lineno">4219</tt> <tt class="py-line"> <tt id="link-1169" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1169', 'stage', 'link-1096');">stage</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1170" class="py-name" targets="Method CedarBackup2.config.Config._getStage()=CedarBackup2.config.Config-class.html#_getStage"><a title="CedarBackup2.config.Config._getStage" class="py-name" href="#" onclick="return doclink('link-1170', '_getStage', 'link-1170');">_getStage</a></tt><tt class="py-op">,</tt> <tt id="link-1171" class="py-name" targets="Method CedarBackup2.config.Config._setStage()=CedarBackup2.config.Config-class.html#_setStage"><a title="CedarBackup2.config.Config._setStage" class="py-name" href="#" onclick="return doclink('link-1171', '_setStage', 'link-1171');">_setStage</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Stage configuration in terms of a C{StageConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4220"></a><tt class="py-lineno">4220</tt> <tt class="py-line"> <tt id="link-1172" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1172', 'store', 'link-1097');">store</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1173" class="py-name" targets="Method CedarBackup2.config.Config._getStore()=CedarBackup2.config.Config-class.html#_getStore"><a title="CedarBackup2.config.Config._getStore" class="py-name" href="#" onclick="return doclink('link-1173', '_getStore', 'link-1173');">_getStore</a></tt><tt class="py-op">,</tt> <tt id="link-1174" class="py-name" targets="Method CedarBackup2.config.Config._setStore()=CedarBackup2.config.Config-class.html#_setStore"><a title="CedarBackup2.config.Config._setStore" class="py-name" href="#" onclick="return doclink('link-1174', '_setStore', 'link-1174');">_setStore</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Store configuration in terms of a C{StoreConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4221"></a><tt class="py-lineno">4221</tt> <tt class="py-line"> <tt id="link-1175" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1175', 'purge', 'link-1098');">purge</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-1176" class="py-name" targets="Method CedarBackup2.config.Config._getPurge()=CedarBackup2.config.Config-class.html#_getPurge"><a title="CedarBackup2.config.Config._getPurge" class="py-name" href="#" onclick="return doclink('link-1176', '_getPurge', 'link-1176');">_getPurge</a></tt><tt class="py-op">,</tt> <tt id="link-1177" class="py-name" targets="Method CedarBackup2.config.Config._setPurge()=CedarBackup2.config.Config-class.html#_setPurge"><a title="CedarBackup2.config.Config._setPurge" class="py-name" href="#" onclick="return doclink('link-1177', '_setPurge', 'link-1177');">_setPurge</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"Purge configuration in terms of a C{PurgeConfig} object."</tt><tt class="py-op">)</tt> </tt>
<a name="L4222"></a><tt class="py-lineno">4222</tt> <tt class="py-line"> </tt>
<a name="L4223"></a><tt class="py-lineno">4223</tt> <tt class="py-line"> </tt>
<a name="L4224"></a><tt class="py-lineno">4224</tt> <tt class="py-line"> <tt class="py-comment">#################</tt> </tt>
<a name="L4225"></a><tt class="py-lineno">4225</tt> <tt class="py-line"> <tt class="py-comment"># Public methods</tt> </tt>
<a name="L4226"></a><tt class="py-lineno">4226</tt> <tt class="py-line"> <tt class="py-comment">#################</tt> </tt>
<a name="L4227"></a><tt class="py-lineno">4227</tt> <tt class="py-line"> </tt>
<a name="Config.extractXml"></a><div id="Config.extractXml-def"><a name="L4228"></a><tt class="py-lineno">4228</tt> <a class="py-toggle" href="#" id="Config.extractXml-toggle" onclick="return toggle('Config.extractXml');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#extractXml">extractXml</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">xmlPath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">validate</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config.extractXml-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config.extractXml-expanded"><a name="L4229"></a><tt class="py-lineno">4229</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4230"></a><tt class="py-lineno">4230</tt> <tt class="py-line"><tt class="py-docstring"> Extracts configuration into an XML document.</tt> </tt>
<a name="L4231"></a><tt class="py-lineno">4231</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4232"></a><tt class="py-lineno">4232</tt> <tt class="py-line"><tt class="py-docstring"> If C{xmlPath} is not provided, then the XML document will be returned as</tt> </tt>
<a name="L4233"></a><tt class="py-lineno">4233</tt> <tt class="py-line"><tt class="py-docstring"> a string. If C{xmlPath} is provided, then the XML document will be written</tt> </tt>
<a name="L4234"></a><tt class="py-lineno">4234</tt> <tt class="py-line"><tt class="py-docstring"> to the file and C{None} will be returned.</tt> </tt>
<a name="L4235"></a><tt class="py-lineno">4235</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4236"></a><tt class="py-lineno">4236</tt> <tt class="py-line"><tt class="py-docstring"> Unless the C{validate} parameter is C{False}, the L{Config.validate}</tt> </tt>
<a name="L4237"></a><tt class="py-lineno">4237</tt> <tt class="py-line"><tt class="py-docstring"> method will be called (with its default arguments) against the</tt> </tt>
<a name="L4238"></a><tt class="py-lineno">4238</tt> <tt class="py-line"><tt class="py-docstring"> configuration before extracting the XML. If configuration is not valid,</tt> </tt>
<a name="L4239"></a><tt class="py-lineno">4239</tt> <tt class="py-line"><tt class="py-docstring"> then an XML document will not be extracted.</tt> </tt>
<a name="L4240"></a><tt class="py-lineno">4240</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L4241"></a><tt class="py-lineno">4241</tt> <tt class="py-line"><tt class="py-docstring"> @note: It is strongly suggested that the C{validate} option always be set</tt> </tt>
<a name="L4242"></a><tt class="py-lineno">4242</tt> <tt class="py-line"><tt class="py-docstring"> to C{True} (the default) unless there is a specific need to write an</tt> </tt>
<a name="L4243"></a><tt class="py-lineno">4243</tt> <tt class="py-line"><tt class="py-docstring"> invalid configuration file to disk.</tt> </tt>
<a name="L4244"></a><tt class="py-lineno">4244</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4245"></a><tt class="py-lineno">4245</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlPath: Path to an XML file to create on disk.</tt> </tt>
<a name="L4246"></a><tt class="py-lineno">4246</tt> <tt class="py-line"><tt class="py-docstring"> @type xmlPath: Absolute path to a file.</tt> </tt>
<a name="L4247"></a><tt class="py-lineno">4247</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4248"></a><tt class="py-lineno">4248</tt> <tt class="py-line"><tt class="py-docstring"> @param validate: Validate the document before extracting it.</tt> </tt>
<a name="L4249"></a><tt class="py-lineno">4249</tt> <tt class="py-line"><tt class="py-docstring"> @type validate: Boolean true/false.</tt> </tt>
<a name="L4250"></a><tt class="py-lineno">4250</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4251"></a><tt class="py-lineno">4251</tt> <tt class="py-line"><tt class="py-docstring"> @return: XML string data or C{None} as described above.</tt> </tt>
<a name="L4252"></a><tt class="py-lineno">4252</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4253"></a><tt class="py-lineno">4253</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If configuration within the object is not valid.</tt> </tt>
<a name="L4254"></a><tt class="py-lineno">4254</tt> <tt class="py-line"><tt class="py-docstring"> @raise IOError: If there is an error writing to the file.</tt> </tt>
<a name="L4255"></a><tt class="py-lineno">4255</tt> <tt class="py-line"><tt class="py-docstring"> @raise OSError: If there is an error writing to the file.</tt> </tt>
<a name="L4256"></a><tt class="py-lineno">4256</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4257"></a><tt class="py-lineno">4257</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1178" class="py-name"><a title="CedarBackup2.actions.validate
CedarBackup2.cli.Options.validate
CedarBackup2.config.Config.validate
CedarBackup2.extend.capacity.LocalConfig.validate
CedarBackup2.extend.encrypt.LocalConfig.validate
CedarBackup2.extend.mbox.LocalConfig.validate
CedarBackup2.extend.mysql.LocalConfig.validate
CedarBackup2.extend.postgresql.LocalConfig.validate
CedarBackup2.extend.split.LocalConfig.validate
CedarBackup2.extend.subversion.LocalConfig.validate
CedarBackup2.tools.span.SpanOptions.validate" class="py-name" href="#" onclick="return doclink('link-1178', 'validate', 'link-1100');">validate</a></tt><tt class="py-op">:</tt> </tt>
<a name="L4258"></a><tt class="py-lineno">4258</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1179" class="py-name"><a title="CedarBackup2.actions.validate
CedarBackup2.cli.Options.validate
CedarBackup2.config.Config.validate
CedarBackup2.extend.capacity.LocalConfig.validate
CedarBackup2.extend.encrypt.LocalConfig.validate
CedarBackup2.extend.mbox.LocalConfig.validate
CedarBackup2.extend.mysql.LocalConfig.validate
CedarBackup2.extend.postgresql.LocalConfig.validate
CedarBackup2.extend.split.LocalConfig.validate
CedarBackup2.extend.subversion.LocalConfig.validate
CedarBackup2.tools.span.SpanOptions.validate" class="py-name" href="#" onclick="return doclink('link-1179', 'validate', 'link-1100');">validate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4259"></a><tt class="py-lineno">4259</tt> <tt class="py-line"> <tt class="py-name">xmlData</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1180" class="py-name" targets="Method CedarBackup2.config.Config._extractXml()=CedarBackup2.config.Config-class.html#_extractXml"><a title="CedarBackup2.config.Config._extractXml" class="py-name" href="#" onclick="return doclink('link-1180', '_extractXml', 'link-1180');">_extractXml</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4260"></a><tt class="py-lineno">4260</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">xmlPath</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4261"></a><tt class="py-lineno">4261</tt> <tt class="py-line"> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">xmlPath</tt><tt class="py-op">,</tt> <tt class="py-string">"w"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-name">xmlData</tt><tt class="py-op">)</tt> </tt>
<a name="L4262"></a><tt class="py-lineno">4262</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L4263"></a><tt class="py-lineno">4263</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4264"></a><tt class="py-lineno">4264</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">xmlData</tt> </tt>
</div><a name="L4265"></a><tt class="py-lineno">4265</tt> <tt class="py-line"> </tt>
<a name="Config.validate"></a><div id="Config.validate-def"><a name="L4266"></a><tt class="py-lineno">4266</tt> <a class="py-toggle" href="#" id="Config.validate-toggle" onclick="return toggle('Config.validate');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#validate">validate</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">requireOneAction</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-param">requireReference</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">requireExtensions</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">requireOptions</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> </tt>
<a name="L4267"></a><tt class="py-lineno">4267</tt> <tt class="py-line"> <tt class="py-param">requireCollect</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">requireStage</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">requireStore</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">requirePurge</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">requirePeers</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config.validate-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config.validate-expanded"><a name="L4268"></a><tt class="py-lineno">4268</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4269"></a><tt class="py-lineno">4269</tt> <tt class="py-line"><tt class="py-docstring"> Validates configuration represented by the object.</tt> </tt>
<a name="L4270"></a><tt class="py-lineno">4270</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4271"></a><tt class="py-lineno">4271</tt> <tt class="py-line"><tt class="py-docstring"> This method encapsulates all of the validations that should apply to a</tt> </tt>
<a name="L4272"></a><tt class="py-lineno">4272</tt> <tt class="py-line"><tt class="py-docstring"> fully "complete" document but are not already taken care of by earlier</tt> </tt>
<a name="L4273"></a><tt class="py-lineno">4273</tt> <tt class="py-line"><tt class="py-docstring"> validations. It also provides some extra convenience functionality which</tt> </tt>
<a name="L4274"></a><tt class="py-lineno">4274</tt> <tt class="py-line"><tt class="py-docstring"> might be useful to some people. The process of validation is laid out in</tt> </tt>
<a name="L4275"></a><tt class="py-lineno">4275</tt> <tt class="py-line"><tt class="py-docstring"> the I{Validation} section in the class notes (above).</tt> </tt>
<a name="L4276"></a><tt class="py-lineno">4276</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4277"></a><tt class="py-lineno">4277</tt> <tt class="py-line"><tt class="py-docstring"> @param requireOneAction: Require at least one of the collect, stage, store or purge sections.</tt> </tt>
<a name="L4278"></a><tt class="py-lineno">4278</tt> <tt class="py-line"><tt class="py-docstring"> @param requireReference: Require the reference section.</tt> </tt>
<a name="L4279"></a><tt class="py-lineno">4279</tt> <tt class="py-line"><tt class="py-docstring"> @param requireExtensions: Require the extensions section.</tt> </tt>
<a name="L4280"></a><tt class="py-lineno">4280</tt> <tt class="py-line"><tt class="py-docstring"> @param requireOptions: Require the options section.</tt> </tt>
<a name="L4281"></a><tt class="py-lineno">4281</tt> <tt class="py-line"><tt class="py-docstring"> @param requirePeers: Require the peers section.</tt> </tt>
<a name="L4282"></a><tt class="py-lineno">4282</tt> <tt class="py-line"><tt class="py-docstring"> @param requireCollect: Require the collect section.</tt> </tt>
<a name="L4283"></a><tt class="py-lineno">4283</tt> <tt class="py-line"><tt class="py-docstring"> @param requireStage: Require the stage section.</tt> </tt>
<a name="L4284"></a><tt class="py-lineno">4284</tt> <tt class="py-line"><tt class="py-docstring"> @param requireStore: Require the store section.</tt> </tt>
<a name="L4285"></a><tt class="py-lineno">4285</tt> <tt class="py-line"><tt class="py-docstring"> @param requirePurge: Require the purge section.</tt> </tt>
<a name="L4286"></a><tt class="py-lineno">4286</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4287"></a><tt class="py-lineno">4287</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If one of the validations fails.</tt> </tt>
<a name="L4288"></a><tt class="py-lineno">4288</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4289"></a><tt class="py-lineno">4289</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requireOneAction</tt> <tt class="py-keyword">and</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1181" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1181', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1182" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1182', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1183" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1183', 'store', 'link-1097');">store</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1184" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1184', 'purge', 'link-1098');">purge</a></tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4290"></a><tt class="py-lineno">4290</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"At least one of the collect, stage, store and purge sections is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4291"></a><tt class="py-lineno">4291</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requireReference</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1185" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1185', 'reference', 'link-1091');">reference</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4292"></a><tt class="py-lineno">4292</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The reference is section is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4293"></a><tt class="py-lineno">4293</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requireExtensions</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1186" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1186', 'extensions', 'link-1092');">extensions</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4294"></a><tt class="py-lineno">4294</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The extensions is section is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4295"></a><tt class="py-lineno">4295</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requireOptions</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1187" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1187', 'options', 'link-1093');">options</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4296"></a><tt class="py-lineno">4296</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The options is section is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4297"></a><tt class="py-lineno">4297</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requirePeers</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1188" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1188', 'peers', 'link-1094');">peers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4298"></a><tt class="py-lineno">4298</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The peers is section is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4299"></a><tt class="py-lineno">4299</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requireCollect</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1189" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1189', 'collect', 'link-1095');">collect</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4300"></a><tt class="py-lineno">4300</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The collect is section is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4301"></a><tt class="py-lineno">4301</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requireStage</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1190" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1190', 'stage', 'link-1096');">stage</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4302"></a><tt class="py-lineno">4302</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The stage is section is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4303"></a><tt class="py-lineno">4303</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requireStore</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1191" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1191', 'store', 'link-1097');">store</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4304"></a><tt class="py-lineno">4304</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The store is section is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4305"></a><tt class="py-lineno">4305</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">requirePurge</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1192" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1192', 'purge', 'link-1098');">purge</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4306"></a><tt class="py-lineno">4306</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"The purge is section is required."</tt><tt class="py-op">)</tt> </tt>
<a name="L4307"></a><tt class="py-lineno">4307</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1193" class="py-name" targets="Method CedarBackup2.config.Config._validateContents()=CedarBackup2.config.Config-class.html#_validateContents"><a title="CedarBackup2.config.Config._validateContents" class="py-name" href="#" onclick="return doclink('link-1193', '_validateContents', 'link-1193');">_validateContents</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L4308"></a><tt class="py-lineno">4308</tt> <tt class="py-line"> </tt>
<a name="L4309"></a><tt class="py-lineno">4309</tt> <tt class="py-line"> </tt>
<a name="L4310"></a><tt class="py-lineno">4310</tt> <tt class="py-line"> <tt class="py-comment">#####################################</tt> </tt>
<a name="L4311"></a><tt class="py-lineno">4311</tt> <tt class="py-line"> <tt class="py-comment"># High-level methods for parsing XML</tt> </tt>
<a name="L4312"></a><tt class="py-lineno">4312</tt> <tt class="py-line"> <tt class="py-comment">#####################################</tt> </tt>
<a name="L4313"></a><tt class="py-lineno">4313</tt> <tt class="py-line"> </tt>
<a name="Config._parseXmlData"></a><div id="Config._parseXmlData-def"><a name="L4314"></a><tt class="py-lineno">4314</tt> <a class="py-toggle" href="#" id="Config._parseXmlData-toggle" onclick="return toggle('Config._parseXmlData');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseXmlData">_parseXmlData</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">xmlData</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseXmlData-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseXmlData-expanded"><a name="L4315"></a><tt class="py-lineno">4315</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4316"></a><tt class="py-lineno">4316</tt> <tt class="py-line"><tt class="py-docstring"> Internal method to parse an XML string into the object.</tt> </tt>
<a name="L4317"></a><tt class="py-lineno">4317</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4318"></a><tt class="py-lineno">4318</tt> <tt class="py-line"><tt class="py-docstring"> This method parses the XML document into a DOM tree (C{xmlDom}) and then</tt> </tt>
<a name="L4319"></a><tt class="py-lineno">4319</tt> <tt class="py-line"><tt class="py-docstring"> calls individual static methods to parse each of the individual</tt> </tt>
<a name="L4320"></a><tt class="py-lineno">4320</tt> <tt class="py-line"><tt class="py-docstring"> configuration sections.</tt> </tt>
<a name="L4321"></a><tt class="py-lineno">4321</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4322"></a><tt class="py-lineno">4322</tt> <tt class="py-line"><tt class="py-docstring"> Most of the validation we do here has to do with whether the document can</tt> </tt>
<a name="L4323"></a><tt class="py-lineno">4323</tt> <tt class="py-line"><tt class="py-docstring"> be parsed and whether any values which exist are valid. We don't do much</tt> </tt>
<a name="L4324"></a><tt class="py-lineno">4324</tt> <tt class="py-line"><tt class="py-docstring"> validation as to whether required elements actually exist unless we have</tt> </tt>
<a name="L4325"></a><tt class="py-lineno">4325</tt> <tt class="py-line"><tt class="py-docstring"> to to make sense of the document (instead, that's the job of the</tt> </tt>
<a name="L4326"></a><tt class="py-lineno">4326</tt> <tt class="py-line"><tt class="py-docstring"> L{validate} method).</tt> </tt>
<a name="L4327"></a><tt class="py-lineno">4327</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4328"></a><tt class="py-lineno">4328</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlData: XML data to be parsed</tt> </tt>
<a name="L4329"></a><tt class="py-lineno">4329</tt> <tt class="py-line"><tt class="py-docstring"> @type xmlData: String data</tt> </tt>
<a name="L4330"></a><tt class="py-lineno">4330</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4331"></a><tt class="py-lineno">4331</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the XML cannot be successfully parsed.</tt> </tt>
<a name="L4332"></a><tt class="py-lineno">4332</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4333"></a><tt class="py-lineno">4333</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt id="link-1194" class="py-name"><a title="CedarBackup2.xmlutil.createInputDom" class="py-name" href="#" onclick="return doclink('link-1194', 'createInputDom', 'link-43');">createInputDom</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlData</tt><tt class="py-op">)</tt> </tt>
<a name="L4334"></a><tt class="py-lineno">4334</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_reference</tt> <tt class="py-op">=</tt> <tt id="link-1195" class="py-name" targets="Class CedarBackup2.config.Config=CedarBackup2.config.Config-class.html"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1195', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1196" class="py-name" targets="Static Method CedarBackup2.config.Config._parseReference()=CedarBackup2.config.Config-class.html#_parseReference"><a title="CedarBackup2.config.Config._parseReference" class="py-name" href="#" onclick="return doclink('link-1196', '_parseReference', 'link-1196');">_parseReference</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4335"></a><tt class="py-lineno">4335</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_extensions</tt> <tt class="py-op">=</tt> <tt id="link-1197" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1197', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1198" class="py-name" targets="Static Method CedarBackup2.config.Config._parseExtensions()=CedarBackup2.config.Config-class.html#_parseExtensions"><a title="CedarBackup2.config.Config._parseExtensions" class="py-name" href="#" onclick="return doclink('link-1198', '_parseExtensions', 'link-1198');">_parseExtensions</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4336"></a><tt class="py-lineno">4336</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_options</tt> <tt class="py-op">=</tt> <tt id="link-1199" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1199', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1200" class="py-name" targets="Static Method CedarBackup2.config.Config._parseOptions()=CedarBackup2.config.Config-class.html#_parseOptions"><a title="CedarBackup2.config.Config._parseOptions" class="py-name" href="#" onclick="return doclink('link-1200', '_parseOptions', 'link-1200');">_parseOptions</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4337"></a><tt class="py-lineno">4337</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_peers</tt> <tt class="py-op">=</tt> <tt id="link-1201" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1201', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1202" class="py-name" targets="Static Method CedarBackup2.config.Config._parsePeers()=CedarBackup2.config.Config-class.html#_parsePeers"><a title="CedarBackup2.config.Config._parsePeers" class="py-name" href="#" onclick="return doclink('link-1202', '_parsePeers', 'link-1202');">_parsePeers</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4338"></a><tt class="py-lineno">4338</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_collect</tt> <tt class="py-op">=</tt> <tt id="link-1203" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1203', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1204" class="py-name" targets="Static Method CedarBackup2.config.Config._parseCollect()=CedarBackup2.config.Config-class.html#_parseCollect"><a title="CedarBackup2.config.Config._parseCollect" class="py-name" href="#" onclick="return doclink('link-1204', '_parseCollect', 'link-1204');">_parseCollect</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4339"></a><tt class="py-lineno">4339</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stage</tt> <tt class="py-op">=</tt> <tt id="link-1205" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1205', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1206" class="py-name" targets="Static Method CedarBackup2.config.Config._parseStage()=CedarBackup2.config.Config-class.html#_parseStage"><a title="CedarBackup2.config.Config._parseStage" class="py-name" href="#" onclick="return doclink('link-1206', '_parseStage', 'link-1206');">_parseStage</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4340"></a><tt class="py-lineno">4340</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_store</tt> <tt class="py-op">=</tt> <tt id="link-1207" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1207', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1208" class="py-name" targets="Static Method CedarBackup2.config.Config._parseStore()=CedarBackup2.config.Config-class.html#_parseStore"><a title="CedarBackup2.config.Config._parseStore" class="py-name" href="#" onclick="return doclink('link-1208', '_parseStore', 'link-1208');">_parseStore</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4341"></a><tt class="py-lineno">4341</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_purge</tt> <tt class="py-op">=</tt> <tt id="link-1209" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1209', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1210" class="py-name" targets="Static Method CedarBackup2.config.Config._parsePurge()=CedarBackup2.config.Config-class.html#_parsePurge"><a title="CedarBackup2.config.Config._parsePurge" class="py-name" href="#" onclick="return doclink('link-1210', '_parsePurge', 'link-1210');">_parsePurge</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">)</tt> </tt>
</div><a name="L4342"></a><tt class="py-lineno">4342</tt> <tt class="py-line"> </tt>
<a name="L4343"></a><tt class="py-lineno">4343</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseReference"></a><div id="Config._parseReference-def"><a name="L4344"></a><tt class="py-lineno">4344</tt> <a class="py-toggle" href="#" id="Config._parseReference-toggle" onclick="return toggle('Config._parseReference');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseReference">_parseReference</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseReference-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseReference-expanded"><a name="L4345"></a><tt class="py-lineno">4345</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4346"></a><tt class="py-lineno">4346</tt> <tt class="py-line"><tt class="py-docstring"> Parses a reference configuration section.</tt> </tt>
<a name="L4347"></a><tt class="py-lineno">4347</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L4348"></a><tt class="py-lineno">4348</tt> <tt class="py-line"><tt class="py-docstring"> We read the following fields::</tt> </tt>
<a name="L4349"></a><tt class="py-lineno">4349</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4350"></a><tt class="py-lineno">4350</tt> <tt class="py-line"><tt class="py-docstring"> author //cb_config/reference/author</tt> </tt>
<a name="L4351"></a><tt class="py-lineno">4351</tt> <tt class="py-line"><tt class="py-docstring"> revision //cb_config/reference/revision</tt> </tt>
<a name="L4352"></a><tt class="py-lineno">4352</tt> <tt class="py-line"><tt class="py-docstring"> description //cb_config/reference/description</tt> </tt>
<a name="L4353"></a><tt class="py-lineno">4353</tt> <tt class="py-line"><tt class="py-docstring"> generator //cb_config/reference/generator</tt> </tt>
<a name="L4354"></a><tt class="py-lineno">4354</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4355"></a><tt class="py-lineno">4355</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4356"></a><tt class="py-lineno">4356</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4357"></a><tt class="py-lineno">4357</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{ReferenceConfig} object or C{None} if the section does not exist.</tt> </tt>
<a name="L4358"></a><tt class="py-lineno">4358</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4359"></a><tt class="py-lineno">4359</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4360"></a><tt class="py-lineno">4360</tt> <tt class="py-line"> <tt id="link-1211" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1211', 'reference', 'link-1091');">reference</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4361"></a><tt class="py-lineno">4361</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1212" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1212', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"reference"</tt><tt class="py-op">)</tt> </tt>
<a name="L4362"></a><tt class="py-lineno">4362</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4363"></a><tt class="py-lineno">4363</tt> <tt class="py-line"> <tt id="link-1213" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1213', 'reference', 'link-1091');">reference</a></tt> <tt class="py-op">=</tt> <tt id="link-1214" class="py-name"><a title="CedarBackup2.config.ReferenceConfig" class="py-name" href="#" onclick="return doclink('link-1214', 'ReferenceConfig', 'link-1146');">ReferenceConfig</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4364"></a><tt class="py-lineno">4364</tt> <tt class="py-line"> <tt id="link-1215" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1215', 'reference', 'link-1091');">reference</a></tt><tt class="py-op">.</tt><tt id="link-1216" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-1216', 'author', 'link-577');">author</a></tt> <tt class="py-op">=</tt> <tt id="link-1217" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1217', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"author"</tt><tt class="py-op">)</tt> </tt>
<a name="L4365"></a><tt class="py-lineno">4365</tt> <tt class="py-line"> <tt id="link-1218" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1218', 'reference', 'link-1091');">reference</a></tt><tt class="py-op">.</tt><tt id="link-1219" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-1219', 'revision', 'link-579');">revision</a></tt> <tt class="py-op">=</tt> <tt id="link-1220" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1220', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"revision"</tt><tt class="py-op">)</tt> </tt>
<a name="L4366"></a><tt class="py-lineno">4366</tt> <tt class="py-line"> <tt id="link-1221" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1221', 'reference', 'link-1091');">reference</a></tt><tt class="py-op">.</tt><tt id="link-1222" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-1222', 'description', 'link-581');">description</a></tt> <tt class="py-op">=</tt> <tt id="link-1223" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1223', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"description"</tt><tt class="py-op">)</tt> </tt>
<a name="L4367"></a><tt class="py-lineno">4367</tt> <tt class="py-line"> <tt id="link-1224" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1224', 'reference', 'link-1091');">reference</a></tt><tt class="py-op">.</tt><tt id="link-1225" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-1225', 'generator', 'link-583');">generator</a></tt> <tt class="py-op">=</tt> <tt id="link-1226" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1226', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"generator"</tt><tt class="py-op">)</tt> </tt>
<a name="L4368"></a><tt class="py-lineno">4368</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1227" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1227', 'reference', 'link-1091');">reference</a></tt> </tt>
</div><a name="L4369"></a><tt class="py-lineno">4369</tt> <tt class="py-line"> </tt>
<a name="L4370"></a><tt class="py-lineno">4370</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseExtensions"></a><div id="Config._parseExtensions-def"><a name="L4371"></a><tt class="py-lineno">4371</tt> <a class="py-toggle" href="#" id="Config._parseExtensions-toggle" onclick="return toggle('Config._parseExtensions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseExtensions">_parseExtensions</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseExtensions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseExtensions-expanded"><a name="L4372"></a><tt class="py-lineno">4372</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4373"></a><tt class="py-lineno">4373</tt> <tt class="py-line"><tt class="py-docstring"> Parses an extensions configuration section.</tt> </tt>
<a name="L4374"></a><tt class="py-lineno">4374</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4375"></a><tt class="py-lineno">4375</tt> <tt class="py-line"><tt class="py-docstring"> We read the following fields::</tt> </tt>
<a name="L4376"></a><tt class="py-lineno">4376</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4377"></a><tt class="py-lineno">4377</tt> <tt class="py-line"><tt class="py-docstring"> orderMode //cb_config/extensions/order_mode</tt> </tt>
<a name="L4378"></a><tt class="py-lineno">4378</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L4379"></a><tt class="py-lineno">4379</tt> <tt class="py-line"><tt class="py-docstring"> We also read groups of the following items, one list element per item::</tt> </tt>
<a name="L4380"></a><tt class="py-lineno">4380</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4381"></a><tt class="py-lineno">4381</tt> <tt class="py-line"><tt class="py-docstring"> name //cb_config/extensions/action/name</tt> </tt>
<a name="L4382"></a><tt class="py-lineno">4382</tt> <tt class="py-line"><tt class="py-docstring"> module //cb_config/extensions/action/module</tt> </tt>
<a name="L4383"></a><tt class="py-lineno">4383</tt> <tt class="py-line"><tt class="py-docstring"> function //cb_config/extensions/action/function</tt> </tt>
<a name="L4384"></a><tt class="py-lineno">4384</tt> <tt class="py-line"><tt class="py-docstring"> index //cb_config/extensions/action/index</tt> </tt>
<a name="L4385"></a><tt class="py-lineno">4385</tt> <tt class="py-line"><tt class="py-docstring"> dependencies //cb_config/extensions/action/depends</tt> </tt>
<a name="L4386"></a><tt class="py-lineno">4386</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L4387"></a><tt class="py-lineno">4387</tt> <tt class="py-line"><tt class="py-docstring"> The extended actions are parsed by L{_parseExtendedActions}. </tt> </tt>
<a name="L4388"></a><tt class="py-lineno">4388</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4389"></a><tt class="py-lineno">4389</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4390"></a><tt class="py-lineno">4390</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4391"></a><tt class="py-lineno">4391</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{ExtensionsConfig} object or C{None} if the section does not exist.</tt> </tt>
<a name="L4392"></a><tt class="py-lineno">4392</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4393"></a><tt class="py-lineno">4393</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4394"></a><tt class="py-lineno">4394</tt> <tt class="py-line"> <tt id="link-1228" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1228', 'extensions', 'link-1092');">extensions</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4395"></a><tt class="py-lineno">4395</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1229" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1229', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"extensions"</tt><tt class="py-op">)</tt> </tt>
<a name="L4396"></a><tt class="py-lineno">4396</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4397"></a><tt class="py-lineno">4397</tt> <tt class="py-line"> <tt id="link-1230" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1230', 'extensions', 'link-1092');">extensions</a></tt> <tt class="py-op">=</tt> <tt id="link-1231" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig" class="py-name" href="#" onclick="return doclink('link-1231', 'ExtensionsConfig', 'link-1147');">ExtensionsConfig</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4398"></a><tt class="py-lineno">4398</tt> <tt class="py-line"> <tt id="link-1232" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1232', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">.</tt><tt id="link-1233" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-1233', 'orderMode', 'link-618');">orderMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1234" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1234', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"order_mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4399"></a><tt class="py-lineno">4399</tt> <tt class="py-line"> <tt id="link-1235" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1235', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">.</tt><tt id="link-1236" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-1236', 'actions', 'link-620');">actions</a></tt> <tt class="py-op">=</tt> <tt id="link-1237" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1237', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1238" class="py-name" targets="Static Method CedarBackup2.config.Config._parseExtendedActions()=CedarBackup2.config.Config-class.html#_parseExtendedActions"><a title="CedarBackup2.config.Config._parseExtendedActions" class="py-name" href="#" onclick="return doclink('link-1238', '_parseExtendedActions', 'link-1238');">_parseExtendedActions</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4400"></a><tt class="py-lineno">4400</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1239" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1239', 'extensions', 'link-1092');">extensions</a></tt> </tt>
</div><a name="L4401"></a><tt class="py-lineno">4401</tt> <tt class="py-line"> </tt>
<a name="L4402"></a><tt class="py-lineno">4402</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseOptions"></a><div id="Config._parseOptions-def"><a name="L4403"></a><tt class="py-lineno">4403</tt> <a class="py-toggle" href="#" id="Config._parseOptions-toggle" onclick="return toggle('Config._parseOptions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseOptions">_parseOptions</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseOptions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseOptions-expanded"><a name="L4404"></a><tt class="py-lineno">4404</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4405"></a><tt class="py-lineno">4405</tt> <tt class="py-line"><tt class="py-docstring"> Parses a options configuration section.</tt> </tt>
<a name="L4406"></a><tt class="py-lineno">4406</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4407"></a><tt class="py-lineno">4407</tt> <tt class="py-line"><tt class="py-docstring"> We read the following fields::</tt> </tt>
<a name="L4408"></a><tt class="py-lineno">4408</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4409"></a><tt class="py-lineno">4409</tt> <tt class="py-line"><tt class="py-docstring"> startingDay //cb_config/options/starting_day</tt> </tt>
<a name="L4410"></a><tt class="py-lineno">4410</tt> <tt class="py-line"><tt class="py-docstring"> workingDir //cb_config/options/working_dir</tt> </tt>
<a name="L4411"></a><tt class="py-lineno">4411</tt> <tt class="py-line"><tt class="py-docstring"> backupUser //cb_config/options/backup_user</tt> </tt>
<a name="L4412"></a><tt class="py-lineno">4412</tt> <tt class="py-line"><tt class="py-docstring"> backupGroup //cb_config/options/backup_group</tt> </tt>
<a name="L4413"></a><tt class="py-lineno">4413</tt> <tt class="py-line"><tt class="py-docstring"> rcpCommand //cb_config/options/rcp_command</tt> </tt>
<a name="L4414"></a><tt class="py-lineno">4414</tt> <tt class="py-line"><tt class="py-docstring"> rshCommand //cb_config/options/rsh_command</tt> </tt>
<a name="L4415"></a><tt class="py-lineno">4415</tt> <tt class="py-line"><tt class="py-docstring"> cbackCommand //cb_config/options/cback_command</tt> </tt>
<a name="L4416"></a><tt class="py-lineno">4416</tt> <tt class="py-line"><tt class="py-docstring"> managedActions //cb_config/options/managed_actions</tt> </tt>
<a name="L4417"></a><tt class="py-lineno">4417</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4418"></a><tt class="py-lineno">4418</tt> <tt class="py-line"><tt class="py-docstring"> The list of managed actions is a comma-separated list of action names.</tt> </tt>
<a name="L4419"></a><tt class="py-lineno">4419</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4420"></a><tt class="py-lineno">4420</tt> <tt class="py-line"><tt class="py-docstring"> We also read groups of the following items, one list element per</tt> </tt>
<a name="L4421"></a><tt class="py-lineno">4421</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L4422"></a><tt class="py-lineno">4422</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4423"></a><tt class="py-lineno">4423</tt> <tt class="py-line"><tt class="py-docstring"> overrides //cb_config/options/override</tt> </tt>
<a name="L4424"></a><tt class="py-lineno">4424</tt> <tt class="py-line"><tt class="py-docstring"> hooks //cb_config/options/hook</tt> </tt>
<a name="L4425"></a><tt class="py-lineno">4425</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4426"></a><tt class="py-lineno">4426</tt> <tt class="py-line"><tt class="py-docstring"> The overrides are parsed by L{_parseOverrides} and the hooks are parsed</tt> </tt>
<a name="L4427"></a><tt class="py-lineno">4427</tt> <tt class="py-line"><tt class="py-docstring"> by L{_parseHooks}.</tt> </tt>
<a name="L4428"></a><tt class="py-lineno">4428</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4429"></a><tt class="py-lineno">4429</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4430"></a><tt class="py-lineno">4430</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4431"></a><tt class="py-lineno">4431</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{OptionsConfig} object or C{None} if the section does not exist.</tt> </tt>
<a name="L4432"></a><tt class="py-lineno">4432</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4433"></a><tt class="py-lineno">4433</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4434"></a><tt class="py-lineno">4434</tt> <tt class="py-line"> <tt id="link-1240" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1240', 'options', 'link-1093');">options</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4435"></a><tt class="py-lineno">4435</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1241" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1241', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"options"</tt><tt class="py-op">)</tt> </tt>
<a name="L4436"></a><tt class="py-lineno">4436</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4437"></a><tt class="py-lineno">4437</tt> <tt class="py-line"> <tt id="link-1242" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1242', 'options', 'link-1093');">options</a></tt> <tt class="py-op">=</tt> <tt id="link-1243" class="py-name"><a title="CedarBackup2.config.OptionsConfig" class="py-name" href="#" onclick="return doclink('link-1243', 'OptionsConfig', 'link-1148');">OptionsConfig</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4438"></a><tt class="py-lineno">4438</tt> <tt class="py-line"> <tt id="link-1244" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1244', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1245" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-1245', 'startingDay', 'link-644');">startingDay</a></tt> <tt class="py-op">=</tt> <tt id="link-1246" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1246', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"starting_day"</tt><tt class="py-op">)</tt> </tt>
<a name="L4439"></a><tt class="py-lineno">4439</tt> <tt class="py-line"> <tt id="link-1247" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1247', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1248" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-1248', 'workingDir', 'link-646');">workingDir</a></tt> <tt class="py-op">=</tt> <tt id="link-1249" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1249', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"working_dir"</tt><tt class="py-op">)</tt> </tt>
<a name="L4440"></a><tt class="py-lineno">4440</tt> <tt class="py-line"> <tt id="link-1250" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1250', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1251" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-1251', 'backupUser', 'link-648');">backupUser</a></tt> <tt class="py-op">=</tt> <tt id="link-1252" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1252', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"backup_user"</tt><tt class="py-op">)</tt> </tt>
<a name="L4441"></a><tt class="py-lineno">4441</tt> <tt class="py-line"> <tt id="link-1253" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1253', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1254" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-1254', 'backupGroup', 'link-650');">backupGroup</a></tt> <tt class="py-op">=</tt> <tt id="link-1255" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1255', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"backup_group"</tt><tt class="py-op">)</tt> </tt>
<a name="L4442"></a><tt class="py-lineno">4442</tt> <tt class="py-line"> <tt id="link-1256" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1256', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1257" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-1257', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-1258" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1258', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"rcp_command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4443"></a><tt class="py-lineno">4443</tt> <tt class="py-line"> <tt id="link-1259" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1259', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1260" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-1260', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-1261" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1261', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"rsh_command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4444"></a><tt class="py-lineno">4444</tt> <tt class="py-line"> <tt id="link-1262" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1262', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1263" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-1263', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-1264" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1264', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"cback_command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4445"></a><tt class="py-lineno">4445</tt> <tt class="py-line"> <tt id="link-1265" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1265', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1266" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-1266', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-op">=</tt> <tt id="link-1267" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1267', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1268" class="py-name" targets="Static Method CedarBackup2.config.Config._parseOverrides()=CedarBackup2.config.Config-class.html#_parseOverrides"><a title="CedarBackup2.config.Config._parseOverrides" class="py-name" href="#" onclick="return doclink('link-1268', '_parseOverrides', 'link-1268');">_parseOverrides</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4446"></a><tt class="py-lineno">4446</tt> <tt class="py-line"> <tt id="link-1269" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1269', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1270" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-1270', 'hooks', 'link-660');">hooks</a></tt> <tt class="py-op">=</tt> <tt id="link-1271" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1271', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1272" class="py-name" targets="Static Method CedarBackup2.config.Config._parseHooks()=CedarBackup2.config.Config-class.html#_parseHooks"><a title="CedarBackup2.config.Config._parseHooks" class="py-name" href="#" onclick="return doclink('link-1272', '_parseHooks', 'link-1272');">_parseHooks</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4447"></a><tt class="py-lineno">4447</tt> <tt class="py-line"> <tt id="link-1273" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1273', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt id="link-1274" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1274', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"managed_actions"</tt><tt class="py-op">)</tt> </tt>
<a name="L4448"></a><tt class="py-lineno">4448</tt> <tt class="py-line"> <tt id="link-1275" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1275', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1276" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1276', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt id="link-1277" class="py-name"><a title="CedarBackup2.util.parseCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-1277', 'parseCommaSeparatedString', 'link-10');">parseCommaSeparatedString</a></tt><tt class="py-op">(</tt><tt id="link-1278" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1278', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4449"></a><tt class="py-lineno">4449</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1279" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1279', 'options', 'link-1093');">options</a></tt> </tt>
</div><a name="L4450"></a><tt class="py-lineno">4450</tt> <tt class="py-line"> </tt>
<a name="L4451"></a><tt class="py-lineno">4451</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parsePeers"></a><div id="Config._parsePeers-def"><a name="L4452"></a><tt class="py-lineno">4452</tt> <a class="py-toggle" href="#" id="Config._parsePeers-toggle" onclick="return toggle('Config._parsePeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parsePeers">_parsePeers</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parsePeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parsePeers-expanded"><a name="L4453"></a><tt class="py-lineno">4453</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4454"></a><tt class="py-lineno">4454</tt> <tt class="py-line"><tt class="py-docstring"> Parses a peers configuration section.</tt> </tt>
<a name="L4455"></a><tt class="py-lineno">4455</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4456"></a><tt class="py-lineno">4456</tt> <tt class="py-line"><tt class="py-docstring"> We read groups of the following items, one list element per</tt> </tt>
<a name="L4457"></a><tt class="py-lineno">4457</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L4458"></a><tt class="py-lineno">4458</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4459"></a><tt class="py-lineno">4459</tt> <tt class="py-line"><tt class="py-docstring"> localPeers //cb_config/stage/peer</tt> </tt>
<a name="L4460"></a><tt class="py-lineno">4460</tt> <tt class="py-line"><tt class="py-docstring"> remotePeers //cb_config/stage/peer</tt> </tt>
<a name="L4461"></a><tt class="py-lineno">4461</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4462"></a><tt class="py-lineno">4462</tt> <tt class="py-line"><tt class="py-docstring"> The individual peer entries are parsed by L{_parsePeerList}.</tt> </tt>
<a name="L4463"></a><tt class="py-lineno">4463</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4464"></a><tt class="py-lineno">4464</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4465"></a><tt class="py-lineno">4465</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4466"></a><tt class="py-lineno">4466</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{StageConfig} object or C{None} if the section does not exist.</tt> </tt>
<a name="L4467"></a><tt class="py-lineno">4467</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4468"></a><tt class="py-lineno">4468</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4469"></a><tt class="py-lineno">4469</tt> <tt class="py-line"> <tt id="link-1280" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1280', 'peers', 'link-1094');">peers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4470"></a><tt class="py-lineno">4470</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1281" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1281', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"peers"</tt><tt class="py-op">)</tt> </tt>
<a name="L4471"></a><tt class="py-lineno">4471</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4472"></a><tt class="py-lineno">4472</tt> <tt class="py-line"> <tt id="link-1282" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1282', 'peers', 'link-1094');">peers</a></tt> <tt class="py-op">=</tt> <tt id="link-1283" class="py-name"><a title="CedarBackup2.config.PeersConfig" class="py-name" href="#" onclick="return doclink('link-1283', 'PeersConfig', 'link-1149');">PeersConfig</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4473"></a><tt class="py-lineno">4473</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt id="link-1284" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1284', 'peers', 'link-1094');">peers</a></tt><tt class="py-op">.</tt><tt id="link-1285" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1285', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">,</tt> <tt id="link-1286" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1286', 'peers', 'link-1094');">peers</a></tt><tt class="py-op">.</tt><tt id="link-1287" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1287', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt id="link-1288" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1288', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1289" class="py-name" targets="Static Method CedarBackup2.config.Config._parsePeerList()=CedarBackup2.config.Config-class.html#_parsePeerList"><a title="CedarBackup2.config.Config._parsePeerList" class="py-name" href="#" onclick="return doclink('link-1289', '_parsePeerList', 'link-1289');">_parsePeerList</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4474"></a><tt class="py-lineno">4474</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1290" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1290', 'peers', 'link-1094');">peers</a></tt> </tt>
</div><a name="L4475"></a><tt class="py-lineno">4475</tt> <tt class="py-line"> </tt>
<a name="L4476"></a><tt class="py-lineno">4476</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseCollect"></a><div id="Config._parseCollect-def"><a name="L4477"></a><tt class="py-lineno">4477</tt> <a class="py-toggle" href="#" id="Config._parseCollect-toggle" onclick="return toggle('Config._parseCollect');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseCollect">_parseCollect</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseCollect-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseCollect-expanded"><a name="L4478"></a><tt class="py-lineno">4478</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4479"></a><tt class="py-lineno">4479</tt> <tt class="py-line"><tt class="py-docstring"> Parses a collect configuration section.</tt> </tt>
<a name="L4480"></a><tt class="py-lineno">4480</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4481"></a><tt class="py-lineno">4481</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4482"></a><tt class="py-lineno">4482</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4483"></a><tt class="py-lineno">4483</tt> <tt class="py-line"><tt class="py-docstring"> targetDir //cb_config/collect/collect_dir</tt> </tt>
<a name="L4484"></a><tt class="py-lineno">4484</tt> <tt class="py-line"><tt class="py-docstring"> collectMode //cb_config/collect/collect_mode</tt> </tt>
<a name="L4485"></a><tt class="py-lineno">4485</tt> <tt class="py-line"><tt class="py-docstring"> archiveMode //cb_config/collect/archive_mode</tt> </tt>
<a name="L4486"></a><tt class="py-lineno">4486</tt> <tt class="py-line"><tt class="py-docstring"> ignoreFile //cb_config/collect/ignore_file</tt> </tt>
<a name="L4487"></a><tt class="py-lineno">4487</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4488"></a><tt class="py-lineno">4488</tt> <tt class="py-line"><tt class="py-docstring"> We also read groups of the following items, one list element per</tt> </tt>
<a name="L4489"></a><tt class="py-lineno">4489</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L4490"></a><tt class="py-lineno">4490</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4491"></a><tt class="py-lineno">4491</tt> <tt class="py-line"><tt class="py-docstring"> absoluteExcludePaths //cb_config/collect/exclude/abs_path</tt> </tt>
<a name="L4492"></a><tt class="py-lineno">4492</tt> <tt class="py-line"><tt class="py-docstring"> excludePatterns //cb_config/collect/exclude/pattern</tt> </tt>
<a name="L4493"></a><tt class="py-lineno">4493</tt> <tt class="py-line"><tt class="py-docstring"> collectFiles //cb_config/collect/file</tt> </tt>
<a name="L4494"></a><tt class="py-lineno">4494</tt> <tt class="py-line"><tt class="py-docstring"> collectDirs //cb_config/collect/dir</tt> </tt>
<a name="L4495"></a><tt class="py-lineno">4495</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L4496"></a><tt class="py-lineno">4496</tt> <tt class="py-line"><tt class="py-docstring"> The exclusions are parsed by L{_parseExclusions}, the collect files are</tt> </tt>
<a name="L4497"></a><tt class="py-lineno">4497</tt> <tt class="py-line"><tt class="py-docstring"> parsed by L{_parseCollectFiles}, and the directories are parsed by</tt> </tt>
<a name="L4498"></a><tt class="py-lineno">4498</tt> <tt class="py-line"><tt class="py-docstring"> L{_parseCollectDirs}.</tt> </tt>
<a name="L4499"></a><tt class="py-lineno">4499</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4500"></a><tt class="py-lineno">4500</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4501"></a><tt class="py-lineno">4501</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4502"></a><tt class="py-lineno">4502</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{CollectConfig} object or C{None} if the section does not exist.</tt> </tt>
<a name="L4503"></a><tt class="py-lineno">4503</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4504"></a><tt class="py-lineno">4504</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4505"></a><tt class="py-lineno">4505</tt> <tt class="py-line"> <tt id="link-1291" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1291', 'collect', 'link-1095');">collect</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4506"></a><tt class="py-lineno">4506</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1292" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1292', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect"</tt><tt class="py-op">)</tt> </tt>
<a name="L4507"></a><tt class="py-lineno">4507</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4508"></a><tt class="py-lineno">4508</tt> <tt class="py-line"> <tt id="link-1293" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1293', 'collect', 'link-1095');">collect</a></tt> <tt class="py-op">=</tt> <tt id="link-1294" class="py-name"><a title="CedarBackup2.config.CollectConfig" class="py-name" href="#" onclick="return doclink('link-1294', 'CollectConfig', 'link-1150');">CollectConfig</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4509"></a><tt class="py-lineno">4509</tt> <tt class="py-line"> <tt id="link-1295" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1295', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1296" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-1296', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op">=</tt> <tt id="link-1297" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1297', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_dir"</tt><tt class="py-op">)</tt> </tt>
<a name="L4510"></a><tt class="py-lineno">4510</tt> <tt class="py-line"> <tt id="link-1298" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1298', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1299" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1299', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1300" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1300', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4511"></a><tt class="py-lineno">4511</tt> <tt class="py-line"> <tt id="link-1301" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1301', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1302" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1302', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1303" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1303', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"archive_mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4512"></a><tt class="py-lineno">4512</tt> <tt class="py-line"> <tt id="link-1304" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1304', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1305" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-1305', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op">=</tt> <tt id="link-1306" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1306', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"ignore_file"</tt><tt class="py-op">)</tt> </tt>
<a name="L4513"></a><tt class="py-lineno">4513</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt id="link-1307" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1307', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1308" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1308', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">,</tt> <tt class="py-name">unused</tt><tt class="py-op">,</tt> <tt id="link-1309" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1309', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1310" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1310', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt id="link-1311" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1311', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1312" class="py-name" targets="Static Method CedarBackup2.config.Config._parseExclusions()=CedarBackup2.config.Config-class.html#_parseExclusions,Static Method CedarBackup2.extend.mbox.LocalConfig._parseExclusions()=CedarBackup2.extend.mbox.LocalConfig-class.html#_parseExclusions,Static Method CedarBackup2.extend.subversion.LocalConfig._parseExclusions()=CedarBackup2.extend.subversion.LocalConfig-class.html#_parseExclusions"><a title="CedarBackup2.config.Config._parseExclusions
CedarBackup2.extend.mbox.LocalConfig._parseExclusions
CedarBackup2.extend.subversion.LocalConfig._parseExclusions" class="py-name" href="#" onclick="return doclink('link-1312', '_parseExclusions', 'link-1312');">_parseExclusions</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4514"></a><tt class="py-lineno">4514</tt> <tt class="py-line"> <tt id="link-1313" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1313', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1314" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-1314', 'collectFiles', 'link-820');">collectFiles</a></tt> <tt class="py-op">=</tt> <tt id="link-1315" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1315', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1316" class="py-name" targets="Static Method CedarBackup2.config.Config._parseCollectFiles()=CedarBackup2.config.Config-class.html#_parseCollectFiles"><a title="CedarBackup2.config.Config._parseCollectFiles" class="py-name" href="#" onclick="return doclink('link-1316', '_parseCollectFiles', 'link-1316');">_parseCollectFiles</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4515"></a><tt class="py-lineno">4515</tt> <tt class="py-line"> <tt id="link-1317" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1317', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1318" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-1318', 'collectDirs', 'link-822');">collectDirs</a></tt> <tt class="py-op">=</tt> <tt id="link-1319" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1319', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1320" class="py-name" targets="Static Method CedarBackup2.config.Config._parseCollectDirs()=CedarBackup2.config.Config-class.html#_parseCollectDirs"><a title="CedarBackup2.config.Config._parseCollectDirs" class="py-name" href="#" onclick="return doclink('link-1320', '_parseCollectDirs', 'link-1320');">_parseCollectDirs</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4516"></a><tt class="py-lineno">4516</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1321" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1321', 'collect', 'link-1095');">collect</a></tt> </tt>
</div><a name="L4517"></a><tt class="py-lineno">4517</tt> <tt class="py-line"> </tt>
<a name="L4518"></a><tt class="py-lineno">4518</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseStage"></a><div id="Config._parseStage-def"><a name="L4519"></a><tt class="py-lineno">4519</tt> <a class="py-toggle" href="#" id="Config._parseStage-toggle" onclick="return toggle('Config._parseStage');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseStage">_parseStage</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseStage-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseStage-expanded"><a name="L4520"></a><tt class="py-lineno">4520</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4521"></a><tt class="py-lineno">4521</tt> <tt class="py-line"><tt class="py-docstring"> Parses a stage configuration section.</tt> </tt>
<a name="L4522"></a><tt class="py-lineno">4522</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4523"></a><tt class="py-lineno">4523</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4524"></a><tt class="py-lineno">4524</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4525"></a><tt class="py-lineno">4525</tt> <tt class="py-line"><tt class="py-docstring"> targetDir //cb_config/stage/staging_dir</tt> </tt>
<a name="L4526"></a><tt class="py-lineno">4526</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4527"></a><tt class="py-lineno">4527</tt> <tt class="py-line"><tt class="py-docstring"> We also read groups of the following items, one list element per</tt> </tt>
<a name="L4528"></a><tt class="py-lineno">4528</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L4529"></a><tt class="py-lineno">4529</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4530"></a><tt class="py-lineno">4530</tt> <tt class="py-line"><tt class="py-docstring"> localPeers //cb_config/stage/peer</tt> </tt>
<a name="L4531"></a><tt class="py-lineno">4531</tt> <tt class="py-line"><tt class="py-docstring"> remotePeers //cb_config/stage/peer</tt> </tt>
<a name="L4532"></a><tt class="py-lineno">4532</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4533"></a><tt class="py-lineno">4533</tt> <tt class="py-line"><tt class="py-docstring"> The individual peer entries are parsed by L{_parsePeerList}.</tt> </tt>
<a name="L4534"></a><tt class="py-lineno">4534</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4535"></a><tt class="py-lineno">4535</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4536"></a><tt class="py-lineno">4536</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4537"></a><tt class="py-lineno">4537</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{StageConfig} object or C{None} if the section does not exist.</tt> </tt>
<a name="L4538"></a><tt class="py-lineno">4538</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4539"></a><tt class="py-lineno">4539</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4540"></a><tt class="py-lineno">4540</tt> <tt class="py-line"> <tt id="link-1322" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1322', 'stage', 'link-1096');">stage</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4541"></a><tt class="py-lineno">4541</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1323" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1323', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"stage"</tt><tt class="py-op">)</tt> </tt>
<a name="L4542"></a><tt class="py-lineno">4542</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4543"></a><tt class="py-lineno">4543</tt> <tt class="py-line"> <tt id="link-1324" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1324', 'stage', 'link-1096');">stage</a></tt> <tt class="py-op">=</tt> <tt id="link-1325" class="py-name"><a title="CedarBackup2.config.StageConfig" class="py-name" href="#" onclick="return doclink('link-1325', 'StageConfig', 'link-1151');">StageConfig</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4544"></a><tt class="py-lineno">4544</tt> <tt class="py-line"> <tt id="link-1326" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1326', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1327" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-1327', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-op">=</tt> <tt id="link-1328" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1328', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"staging_dir"</tt><tt class="py-op">)</tt> </tt>
<a name="L4545"></a><tt class="py-lineno">4545</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt id="link-1329" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1329', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1330" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1330', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">,</tt> <tt id="link-1331" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1331', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1332" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1332', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt id="link-1333" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1333', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1334" class="py-name"><a title="CedarBackup2.config.Config._parsePeerList" class="py-name" href="#" onclick="return doclink('link-1334', '_parsePeerList', 'link-1289');">_parsePeerList</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4546"></a><tt class="py-lineno">4546</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1335" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1335', 'stage', 'link-1096');">stage</a></tt> </tt>
</div><a name="L4547"></a><tt class="py-lineno">4547</tt> <tt class="py-line"> </tt>
<a name="L4548"></a><tt class="py-lineno">4548</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseStore"></a><div id="Config._parseStore-def"><a name="L4549"></a><tt class="py-lineno">4549</tt> <a class="py-toggle" href="#" id="Config._parseStore-toggle" onclick="return toggle('Config._parseStore');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseStore">_parseStore</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseStore-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseStore-expanded"><a name="L4550"></a><tt class="py-lineno">4550</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4551"></a><tt class="py-lineno">4551</tt> <tt class="py-line"><tt class="py-docstring"> Parses a store configuration section.</tt> </tt>
<a name="L4552"></a><tt class="py-lineno">4552</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4553"></a><tt class="py-lineno">4553</tt> <tt class="py-line"><tt class="py-docstring"> We read the following fields::</tt> </tt>
<a name="L4554"></a><tt class="py-lineno">4554</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4555"></a><tt class="py-lineno">4555</tt> <tt class="py-line"><tt class="py-docstring"> sourceDir //cb_config/store/source_dir</tt> </tt>
<a name="L4556"></a><tt class="py-lineno">4556</tt> <tt class="py-line"><tt class="py-docstring"> mediaType //cb_config/store/media_type</tt> </tt>
<a name="L4557"></a><tt class="py-lineno">4557</tt> <tt class="py-line"><tt class="py-docstring"> deviceType //cb_config/store/device_type</tt> </tt>
<a name="L4558"></a><tt class="py-lineno">4558</tt> <tt class="py-line"><tt class="py-docstring"> devicePath //cb_config/store/target_device</tt> </tt>
<a name="L4559"></a><tt class="py-lineno">4559</tt> <tt class="py-line"><tt class="py-docstring"> deviceScsiId //cb_config/store/target_scsi_id</tt> </tt>
<a name="L4560"></a><tt class="py-lineno">4560</tt> <tt class="py-line"><tt class="py-docstring"> driveSpeed //cb_config/store/drive_speed</tt> </tt>
<a name="L4561"></a><tt class="py-lineno">4561</tt> <tt class="py-line"><tt class="py-docstring"> checkData //cb_config/store/check_data</tt> </tt>
<a name="L4562"></a><tt class="py-lineno">4562</tt> <tt class="py-line"><tt class="py-docstring"> checkMedia //cb_config/store/check_media</tt> </tt>
<a name="L4563"></a><tt class="py-lineno">4563</tt> <tt class="py-line"><tt class="py-docstring"> warnMidnite //cb_config/store/warn_midnite</tt> </tt>
<a name="L4564"></a><tt class="py-lineno">4564</tt> <tt class="py-line"><tt class="py-docstring"> noEject //cb_config/store/no_eject</tt> </tt>
<a name="L4565"></a><tt class="py-lineno">4565</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4566"></a><tt class="py-lineno">4566</tt> <tt class="py-line"><tt class="py-docstring"> Blanking behavior configuration is parsed by the C{_parseBlankBehavior}</tt> </tt>
<a name="L4567"></a><tt class="py-lineno">4567</tt> <tt class="py-line"><tt class="py-docstring"> method.</tt> </tt>
<a name="L4568"></a><tt class="py-lineno">4568</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4569"></a><tt class="py-lineno">4569</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4570"></a><tt class="py-lineno">4570</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4571"></a><tt class="py-lineno">4571</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{StoreConfig} object or C{None} if the section does not exist.</tt> </tt>
<a name="L4572"></a><tt class="py-lineno">4572</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4573"></a><tt class="py-lineno">4573</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4574"></a><tt class="py-lineno">4574</tt> <tt class="py-line"> <tt id="link-1336" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1336', 'store', 'link-1097');">store</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4575"></a><tt class="py-lineno">4575</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1337" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1337', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"store"</tt><tt class="py-op">)</tt> </tt>
<a name="L4576"></a><tt class="py-lineno">4576</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4577"></a><tt class="py-lineno">4577</tt> <tt class="py-line"> <tt id="link-1338" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1338', 'store', 'link-1097');">store</a></tt> <tt class="py-op">=</tt> <tt id="link-1339" class="py-name"><a title="CedarBackup2.config.StoreConfig" class="py-name" href="#" onclick="return doclink('link-1339', 'StoreConfig', 'link-1152');">StoreConfig</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4578"></a><tt class="py-lineno">4578</tt> <tt class="py-line"> <tt id="link-1340" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1340', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1341" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-1341', 'sourceDir', 'link-947');">sourceDir</a></tt> <tt class="py-op">=</tt> <tt id="link-1342" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1342', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"source_dir"</tt><tt class="py-op">)</tt> </tt>
<a name="L4579"></a><tt class="py-lineno">4579</tt> <tt class="py-line"> <tt id="link-1343" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1343', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1344" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-1344', 'mediaType', 'link-949');">mediaType</a></tt> <tt class="py-op">=</tt> <tt id="link-1345" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1345', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"media_type"</tt><tt class="py-op">)</tt> </tt>
<a name="L4580"></a><tt class="py-lineno">4580</tt> <tt class="py-line"> <tt id="link-1346" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1346', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1347" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-1347', 'deviceType', 'link-951');">deviceType</a></tt> <tt class="py-op">=</tt> <tt id="link-1348" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1348', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"device_type"</tt><tt class="py-op">)</tt> </tt>
<a name="L4581"></a><tt class="py-lineno">4581</tt> <tt class="py-line"> <tt id="link-1349" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1349', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1350" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-1350', 'devicePath', 'link-953');">devicePath</a></tt> <tt class="py-op">=</tt> <tt id="link-1351" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1351', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"target_device"</tt><tt class="py-op">)</tt> </tt>
<a name="L4582"></a><tt class="py-lineno">4582</tt> <tt class="py-line"> <tt id="link-1352" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1352', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1353" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-1353', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt> <tt class="py-op">=</tt> <tt id="link-1354" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1354', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"target_scsi_id"</tt><tt class="py-op">)</tt> </tt>
<a name="L4583"></a><tt class="py-lineno">4583</tt> <tt class="py-line"> <tt id="link-1355" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1355', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1356" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-1356', 'driveSpeed', 'link-957');">driveSpeed</a></tt> <tt class="py-op">=</tt> <tt id="link-1357" class="py-name"><a title="CedarBackup2.xmlutil.readInteger" class="py-name" href="#" onclick="return doclink('link-1357', 'readInteger', 'link-33');">readInteger</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"drive_speed"</tt><tt class="py-op">)</tt> </tt>
<a name="L4584"></a><tt class="py-lineno">4584</tt> <tt class="py-line"> <tt id="link-1358" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1358', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1359" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-1359', 'checkData', 'link-959');">checkData</a></tt> <tt class="py-op">=</tt> <tt id="link-1360" class="py-name"><a title="CedarBackup2.xmlutil.readBoolean" class="py-name" href="#" onclick="return doclink('link-1360', 'readBoolean', 'link-34');">readBoolean</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"check_data"</tt><tt class="py-op">)</tt> </tt>
<a name="L4585"></a><tt class="py-lineno">4585</tt> <tt class="py-line"> <tt id="link-1361" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1361', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1362" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-1362', 'checkMedia', 'link-961');">checkMedia</a></tt> <tt class="py-op">=</tt> <tt id="link-1363" class="py-name"><a title="CedarBackup2.xmlutil.readBoolean" class="py-name" href="#" onclick="return doclink('link-1363', 'readBoolean', 'link-34');">readBoolean</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"check_media"</tt><tt class="py-op">)</tt> </tt>
<a name="L4586"></a><tt class="py-lineno">4586</tt> <tt class="py-line"> <tt id="link-1364" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1364', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1365" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-1365', 'warnMidnite', 'link-963');">warnMidnite</a></tt> <tt class="py-op">=</tt> <tt id="link-1366" class="py-name"><a title="CedarBackup2.xmlutil.readBoolean" class="py-name" href="#" onclick="return doclink('link-1366', 'readBoolean', 'link-34');">readBoolean</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"warn_midnite"</tt><tt class="py-op">)</tt> </tt>
<a name="L4587"></a><tt class="py-lineno">4587</tt> <tt class="py-line"> <tt id="link-1367" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1367', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1368" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-1368', 'noEject', 'link-965');">noEject</a></tt> <tt class="py-op">=</tt> <tt id="link-1369" class="py-name"><a title="CedarBackup2.xmlutil.readBoolean" class="py-name" href="#" onclick="return doclink('link-1369', 'readBoolean', 'link-34');">readBoolean</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"no_eject"</tt><tt class="py-op">)</tt> </tt>
<a name="L4588"></a><tt class="py-lineno">4588</tt> <tt class="py-line"> <tt id="link-1370" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1370', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1371" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1371', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-op">=</tt> <tt id="link-1372" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1372', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1373" class="py-name" targets="Static Method CedarBackup2.config.Config._parseBlankBehavior()=CedarBackup2.config.Config-class.html#_parseBlankBehavior"><a title="CedarBackup2.config.Config._parseBlankBehavior" class="py-name" href="#" onclick="return doclink('link-1373', '_parseBlankBehavior', 'link-1373');">_parseBlankBehavior</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4589"></a><tt class="py-lineno">4589</tt> <tt class="py-line"> <tt id="link-1374" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1374', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1375" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1375', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt> <tt class="py-op">=</tt> <tt id="link-1376" class="py-name"><a title="CedarBackup2.xmlutil.readInteger" class="py-name" href="#" onclick="return doclink('link-1376', 'readInteger', 'link-33');">readInteger</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"refresh_media_delay"</tt><tt class="py-op">)</tt> </tt>
<a name="L4590"></a><tt class="py-lineno">4590</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1377" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1377', 'store', 'link-1097');">store</a></tt> </tt>
</div><a name="L4591"></a><tt class="py-lineno">4591</tt> <tt class="py-line"> </tt>
<a name="L4592"></a><tt class="py-lineno">4592</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parsePurge"></a><div id="Config._parsePurge-def"><a name="L4593"></a><tt class="py-lineno">4593</tt> <a class="py-toggle" href="#" id="Config._parsePurge-toggle" onclick="return toggle('Config._parsePurge');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parsePurge">_parsePurge</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parsePurge-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parsePurge-expanded"><a name="L4594"></a><tt class="py-lineno">4594</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4595"></a><tt class="py-lineno">4595</tt> <tt class="py-line"><tt class="py-docstring"> Parses a purge configuration section.</tt> </tt>
<a name="L4596"></a><tt class="py-lineno">4596</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4597"></a><tt class="py-lineno">4597</tt> <tt class="py-line"><tt class="py-docstring"> We read groups of the following items, one list element per</tt> </tt>
<a name="L4598"></a><tt class="py-lineno">4598</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L4599"></a><tt class="py-lineno">4599</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4600"></a><tt class="py-lineno">4600</tt> <tt class="py-line"><tt class="py-docstring"> purgeDirs //cb_config/purge/dir</tt> </tt>
<a name="L4601"></a><tt class="py-lineno">4601</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4602"></a><tt class="py-lineno">4602</tt> <tt class="py-line"><tt class="py-docstring"> The individual directory entries are parsed by L{_parsePurgeDirs}.</tt> </tt>
<a name="L4603"></a><tt class="py-lineno">4603</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4604"></a><tt class="py-lineno">4604</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4605"></a><tt class="py-lineno">4605</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4606"></a><tt class="py-lineno">4606</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{PurgeConfig} object or C{None} if the section does not exist.</tt> </tt>
<a name="L4607"></a><tt class="py-lineno">4607</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4608"></a><tt class="py-lineno">4608</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4609"></a><tt class="py-lineno">4609</tt> <tt class="py-line"> <tt id="link-1378" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1378', 'purge', 'link-1098');">purge</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4610"></a><tt class="py-lineno">4610</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1379" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1379', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"purge"</tt><tt class="py-op">)</tt> </tt>
<a name="L4611"></a><tt class="py-lineno">4611</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4612"></a><tt class="py-lineno">4612</tt> <tt class="py-line"> <tt id="link-1380" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1380', 'purge', 'link-1098');">purge</a></tt> <tt class="py-op">=</tt> <tt id="link-1381" class="py-name"><a title="CedarBackup2.config.PurgeConfig" class="py-name" href="#" onclick="return doclink('link-1381', 'PurgeConfig', 'link-1153');">PurgeConfig</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4613"></a><tt class="py-lineno">4613</tt> <tt class="py-line"> <tt id="link-1382" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1382', 'purge', 'link-1098');">purge</a></tt><tt class="py-op">.</tt><tt id="link-1383" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1383', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> <tt class="py-op">=</tt> <tt id="link-1384" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1384', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1385" class="py-name" targets="Static Method CedarBackup2.config.Config._parsePurgeDirs()=CedarBackup2.config.Config-class.html#_parsePurgeDirs"><a title="CedarBackup2.config.Config._parsePurgeDirs" class="py-name" href="#" onclick="return doclink('link-1385', '_parsePurgeDirs', 'link-1385');">_parsePurgeDirs</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">)</tt> </tt>
<a name="L4614"></a><tt class="py-lineno">4614</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1386" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1386', 'purge', 'link-1098');">purge</a></tt> </tt>
</div><a name="L4615"></a><tt class="py-lineno">4615</tt> <tt class="py-line"> </tt>
<a name="L4616"></a><tt class="py-lineno">4616</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseExtendedActions"></a><div id="Config._parseExtendedActions-def"><a name="L4617"></a><tt class="py-lineno">4617</tt> <a class="py-toggle" href="#" id="Config._parseExtendedActions-toggle" onclick="return toggle('Config._parseExtendedActions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseExtendedActions">_parseExtendedActions</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseExtendedActions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseExtendedActions-expanded"><a name="L4618"></a><tt class="py-lineno">4618</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4619"></a><tt class="py-lineno">4619</tt> <tt class="py-line"><tt class="py-docstring"> Reads extended actions data from immediately beneath the parent.</tt> </tt>
<a name="L4620"></a><tt class="py-lineno">4620</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4621"></a><tt class="py-lineno">4621</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields from each extended action::</tt> </tt>
<a name="L4622"></a><tt class="py-lineno">4622</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4623"></a><tt class="py-lineno">4623</tt> <tt class="py-line"><tt class="py-docstring"> name name</tt> </tt>
<a name="L4624"></a><tt class="py-lineno">4624</tt> <tt class="py-line"><tt class="py-docstring"> module module</tt> </tt>
<a name="L4625"></a><tt class="py-lineno">4625</tt> <tt class="py-line"><tt class="py-docstring"> function function</tt> </tt>
<a name="L4626"></a><tt class="py-lineno">4626</tt> <tt class="py-line"><tt class="py-docstring"> index index</tt> </tt>
<a name="L4627"></a><tt class="py-lineno">4627</tt> <tt class="py-line"><tt class="py-docstring"> dependencies depends</tt> </tt>
<a name="L4628"></a><tt class="py-lineno">4628</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4629"></a><tt class="py-lineno">4629</tt> <tt class="py-line"><tt class="py-docstring"> Dependency information is parsed by the C{_parseDependencies} method.</tt> </tt>
<a name="L4630"></a><tt class="py-lineno">4630</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4631"></a><tt class="py-lineno">4631</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4632"></a><tt class="py-lineno">4632</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4633"></a><tt class="py-lineno">4633</tt> <tt class="py-line"><tt class="py-docstring"> @return: List of extended actions.</tt> </tt>
<a name="L4634"></a><tt class="py-lineno">4634</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the data at the location can't be read</tt> </tt>
<a name="L4635"></a><tt class="py-lineno">4635</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4636"></a><tt class="py-lineno">4636</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L4637"></a><tt class="py-lineno">4637</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">entry</tt> <tt class="py-keyword">in</tt> <tt id="link-1387" class="py-name"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-1387', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"action"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4638"></a><tt class="py-lineno">4638</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1388" class="py-name"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-1388', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4639"></a><tt class="py-lineno">4639</tt> <tt class="py-line"> <tt id="link-1389" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1389', 'action', 'link-126');">action</a></tt> <tt class="py-op">=</tt> <tt id="link-1390" class="py-name"><a title="CedarBackup2.config.ExtendedAction" class="py-name" href="#" onclick="return doclink('link-1390', 'ExtendedAction', 'link-636');">ExtendedAction</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4640"></a><tt class="py-lineno">4640</tt> <tt class="py-line"> <tt id="link-1391" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1391', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1392" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-1392', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-1393" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1393', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"name"</tt><tt class="py-op">)</tt> </tt>
<a name="L4641"></a><tt class="py-lineno">4641</tt> <tt class="py-line"> <tt id="link-1394" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1394', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1395" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-1395', 'module', 'link-203');">module</a></tt> <tt class="py-op">=</tt> <tt id="link-1396" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1396', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"module"</tt><tt class="py-op">)</tt> </tt>
<a name="L4642"></a><tt class="py-lineno">4642</tt> <tt class="py-line"> <tt id="link-1397" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1397', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1398" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-1398', 'function', 'link-205');">function</a></tt> <tt class="py-op">=</tt> <tt id="link-1399" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1399', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"function"</tt><tt class="py-op">)</tt> </tt>
<a name="L4643"></a><tt class="py-lineno">4643</tt> <tt class="py-line"> <tt id="link-1400" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1400', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1401" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-1401', 'index', 'link-207');">index</a></tt> <tt class="py-op">=</tt> <tt id="link-1402" class="py-name"><a title="CedarBackup2.xmlutil.readInteger" class="py-name" href="#" onclick="return doclink('link-1402', 'readInteger', 'link-33');">readInteger</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"index"</tt><tt class="py-op">)</tt> </tt>
<a name="L4644"></a><tt class="py-lineno">4644</tt> <tt class="py-line"> <tt id="link-1403" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1403', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1404" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-1404', 'dependencies', 'link-209');">dependencies</a></tt> <tt class="py-op">=</tt> <tt id="link-1405" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1405', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1406" class="py-name" targets="Static Method CedarBackup2.config.Config._parseDependencies()=CedarBackup2.config.Config-class.html#_parseDependencies"><a title="CedarBackup2.config.Config._parseDependencies" class="py-name" href="#" onclick="return doclink('link-1406', '_parseDependencies', 'link-1406');">_parseDependencies</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt> </tt>
<a name="L4645"></a><tt class="py-lineno">4645</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt id="link-1407" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1407', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt id="link-1408" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1408', 'action', 'link-126');">action</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4646"></a><tt class="py-lineno">4646</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">lst</tt> <tt class="py-op">==</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L4647"></a><tt class="py-lineno">4647</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4648"></a><tt class="py-lineno">4648</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
</div><a name="L4649"></a><tt class="py-lineno">4649</tt> <tt class="py-line"> </tt>
<a name="L4650"></a><tt class="py-lineno">4650</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseExclusions"></a><div id="Config._parseExclusions-def"><a name="L4651"></a><tt class="py-lineno">4651</tt> <a class="py-toggle" href="#" id="Config._parseExclusions-toggle" onclick="return toggle('Config._parseExclusions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseExclusions">_parseExclusions</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseExclusions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseExclusions-expanded"><a name="L4652"></a><tt class="py-lineno">4652</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4653"></a><tt class="py-lineno">4653</tt> <tt class="py-line"><tt class="py-docstring"> Reads exclusions data from immediately beneath the parent.</tt> </tt>
<a name="L4654"></a><tt class="py-lineno">4654</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4655"></a><tt class="py-lineno">4655</tt> <tt class="py-line"><tt class="py-docstring"> We read groups of the following items, one list element per item::</tt> </tt>
<a name="L4656"></a><tt class="py-lineno">4656</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4657"></a><tt class="py-lineno">4657</tt> <tt class="py-line"><tt class="py-docstring"> absolute exclude/abs_path</tt> </tt>
<a name="L4658"></a><tt class="py-lineno">4658</tt> <tt class="py-line"><tt class="py-docstring"> relative exclude/rel_path</tt> </tt>
<a name="L4659"></a><tt class="py-lineno">4659</tt> <tt class="py-line"><tt class="py-docstring"> patterns exclude/pattern</tt> </tt>
<a name="L4660"></a><tt class="py-lineno">4660</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4661"></a><tt class="py-lineno">4661</tt> <tt class="py-line"><tt class="py-docstring"> If there are none of some pattern (i.e. no relative path items) then</tt> </tt>
<a name="L4662"></a><tt class="py-lineno">4662</tt> <tt class="py-line"><tt class="py-docstring"> C{None} will be returned for that item in the tuple. </tt> </tt>
<a name="L4663"></a><tt class="py-lineno">4663</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4664"></a><tt class="py-lineno">4664</tt> <tt class="py-line"><tt class="py-docstring"> This method can be used to parse exclusions on both the collect</tt> </tt>
<a name="L4665"></a><tt class="py-lineno">4665</tt> <tt class="py-line"><tt class="py-docstring"> configuration level and on the collect directory level within collect</tt> </tt>
<a name="L4666"></a><tt class="py-lineno">4666</tt> <tt class="py-line"><tt class="py-docstring"> configuration.</tt> </tt>
<a name="L4667"></a><tt class="py-lineno">4667</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4668"></a><tt class="py-lineno">4668</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4669"></a><tt class="py-lineno">4669</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4670"></a><tt class="py-lineno">4670</tt> <tt class="py-line"><tt class="py-docstring"> @return: Tuple of (absolute, relative, patterns) exclusions.</tt> </tt>
<a name="L4671"></a><tt class="py-lineno">4671</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4672"></a><tt class="py-lineno">4672</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1409" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1409', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"exclude"</tt><tt class="py-op">)</tt> </tt>
<a name="L4673"></a><tt class="py-lineno">4673</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4674"></a><tt class="py-lineno">4674</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
<a name="L4675"></a><tt class="py-lineno">4675</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4676"></a><tt class="py-lineno">4676</tt> <tt class="py-line"> <tt class="py-name">absolute</tt> <tt class="py-op">=</tt> <tt id="link-1410" class="py-name"><a title="CedarBackup2.xmlutil.readStringList" class="py-name" href="#" onclick="return doclink('link-1410', 'readStringList', 'link-31');">readStringList</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">)</tt> </tt>
<a name="L4677"></a><tt class="py-lineno">4677</tt> <tt class="py-line"> <tt class="py-name">relative</tt> <tt class="py-op">=</tt> <tt id="link-1411" class="py-name"><a title="CedarBackup2.xmlutil.readStringList" class="py-name" href="#" onclick="return doclink('link-1411', 'readStringList', 'link-31');">readStringList</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"rel_path"</tt><tt class="py-op">)</tt> </tt>
<a name="L4678"></a><tt class="py-lineno">4678</tt> <tt class="py-line"> <tt class="py-name">patterns</tt> <tt class="py-op">=</tt> <tt id="link-1412" class="py-name"><a title="CedarBackup2.xmlutil.readStringList" class="py-name" href="#" onclick="return doclink('link-1412', 'readStringList', 'link-31');">readStringList</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"pattern"</tt><tt class="py-op">)</tt> </tt>
<a name="L4679"></a><tt class="py-lineno">4679</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">absolute</tt><tt class="py-op">,</tt> <tt class="py-name">relative</tt><tt class="py-op">,</tt> <tt class="py-name">patterns</tt><tt class="py-op">)</tt> </tt>
</div><a name="L4680"></a><tt class="py-lineno">4680</tt> <tt class="py-line"> </tt>
<a name="L4681"></a><tt class="py-lineno">4681</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseOverrides"></a><div id="Config._parseOverrides-def"><a name="L4682"></a><tt class="py-lineno">4682</tt> <a class="py-toggle" href="#" id="Config._parseOverrides-toggle" onclick="return toggle('Config._parseOverrides');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseOverrides">_parseOverrides</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseOverrides-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseOverrides-expanded"><a name="L4683"></a><tt class="py-lineno">4683</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4684"></a><tt class="py-lineno">4684</tt> <tt class="py-line"><tt class="py-docstring"> Reads a list of C{CommandOverride} objects from immediately beneath the parent.</tt> </tt>
<a name="L4685"></a><tt class="py-lineno">4685</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4686"></a><tt class="py-lineno">4686</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4687"></a><tt class="py-lineno">4687</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4688"></a><tt class="py-lineno">4688</tt> <tt class="py-line"><tt class="py-docstring"> command command </tt> </tt>
<a name="L4689"></a><tt class="py-lineno">4689</tt> <tt class="py-line"><tt class="py-docstring"> absolutePath abs_path</tt> </tt>
<a name="L4690"></a><tt class="py-lineno">4690</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4691"></a><tt class="py-lineno">4691</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4692"></a><tt class="py-lineno">4692</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4693"></a><tt class="py-lineno">4693</tt> <tt class="py-line"><tt class="py-docstring"> @return: List of C{CommandOverride} objects or C{None} if none are found.</tt> </tt>
<a name="L4694"></a><tt class="py-lineno">4694</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4695"></a><tt class="py-lineno">4695</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4696"></a><tt class="py-lineno">4696</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L4697"></a><tt class="py-lineno">4697</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">entry</tt> <tt class="py-keyword">in</tt> <tt id="link-1413" class="py-name"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-1413', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"override"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4698"></a><tt class="py-lineno">4698</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1414" class="py-name"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-1414', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4699"></a><tt class="py-lineno">4699</tt> <tt class="py-line"> <tt class="py-name">override</tt> <tt class="py-op">=</tt> <tt id="link-1415" class="py-name"><a title="CedarBackup2.config.CommandOverride" class="py-name" href="#" onclick="return doclink('link-1415', 'CommandOverride', 'link-715');">CommandOverride</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4700"></a><tt class="py-lineno">4700</tt> <tt class="py-line"> <tt class="py-name">override</tt><tt class="py-op">.</tt><tt id="link-1416" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-1416', 'command', 'link-128');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1417" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1417', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4701"></a><tt class="py-lineno">4701</tt> <tt class="py-line"> <tt class="py-name">override</tt><tt class="py-op">.</tt><tt id="link-1418" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1418', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt id="link-1419" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1419', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">)</tt> </tt>
<a name="L4702"></a><tt class="py-lineno">4702</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt id="link-1420" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1420', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">override</tt><tt class="py-op">)</tt> </tt>
<a name="L4703"></a><tt class="py-lineno">4703</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">lst</tt> <tt class="py-op">==</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L4704"></a><tt class="py-lineno">4704</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4705"></a><tt class="py-lineno">4705</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
</div><a name="L4706"></a><tt class="py-lineno">4706</tt> <tt class="py-line"> </tt>
<a name="L4707"></a><tt class="py-lineno">4707</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseHooks"></a><div id="Config._parseHooks-def"><a name="L4708"></a><tt class="py-lineno">4708</tt> <a class="py-toggle" href="#" id="Config._parseHooks-toggle" onclick="return toggle('Config._parseHooks');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseHooks">_parseHooks</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseHooks-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseHooks-expanded"><a name="L4709"></a><tt class="py-lineno">4709</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4710"></a><tt class="py-lineno">4710</tt> <tt class="py-line"><tt class="py-docstring"> Reads a list of C{ActionHook} objects from immediately beneath the parent.</tt> </tt>
<a name="L4711"></a><tt class="py-lineno">4711</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4712"></a><tt class="py-lineno">4712</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4713"></a><tt class="py-lineno">4713</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4714"></a><tt class="py-lineno">4714</tt> <tt class="py-line"><tt class="py-docstring"> action action </tt> </tt>
<a name="L4715"></a><tt class="py-lineno">4715</tt> <tt class="py-line"><tt class="py-docstring"> command command </tt> </tt>
<a name="L4716"></a><tt class="py-lineno">4716</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4717"></a><tt class="py-lineno">4717</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4718"></a><tt class="py-lineno">4718</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4719"></a><tt class="py-lineno">4719</tt> <tt class="py-line"><tt class="py-docstring"> @return: List of C{ActionHook} objects or C{None} if none are found.</tt> </tt>
<a name="L4720"></a><tt class="py-lineno">4720</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4721"></a><tt class="py-lineno">4721</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4722"></a><tt class="py-lineno">4722</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L4723"></a><tt class="py-lineno">4723</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">entry</tt> <tt class="py-keyword">in</tt> <tt id="link-1421" class="py-name"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-1421', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"pre_action_hook"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4724"></a><tt class="py-lineno">4724</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1422" class="py-name"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-1422', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4725"></a><tt class="py-lineno">4725</tt> <tt class="py-line"> <tt class="py-name">hook</tt> <tt class="py-op">=</tt> <tt id="link-1423" class="py-name" targets="Class CedarBackup2.config.PreActionHook=CedarBackup2.config.PreActionHook-class.html"><a title="CedarBackup2.config.PreActionHook" class="py-name" href="#" onclick="return doclink('link-1423', 'PreActionHook', 'link-1423');">PreActionHook</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4726"></a><tt class="py-lineno">4726</tt> <tt class="py-line"> <tt class="py-name">hook</tt><tt class="py-op">.</tt><tt id="link-1424" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1424', 'action', 'link-126');">action</a></tt> <tt class="py-op">=</tt> <tt id="link-1425" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1425', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"action"</tt><tt class="py-op">)</tt> </tt>
<a name="L4727"></a><tt class="py-lineno">4727</tt> <tt class="py-line"> <tt class="py-name">hook</tt><tt class="py-op">.</tt><tt id="link-1426" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-1426', 'command', 'link-128');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1427" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1427', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4728"></a><tt class="py-lineno">4728</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt id="link-1428" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1428', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">hook</tt><tt class="py-op">)</tt> </tt>
<a name="L4729"></a><tt class="py-lineno">4729</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">entry</tt> <tt class="py-keyword">in</tt> <tt id="link-1429" class="py-name"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-1429', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"post_action_hook"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4730"></a><tt class="py-lineno">4730</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1430" class="py-name"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-1430', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4731"></a><tt class="py-lineno">4731</tt> <tt class="py-line"> <tt class="py-name">hook</tt> <tt class="py-op">=</tt> <tt id="link-1431" class="py-name" targets="Class CedarBackup2.config.PostActionHook=CedarBackup2.config.PostActionHook-class.html"><a title="CedarBackup2.config.PostActionHook" class="py-name" href="#" onclick="return doclink('link-1431', 'PostActionHook', 'link-1431');">PostActionHook</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4732"></a><tt class="py-lineno">4732</tt> <tt class="py-line"> <tt class="py-name">hook</tt><tt class="py-op">.</tt><tt id="link-1432" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1432', 'action', 'link-126');">action</a></tt> <tt class="py-op">=</tt> <tt id="link-1433" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1433', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"action"</tt><tt class="py-op">)</tt> </tt>
<a name="L4733"></a><tt class="py-lineno">4733</tt> <tt class="py-line"> <tt class="py-name">hook</tt><tt class="py-op">.</tt><tt id="link-1434" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-1434', 'command', 'link-128');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1435" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1435', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4734"></a><tt class="py-lineno">4734</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt id="link-1436" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1436', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">hook</tt><tt class="py-op">)</tt> </tt>
<a name="L4735"></a><tt class="py-lineno">4735</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">lst</tt> <tt class="py-op">==</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L4736"></a><tt class="py-lineno">4736</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4737"></a><tt class="py-lineno">4737</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
</div><a name="L4738"></a><tt class="py-lineno">4738</tt> <tt class="py-line"> </tt>
<a name="L4739"></a><tt class="py-lineno">4739</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseCollectFiles"></a><div id="Config._parseCollectFiles-def"><a name="L4740"></a><tt class="py-lineno">4740</tt> <a class="py-toggle" href="#" id="Config._parseCollectFiles-toggle" onclick="return toggle('Config._parseCollectFiles');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseCollectFiles">_parseCollectFiles</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseCollectFiles-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseCollectFiles-expanded"><a name="L4741"></a><tt class="py-lineno">4741</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4742"></a><tt class="py-lineno">4742</tt> <tt class="py-line"><tt class="py-docstring"> Reads a list of C{CollectFile} objects from immediately beneath the parent.</tt> </tt>
<a name="L4743"></a><tt class="py-lineno">4743</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4744"></a><tt class="py-lineno">4744</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4745"></a><tt class="py-lineno">4745</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4746"></a><tt class="py-lineno">4746</tt> <tt class="py-line"><tt class="py-docstring"> absolutePath abs_path</tt> </tt>
<a name="L4747"></a><tt class="py-lineno">4747</tt> <tt class="py-line"><tt class="py-docstring"> collectMode mode I{or} collect_mode</tt> </tt>
<a name="L4748"></a><tt class="py-lineno">4748</tt> <tt class="py-line"><tt class="py-docstring"> archiveMode archive_mode</tt> </tt>
<a name="L4749"></a><tt class="py-lineno">4749</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4750"></a><tt class="py-lineno">4750</tt> <tt class="py-line"><tt class="py-docstring"> The collect mode is a special case. Just a C{mode} tag is accepted, but</tt> </tt>
<a name="L4751"></a><tt class="py-lineno">4751</tt> <tt class="py-line"><tt class="py-docstring"> we prefer C{collect_mode} for consistency with the rest of the config</tt> </tt>
<a name="L4752"></a><tt class="py-lineno">4752</tt> <tt class="py-line"><tt class="py-docstring"> file and to avoid confusion with the archive mode. If both are provided,</tt> </tt>
<a name="L4753"></a><tt class="py-lineno">4753</tt> <tt class="py-line"><tt class="py-docstring"> only C{mode} will be used.</tt> </tt>
<a name="L4754"></a><tt class="py-lineno">4754</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4755"></a><tt class="py-lineno">4755</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4756"></a><tt class="py-lineno">4756</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4757"></a><tt class="py-lineno">4757</tt> <tt class="py-line"><tt class="py-docstring"> @return: List of C{CollectFile} objects or C{None} if none are found.</tt> </tt>
<a name="L4758"></a><tt class="py-lineno">4758</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4759"></a><tt class="py-lineno">4759</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4760"></a><tt class="py-lineno">4760</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L4761"></a><tt class="py-lineno">4761</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">entry</tt> <tt class="py-keyword">in</tt> <tt id="link-1437" class="py-name"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-1437', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"file"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4762"></a><tt class="py-lineno">4762</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1438" class="py-name"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-1438', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4763"></a><tt class="py-lineno">4763</tt> <tt class="py-line"> <tt class="py-name">cfile</tt> <tt class="py-op">=</tt> <tt id="link-1439" class="py-name"><a title="CedarBackup2.config.CollectFile" class="py-name" href="#" onclick="return doclink('link-1439', 'CollectFile', 'link-876');">CollectFile</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4764"></a><tt class="py-lineno">4764</tt> <tt class="py-line"> <tt class="py-name">cfile</tt><tt class="py-op">.</tt><tt id="link-1440" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1440', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt id="link-1441" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1441', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">)</tt> </tt>
<a name="L4765"></a><tt class="py-lineno">4765</tt> <tt class="py-line"> <tt class="py-name">cfile</tt><tt class="py-op">.</tt><tt id="link-1442" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1442', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1443" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1443', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4766"></a><tt class="py-lineno">4766</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">cfile</tt><tt class="py-op">.</tt><tt id="link-1444" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1444', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4767"></a><tt class="py-lineno">4767</tt> <tt class="py-line"> <tt class="py-name">cfile</tt><tt class="py-op">.</tt><tt id="link-1445" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1445', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1446" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1446', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4768"></a><tt class="py-lineno">4768</tt> <tt class="py-line"> <tt class="py-name">cfile</tt><tt class="py-op">.</tt><tt id="link-1447" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1447', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1448" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1448', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"archive_mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4769"></a><tt class="py-lineno">4769</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt id="link-1449" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1449', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">cfile</tt><tt class="py-op">)</tt> </tt>
<a name="L4770"></a><tt class="py-lineno">4770</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">lst</tt> <tt class="py-op">==</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L4771"></a><tt class="py-lineno">4771</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4772"></a><tt class="py-lineno">4772</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
</div><a name="L4773"></a><tt class="py-lineno">4773</tt> <tt class="py-line"> </tt>
<a name="L4774"></a><tt class="py-lineno">4774</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseCollectDirs"></a><div id="Config._parseCollectDirs-def"><a name="L4775"></a><tt class="py-lineno">4775</tt> <a class="py-toggle" href="#" id="Config._parseCollectDirs-toggle" onclick="return toggle('Config._parseCollectDirs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseCollectDirs">_parseCollectDirs</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseCollectDirs-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseCollectDirs-expanded"><a name="L4776"></a><tt class="py-lineno">4776</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4777"></a><tt class="py-lineno">4777</tt> <tt class="py-line"><tt class="py-docstring"> Reads a list of C{CollectDir} objects from immediately beneath the parent.</tt> </tt>
<a name="L4778"></a><tt class="py-lineno">4778</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4779"></a><tt class="py-lineno">4779</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4780"></a><tt class="py-lineno">4780</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4781"></a><tt class="py-lineno">4781</tt> <tt class="py-line"><tt class="py-docstring"> absolutePath abs_path</tt> </tt>
<a name="L4782"></a><tt class="py-lineno">4782</tt> <tt class="py-line"><tt class="py-docstring"> collectMode mode I{or} collect_mode</tt> </tt>
<a name="L4783"></a><tt class="py-lineno">4783</tt> <tt class="py-line"><tt class="py-docstring"> archiveMode archive_mode</tt> </tt>
<a name="L4784"></a><tt class="py-lineno">4784</tt> <tt class="py-line"><tt class="py-docstring"> ignoreFile ignore_file</tt> </tt>
<a name="L4785"></a><tt class="py-lineno">4785</tt> <tt class="py-line"><tt class="py-docstring"> linkDepth link_depth</tt> </tt>
<a name="L4786"></a><tt class="py-lineno">4786</tt> <tt class="py-line"><tt class="py-docstring"> dereference dereference</tt> </tt>
<a name="L4787"></a><tt class="py-lineno">4787</tt> <tt class="py-line"><tt class="py-docstring"> recursionLevel recursion_level</tt> </tt>
<a name="L4788"></a><tt class="py-lineno">4788</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4789"></a><tt class="py-lineno">4789</tt> <tt class="py-line"><tt class="py-docstring"> The collect mode is a special case. Just a C{mode} tag is accepted for</tt> </tt>
<a name="L4790"></a><tt class="py-lineno">4790</tt> <tt class="py-line"><tt class="py-docstring"> backwards compatibility, but we prefer C{collect_mode} for consistency</tt> </tt>
<a name="L4791"></a><tt class="py-lineno">4791</tt> <tt class="py-line"><tt class="py-docstring"> with the rest of the config file and to avoid confusion with the archive</tt> </tt>
<a name="L4792"></a><tt class="py-lineno">4792</tt> <tt class="py-line"><tt class="py-docstring"> mode. If both are provided, only C{mode} will be used.</tt> </tt>
<a name="L4793"></a><tt class="py-lineno">4793</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4794"></a><tt class="py-lineno">4794</tt> <tt class="py-line"><tt class="py-docstring"> We also read groups of the following items, one list element per</tt> </tt>
<a name="L4795"></a><tt class="py-lineno">4795</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L4796"></a><tt class="py-lineno">4796</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4797"></a><tt class="py-lineno">4797</tt> <tt class="py-line"><tt class="py-docstring"> absoluteExcludePaths exclude/abs_path</tt> </tt>
<a name="L4798"></a><tt class="py-lineno">4798</tt> <tt class="py-line"><tt class="py-docstring"> relativeExcludePaths exclude/rel_path</tt> </tt>
<a name="L4799"></a><tt class="py-lineno">4799</tt> <tt class="py-line"><tt class="py-docstring"> excludePatterns exclude/pattern</tt> </tt>
<a name="L4800"></a><tt class="py-lineno">4800</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4801"></a><tt class="py-lineno">4801</tt> <tt class="py-line"><tt class="py-docstring"> The exclusions are parsed by L{_parseExclusions}.</tt> </tt>
<a name="L4802"></a><tt class="py-lineno">4802</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4803"></a><tt class="py-lineno">4803</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4804"></a><tt class="py-lineno">4804</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4805"></a><tt class="py-lineno">4805</tt> <tt class="py-line"><tt class="py-docstring"> @return: List of C{CollectDir} objects or C{None} if none are found.</tt> </tt>
<a name="L4806"></a><tt class="py-lineno">4806</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4807"></a><tt class="py-lineno">4807</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4808"></a><tt class="py-lineno">4808</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L4809"></a><tt class="py-lineno">4809</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">entry</tt> <tt class="py-keyword">in</tt> <tt id="link-1450" class="py-name"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-1450', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"dir"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4810"></a><tt class="py-lineno">4810</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1451" class="py-name"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-1451', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4811"></a><tt class="py-lineno">4811</tt> <tt class="py-line"> <tt class="py-name">cdir</tt> <tt class="py-op">=</tt> <tt id="link-1452" class="py-name"><a title="CedarBackup2.config.CollectDir" class="py-name" href="#" onclick="return doclink('link-1452', 'CollectDir', 'link-879');">CollectDir</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4812"></a><tt class="py-lineno">4812</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1453" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1453', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt id="link-1454" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1454', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">)</tt> </tt>
<a name="L4813"></a><tt class="py-lineno">4813</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1455" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1455', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1456" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1456', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4814"></a><tt class="py-lineno">4814</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1457" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1457', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4815"></a><tt class="py-lineno">4815</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1458" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1458', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1459" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1459', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4816"></a><tt class="py-lineno">4816</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1460" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1460', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1461" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1461', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"archive_mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4817"></a><tt class="py-lineno">4817</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1462" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-1462', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-op">=</tt> <tt id="link-1463" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1463', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"ignore_file"</tt><tt class="py-op">)</tt> </tt>
<a name="L4818"></a><tt class="py-lineno">4818</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1464" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-1464', 'linkDepth', 'link-320');">linkDepth</a></tt> <tt class="py-op">=</tt> <tt id="link-1465" class="py-name"><a title="CedarBackup2.xmlutil.readInteger" class="py-name" href="#" onclick="return doclink('link-1465', 'readInteger', 'link-33');">readInteger</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"link_depth"</tt><tt class="py-op">)</tt> </tt>
<a name="L4819"></a><tt class="py-lineno">4819</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1466" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-1466', 'dereference', 'link-322');">dereference</a></tt> <tt class="py-op">=</tt> <tt id="link-1467" class="py-name"><a title="CedarBackup2.xmlutil.readBoolean" class="py-name" href="#" onclick="return doclink('link-1467', 'readBoolean', 'link-34');">readBoolean</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"dereference"</tt><tt class="py-op">)</tt> </tt>
<a name="L4820"></a><tt class="py-lineno">4820</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1468" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-1468', 'recursionLevel', 'link-324');">recursionLevel</a></tt> <tt class="py-op">=</tt> <tt id="link-1469" class="py-name"><a title="CedarBackup2.xmlutil.readInteger" class="py-name" href="#" onclick="return doclink('link-1469', 'readInteger', 'link-33');">readInteger</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"recursion_level"</tt><tt class="py-op">)</tt> </tt>
<a name="L4821"></a><tt class="py-lineno">4821</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1470" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1470', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">,</tt> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1471" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-1471', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt><tt class="py-op">,</tt> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1472" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1472', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt id="link-1473" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1473', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1474" class="py-name"><a title="CedarBackup2.config.Config._parseExclusions
CedarBackup2.extend.mbox.LocalConfig._parseExclusions
CedarBackup2.extend.subversion.LocalConfig._parseExclusions" class="py-name" href="#" onclick="return doclink('link-1474', '_parseExclusions', 'link-1312');">_parseExclusions</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt> </tt>
<a name="L4822"></a><tt class="py-lineno">4822</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt id="link-1475" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1475', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">cdir</tt><tt class="py-op">)</tt> </tt>
<a name="L4823"></a><tt class="py-lineno">4823</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">lst</tt> <tt class="py-op">==</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L4824"></a><tt class="py-lineno">4824</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4825"></a><tt class="py-lineno">4825</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
</div><a name="L4826"></a><tt class="py-lineno">4826</tt> <tt class="py-line"> </tt>
<a name="L4827"></a><tt class="py-lineno">4827</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parsePurgeDirs"></a><div id="Config._parsePurgeDirs-def"><a name="L4828"></a><tt class="py-lineno">4828</tt> <a class="py-toggle" href="#" id="Config._parsePurgeDirs-toggle" onclick="return toggle('Config._parsePurgeDirs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parsePurgeDirs">_parsePurgeDirs</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parsePurgeDirs-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parsePurgeDirs-expanded"><a name="L4829"></a><tt class="py-lineno">4829</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4830"></a><tt class="py-lineno">4830</tt> <tt class="py-line"><tt class="py-docstring"> Reads a list of C{PurgeDir} objects from immediately beneath the parent.</tt> </tt>
<a name="L4831"></a><tt class="py-lineno">4831</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4832"></a><tt class="py-lineno">4832</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4833"></a><tt class="py-lineno">4833</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4834"></a><tt class="py-lineno">4834</tt> <tt class="py-line"><tt class="py-docstring"> absolutePath <baseExpr>/abs_path</tt> </tt>
<a name="L4835"></a><tt class="py-lineno">4835</tt> <tt class="py-line"><tt class="py-docstring"> retainDays <baseExpr>/retain_days</tt> </tt>
<a name="L4836"></a><tt class="py-lineno">4836</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4837"></a><tt class="py-lineno">4837</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4838"></a><tt class="py-lineno">4838</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4839"></a><tt class="py-lineno">4839</tt> <tt class="py-line"><tt class="py-docstring"> @return: List of C{PurgeDir} objects or C{None} if none are found.</tt> </tt>
<a name="L4840"></a><tt class="py-lineno">4840</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the data at the location can't be read</tt> </tt>
<a name="L4841"></a><tt class="py-lineno">4841</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4842"></a><tt class="py-lineno">4842</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L4843"></a><tt class="py-lineno">4843</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">entry</tt> <tt class="py-keyword">in</tt> <tt id="link-1476" class="py-name"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-1476', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"dir"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4844"></a><tt class="py-lineno">4844</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1477" class="py-name"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-1477', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4845"></a><tt class="py-lineno">4845</tt> <tt class="py-line"> <tt class="py-name">cdir</tt> <tt class="py-op">=</tt> <tt id="link-1478" class="py-name"><a title="CedarBackup2.config.PurgeDir" class="py-name" href="#" onclick="return doclink('link-1478', 'PurgeDir', 'link-1086');">PurgeDir</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4846"></a><tt class="py-lineno">4846</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1479" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1479', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-op">=</tt> <tt id="link-1480" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1480', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">)</tt> </tt>
<a name="L4847"></a><tt class="py-lineno">4847</tt> <tt class="py-line"> <tt class="py-name">cdir</tt><tt class="py-op">.</tt><tt id="link-1481" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-1481', 'retainDays', 'link-426');">retainDays</a></tt> <tt class="py-op">=</tt> <tt id="link-1482" class="py-name"><a title="CedarBackup2.xmlutil.readInteger" class="py-name" href="#" onclick="return doclink('link-1482', 'readInteger', 'link-33');">readInteger</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"retain_days"</tt><tt class="py-op">)</tt> </tt>
<a name="L4848"></a><tt class="py-lineno">4848</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt id="link-1483" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1483', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">cdir</tt><tt class="py-op">)</tt> </tt>
<a name="L4849"></a><tt class="py-lineno">4849</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">lst</tt> <tt class="py-op">==</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L4850"></a><tt class="py-lineno">4850</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4851"></a><tt class="py-lineno">4851</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
</div><a name="L4852"></a><tt class="py-lineno">4852</tt> <tt class="py-line"> </tt>
<a name="L4853"></a><tt class="py-lineno">4853</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parsePeerList"></a><div id="Config._parsePeerList-def"><a name="L4854"></a><tt class="py-lineno">4854</tt> <a class="py-toggle" href="#" id="Config._parsePeerList-toggle" onclick="return toggle('Config._parsePeerList');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parsePeerList">_parsePeerList</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parsePeerList-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parsePeerList-expanded"><a name="L4855"></a><tt class="py-lineno">4855</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4856"></a><tt class="py-lineno">4856</tt> <tt class="py-line"><tt class="py-docstring"> Reads remote and local peer data from immediately beneath the parent.</tt> </tt>
<a name="L4857"></a><tt class="py-lineno">4857</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4858"></a><tt class="py-lineno">4858</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields for both remote</tt> </tt>
<a name="L4859"></a><tt class="py-lineno">4859</tt> <tt class="py-line"><tt class="py-docstring"> and local peers::</tt> </tt>
<a name="L4860"></a><tt class="py-lineno">4860</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4861"></a><tt class="py-lineno">4861</tt> <tt class="py-line"><tt class="py-docstring"> name name</tt> </tt>
<a name="L4862"></a><tt class="py-lineno">4862</tt> <tt class="py-line"><tt class="py-docstring"> collectDir collect_dir</tt> </tt>
<a name="L4863"></a><tt class="py-lineno">4863</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4864"></a><tt class="py-lineno">4864</tt> <tt class="py-line"><tt class="py-docstring"> We also read the following individual fields for remote peers</tt> </tt>
<a name="L4865"></a><tt class="py-lineno">4865</tt> <tt class="py-line"><tt class="py-docstring"> only::</tt> </tt>
<a name="L4866"></a><tt class="py-lineno">4866</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4867"></a><tt class="py-lineno">4867</tt> <tt class="py-line"><tt class="py-docstring"> remoteUser backup_user</tt> </tt>
<a name="L4868"></a><tt class="py-lineno">4868</tt> <tt class="py-line"><tt class="py-docstring"> rcpCommand rcp_command</tt> </tt>
<a name="L4869"></a><tt class="py-lineno">4869</tt> <tt class="py-line"><tt class="py-docstring"> rshCommand rsh_command</tt> </tt>
<a name="L4870"></a><tt class="py-lineno">4870</tt> <tt class="py-line"><tt class="py-docstring"> cbackCommand cback_command</tt> </tt>
<a name="L4871"></a><tt class="py-lineno">4871</tt> <tt class="py-line"><tt class="py-docstring"> managed managed</tt> </tt>
<a name="L4872"></a><tt class="py-lineno">4872</tt> <tt class="py-line"><tt class="py-docstring"> managedActions managed_actions</tt> </tt>
<a name="L4873"></a><tt class="py-lineno">4873</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4874"></a><tt class="py-lineno">4874</tt> <tt class="py-line"><tt class="py-docstring"> Additionally, the value in the C{type} field is used to determine whether</tt> </tt>
<a name="L4875"></a><tt class="py-lineno">4875</tt> <tt class="py-line"><tt class="py-docstring"> this entry is a remote peer. If the type is C{"remote"}, it's a remote</tt> </tt>
<a name="L4876"></a><tt class="py-lineno">4876</tt> <tt class="py-line"><tt class="py-docstring"> peer, and if the type is C{"local"}, it's a remote peer.</tt> </tt>
<a name="L4877"></a><tt class="py-lineno">4877</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4878"></a><tt class="py-lineno">4878</tt> <tt class="py-line"><tt class="py-docstring"> If there are none of one type of peer (i.e. no local peers) then C{None}</tt> </tt>
<a name="L4879"></a><tt class="py-lineno">4879</tt> <tt class="py-line"><tt class="py-docstring"> will be returned for that item in the tuple. </tt> </tt>
<a name="L4880"></a><tt class="py-lineno">4880</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4881"></a><tt class="py-lineno">4881</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4882"></a><tt class="py-lineno">4882</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4883"></a><tt class="py-lineno">4883</tt> <tt class="py-line"><tt class="py-docstring"> @return: Tuple of (local, remote) peer lists.</tt> </tt>
<a name="L4884"></a><tt class="py-lineno">4884</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the data at the location can't be read</tt> </tt>
<a name="L4885"></a><tt class="py-lineno">4885</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4886"></a><tt class="py-lineno">4886</tt> <tt class="py-line"> <tt id="link-1484" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1484', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L4887"></a><tt class="py-lineno">4887</tt> <tt class="py-line"> <tt id="link-1485" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1485', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L4888"></a><tt class="py-lineno">4888</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">entry</tt> <tt class="py-keyword">in</tt> <tt id="link-1486" class="py-name"><a title="CedarBackup2.xmlutil.readChildren" class="py-name" href="#" onclick="return doclink('link-1486', 'readChildren', 'link-27');">readChildren</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"peer"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4889"></a><tt class="py-lineno">4889</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1487" class="py-name"><a title="CedarBackup2.xmlutil.isElement" class="py-name" href="#" onclick="return doclink('link-1487', 'isElement', 'link-26');">isElement</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L4890"></a><tt class="py-lineno">4890</tt> <tt class="py-line"> <tt class="py-name">peerType</tt> <tt class="py-op">=</tt> <tt id="link-1488" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1488', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"type"</tt><tt class="py-op">)</tt> </tt>
<a name="L4891"></a><tt class="py-lineno">4891</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">peerType</tt> <tt class="py-op">==</tt> <tt class="py-string">"local"</tt><tt class="py-op">:</tt> </tt>
<a name="L4892"></a><tt class="py-lineno">4892</tt> <tt class="py-line"> <tt class="py-name">localPeer</tt> <tt class="py-op">=</tt> <tt id="link-1489" class="py-name"><a title="CedarBackup2.config.LocalPeer
CedarBackup2.peer.LocalPeer" class="py-name" href="#" onclick="return doclink('link-1489', 'LocalPeer', 'link-797');">LocalPeer</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4893"></a><tt class="py-lineno">4893</tt> <tt class="py-line"> <tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-1490" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-1490', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-1491" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1491', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"name"</tt><tt class="py-op">)</tt> </tt>
<a name="L4894"></a><tt class="py-lineno">4894</tt> <tt class="py-line"> <tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-1492" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1492', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op">=</tt> <tt id="link-1493" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1493', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_dir"</tt><tt class="py-op">)</tt> </tt>
<a name="L4895"></a><tt class="py-lineno">4895</tt> <tt class="py-line"> <tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-1494" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-1494', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1495" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1495', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"ignore_failures"</tt><tt class="py-op">)</tt> </tt>
<a name="L4896"></a><tt class="py-lineno">4896</tt> <tt class="py-line"> <tt id="link-1496" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1496', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">.</tt><tt id="link-1497" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1497', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">localPeer</tt><tt class="py-op">)</tt> </tt>
<a name="L4897"></a><tt class="py-lineno">4897</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">peerType</tt> <tt class="py-op">==</tt> <tt class="py-string">"remote"</tt><tt class="py-op">:</tt> </tt>
<a name="L4898"></a><tt class="py-lineno">4898</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt> <tt class="py-op">=</tt> <tt id="link-1498" class="py-name"><a title="CedarBackup2.config.RemotePeer
CedarBackup2.peer.RemotePeer" class="py-name" href="#" onclick="return doclink('link-1498', 'RemotePeer', 'link-800');">RemotePeer</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4899"></a><tt class="py-lineno">4899</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1499" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-1499', 'name', 'link-201');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-1500" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1500', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"name"</tt><tt class="py-op">)</tt> </tt>
<a name="L4900"></a><tt class="py-lineno">4900</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1501" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1501', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-op">=</tt> <tt id="link-1502" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1502', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_dir"</tt><tt class="py-op">)</tt> </tt>
<a name="L4901"></a><tt class="py-lineno">4901</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1503" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-1503', 'remoteUser', 'link-484');">remoteUser</a></tt> <tt class="py-op">=</tt> <tt id="link-1504" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1504', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"backup_user"</tt><tt class="py-op">)</tt> </tt>
<a name="L4902"></a><tt class="py-lineno">4902</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1505" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-1505', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-1506" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1506', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"rcp_command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4903"></a><tt class="py-lineno">4903</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1507" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-1507', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-1508" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1508', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"rsh_command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4904"></a><tt class="py-lineno">4904</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1509" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-1509', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-op">=</tt> <tt id="link-1510" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1510', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"cback_command"</tt><tt class="py-op">)</tt> </tt>
<a name="L4905"></a><tt class="py-lineno">4905</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1511" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-1511', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1512" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1512', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"ignore_failures"</tt><tt class="py-op">)</tt> </tt>
<a name="L4906"></a><tt class="py-lineno">4906</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1513" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-1513', 'managed', 'link-492');">managed</a></tt> <tt class="py-op">=</tt> <tt id="link-1514" class="py-name"><a title="CedarBackup2.xmlutil.readBoolean" class="py-name" href="#" onclick="return doclink('link-1514', 'readBoolean', 'link-34');">readBoolean</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"managed"</tt><tt class="py-op">)</tt> </tt>
<a name="L4907"></a><tt class="py-lineno">4907</tt> <tt class="py-line"> <tt id="link-1515" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1515', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt id="link-1516" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1516', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">entry</tt><tt class="py-op">,</tt> <tt class="py-string">"managed_actions"</tt><tt class="py-op">)</tt> </tt>
<a name="L4908"></a><tt class="py-lineno">4908</tt> <tt class="py-line"> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1517" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1517', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt id="link-1518" class="py-name"><a title="CedarBackup2.util.parseCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-1518', 'parseCommaSeparatedString', 'link-10');">parseCommaSeparatedString</a></tt><tt class="py-op">(</tt><tt id="link-1519" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1519', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4909"></a><tt class="py-lineno">4909</tt> <tt class="py-line"> <tt id="link-1520" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1520', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">.</tt><tt id="link-1521" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1521', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">remotePeer</tt><tt class="py-op">)</tt> </tt>
<a name="L4910"></a><tt class="py-lineno">4910</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1522" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1522', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">==</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L4911"></a><tt class="py-lineno">4911</tt> <tt class="py-line"> <tt id="link-1523" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1523', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4912"></a><tt class="py-lineno">4912</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1524" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1524', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">==</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L4913"></a><tt class="py-lineno">4913</tt> <tt class="py-line"> <tt id="link-1525" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1525', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4914"></a><tt class="py-lineno">4914</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt id="link-1526" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1526', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">,</tt> <tt id="link-1527" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1527', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L4915"></a><tt class="py-lineno">4915</tt> <tt class="py-line"> </tt>
<a name="L4916"></a><tt class="py-lineno">4916</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseDependencies"></a><div id="Config._parseDependencies-def"><a name="L4917"></a><tt class="py-lineno">4917</tt> <a class="py-toggle" href="#" id="Config._parseDependencies-toggle" onclick="return toggle('Config._parseDependencies');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseDependencies">_parseDependencies</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseDependencies-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseDependencies-expanded"><a name="L4918"></a><tt class="py-lineno">4918</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4919"></a><tt class="py-lineno">4919</tt> <tt class="py-line"><tt class="py-docstring"> Reads extended action dependency information from a parent node.</tt> </tt>
<a name="L4920"></a><tt class="py-lineno">4920</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4921"></a><tt class="py-lineno">4921</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4922"></a><tt class="py-lineno">4922</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4923"></a><tt class="py-lineno">4923</tt> <tt class="py-line"><tt class="py-docstring"> runBefore depends/run_before</tt> </tt>
<a name="L4924"></a><tt class="py-lineno">4924</tt> <tt class="py-line"><tt class="py-docstring"> runAfter depends/run_after</tt> </tt>
<a name="L4925"></a><tt class="py-lineno">4925</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4926"></a><tt class="py-lineno">4926</tt> <tt class="py-line"><tt class="py-docstring"> Each of these fields is a comma-separated list of action names.</tt> </tt>
<a name="L4927"></a><tt class="py-lineno">4927</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L4928"></a><tt class="py-lineno">4928</tt> <tt class="py-line"><tt class="py-docstring"> The result is placed into an C{ActionDependencies} object.</tt> </tt>
<a name="L4929"></a><tt class="py-lineno">4929</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L4930"></a><tt class="py-lineno">4930</tt> <tt class="py-line"><tt class="py-docstring"> If the dependencies parent node does not exist, C{None} will be returned.</tt> </tt>
<a name="L4931"></a><tt class="py-lineno">4931</tt> <tt class="py-line"><tt class="py-docstring"> Otherwise, an C{ActionDependencies} object will always be created, even</tt> </tt>
<a name="L4932"></a><tt class="py-lineno">4932</tt> <tt class="py-line"><tt class="py-docstring"> if it does not contain any actual dependencies in it.</tt> </tt>
<a name="L4933"></a><tt class="py-lineno">4933</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4934"></a><tt class="py-lineno">4934</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4935"></a><tt class="py-lineno">4935</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4936"></a><tt class="py-lineno">4936</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{ActionDependencies} object or C{None}.</tt> </tt>
<a name="L4937"></a><tt class="py-lineno">4937</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If the data at the location can't be read</tt> </tt>
<a name="L4938"></a><tt class="py-lineno">4938</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4939"></a><tt class="py-lineno">4939</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1528" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1528', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"depends"</tt><tt class="py-op">)</tt> </tt>
<a name="L4940"></a><tt class="py-lineno">4940</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4941"></a><tt class="py-lineno">4941</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L4942"></a><tt class="py-lineno">4942</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L4943"></a><tt class="py-lineno">4943</tt> <tt class="py-line"> <tt class="py-name">runBefore</tt> <tt class="py-op">=</tt> <tt id="link-1529" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1529', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"run_before"</tt><tt class="py-op">)</tt> </tt>
<a name="L4944"></a><tt class="py-lineno">4944</tt> <tt class="py-line"> <tt class="py-name">runAfter</tt> <tt class="py-op">=</tt> <tt id="link-1530" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1530', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"run_after"</tt><tt class="py-op">)</tt> </tt>
<a name="L4945"></a><tt class="py-lineno">4945</tt> <tt class="py-line"> <tt id="link-1531" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-1531', 'beforeList', 'link-99');">beforeList</a></tt> <tt class="py-op">=</tt> <tt id="link-1532" class="py-name"><a title="CedarBackup2.util.parseCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-1532', 'parseCommaSeparatedString', 'link-10');">parseCommaSeparatedString</a></tt><tt class="py-op">(</tt><tt class="py-name">runBefore</tt><tt class="py-op">)</tt> </tt>
<a name="L4946"></a><tt class="py-lineno">4946</tt> <tt class="py-line"> <tt id="link-1533" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-1533', 'afterList', 'link-101');">afterList</a></tt> <tt class="py-op">=</tt> <tt id="link-1534" class="py-name"><a title="CedarBackup2.util.parseCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-1534', 'parseCommaSeparatedString', 'link-10');">parseCommaSeparatedString</a></tt><tt class="py-op">(</tt><tt class="py-name">runAfter</tt><tt class="py-op">)</tt> </tt>
<a name="L4947"></a><tt class="py-lineno">4947</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1535" class="py-name"><a title="CedarBackup2.config.ActionDependencies" class="py-name" href="#" onclick="return doclink('link-1535', 'ActionDependencies', 'link-238');">ActionDependencies</a></tt><tt class="py-op">(</tt><tt id="link-1536" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-1536', 'beforeList', 'link-99');">beforeList</a></tt><tt class="py-op">,</tt> <tt id="link-1537" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-1537', 'afterList', 'link-101');">afterList</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L4948"></a><tt class="py-lineno">4948</tt> <tt class="py-line"> </tt>
<a name="L4949"></a><tt class="py-lineno">4949</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._parseBlankBehavior"></a><div id="Config._parseBlankBehavior-def"><a name="L4950"></a><tt class="py-lineno">4950</tt> <a class="py-toggle" href="#" id="Config._parseBlankBehavior-toggle" onclick="return toggle('Config._parseBlankBehavior');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_parseBlankBehavior">_parseBlankBehavior</a><tt class="py-op">(</tt><tt class="py-param">parentNode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._parseBlankBehavior-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._parseBlankBehavior-expanded"><a name="L4951"></a><tt class="py-lineno">4951</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4952"></a><tt class="py-lineno">4952</tt> <tt class="py-line"><tt class="py-docstring"> Reads a single C{BlankBehavior} object from immediately beneath the parent.</tt> </tt>
<a name="L4953"></a><tt class="py-lineno">4953</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4954"></a><tt class="py-lineno">4954</tt> <tt class="py-line"><tt class="py-docstring"> We read the following individual fields::</tt> </tt>
<a name="L4955"></a><tt class="py-lineno">4955</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4956"></a><tt class="py-lineno">4956</tt> <tt class="py-line"><tt class="py-docstring"> blankMode blank_behavior/mode</tt> </tt>
<a name="L4957"></a><tt class="py-lineno">4957</tt> <tt class="py-line"><tt class="py-docstring"> blankFactor blank_behavior/factor</tt> </tt>
<a name="L4958"></a><tt class="py-lineno">4958</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4959"></a><tt class="py-lineno">4959</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to search beneath.</tt> </tt>
<a name="L4960"></a><tt class="py-lineno">4960</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4961"></a><tt class="py-lineno">4961</tt> <tt class="py-line"><tt class="py-docstring"> @return: C{BlankBehavior} object or C{None} if none if the section is not found</tt> </tt>
<a name="L4962"></a><tt class="py-lineno">4962</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If some filled-in value is invalid.</tt> </tt>
<a name="L4963"></a><tt class="py-lineno">4963</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4964"></a><tt class="py-lineno">4964</tt> <tt class="py-line"> <tt id="link-1538" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1538', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L4965"></a><tt class="py-lineno">4965</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1539" class="py-name"><a title="CedarBackup2.xmlutil.readFirstChild" class="py-name" href="#" onclick="return doclink('link-1539', 'readFirstChild', 'link-28');">readFirstChild</a></tt><tt class="py-op">(</tt><tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"blank_behavior"</tt><tt class="py-op">)</tt> </tt>
<a name="L4966"></a><tt class="py-lineno">4966</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sectionNode</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L4967"></a><tt class="py-lineno">4967</tt> <tt class="py-line"> <tt id="link-1540" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1540', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-op">=</tt> <tt id="link-1541" class="py-name"><a title="CedarBackup2.config.BlankBehavior" class="py-name" href="#" onclick="return doclink('link-1541', 'BlankBehavior', 'link-1040');">BlankBehavior</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4968"></a><tt class="py-lineno">4968</tt> <tt class="py-line"> <tt id="link-1542" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1542', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">.</tt><tt id="link-1543" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-1543', 'blankMode', 'link-178');">blankMode</a></tt> <tt class="py-op">=</tt> <tt id="link-1544" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1544', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"mode"</tt><tt class="py-op">)</tt> </tt>
<a name="L4969"></a><tt class="py-lineno">4969</tt> <tt class="py-line"> <tt id="link-1545" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1545', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">.</tt><tt id="link-1546" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-1546', 'blankFactor', 'link-180');">blankFactor</a></tt> <tt class="py-op">=</tt> <tt id="link-1547" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-1547', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"factor"</tt><tt class="py-op">)</tt> </tt>
<a name="L4970"></a><tt class="py-lineno">4970</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-1548" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1548', 'blankBehavior', 'link-967');">blankBehavior</a></tt> </tt>
</div><a name="L4971"></a><tt class="py-lineno">4971</tt> <tt class="py-line"> </tt>
<a name="L4972"></a><tt class="py-lineno">4972</tt> <tt class="py-line"> </tt>
<a name="L4973"></a><tt class="py-lineno">4973</tt> <tt class="py-line"> <tt class="py-comment">########################################</tt> </tt>
<a name="L4974"></a><tt class="py-lineno">4974</tt> <tt class="py-line"> <tt class="py-comment"># High-level methods for generating XML</tt> </tt>
<a name="L4975"></a><tt class="py-lineno">4975</tt> <tt class="py-line"> <tt class="py-comment">########################################</tt> </tt>
<a name="L4976"></a><tt class="py-lineno">4976</tt> <tt class="py-line"> </tt>
<a name="Config._extractXml"></a><div id="Config._extractXml-def"><a name="L4977"></a><tt class="py-lineno">4977</tt> <a class="py-toggle" href="#" id="Config._extractXml-toggle" onclick="return toggle('Config._extractXml');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_extractXml">_extractXml</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._extractXml-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._extractXml-expanded"><a name="L4978"></a><tt class="py-lineno">4978</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L4979"></a><tt class="py-lineno">4979</tt> <tt class="py-line"><tt class="py-docstring"> Internal method to extract configuration into an XML string.</tt> </tt>
<a name="L4980"></a><tt class="py-lineno">4980</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4981"></a><tt class="py-lineno">4981</tt> <tt class="py-line"><tt class="py-docstring"> This method assumes that the internal L{validate} method has been called</tt> </tt>
<a name="L4982"></a><tt class="py-lineno">4982</tt> <tt class="py-line"><tt class="py-docstring"> prior to extracting the XML, if the caller cares. No validation will be</tt> </tt>
<a name="L4983"></a><tt class="py-lineno">4983</tt> <tt class="py-line"><tt class="py-docstring"> done internally.</tt> </tt>
<a name="L4984"></a><tt class="py-lineno">4984</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4985"></a><tt class="py-lineno">4985</tt> <tt class="py-line"><tt class="py-docstring"> As a general rule, fields that are set to C{None} will be extracted into</tt> </tt>
<a name="L4986"></a><tt class="py-lineno">4986</tt> <tt class="py-line"><tt class="py-docstring"> the document as empty tags. The same goes for container tags that are</tt> </tt>
<a name="L4987"></a><tt class="py-lineno">4987</tt> <tt class="py-line"><tt class="py-docstring"> filled based on lists - if the list is empty or C{None}, the container</tt> </tt>
<a name="L4988"></a><tt class="py-lineno">4988</tt> <tt class="py-line"><tt class="py-docstring"> tag will be empty.</tt> </tt>
<a name="L4989"></a><tt class="py-lineno">4989</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L4990"></a><tt class="py-lineno">4990</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt id="link-1549" class="py-name"><a title="CedarBackup2.xmlutil.createOutputDom" class="py-name" href="#" onclick="return doclink('link-1549', 'createOutputDom', 'link-44');">createOutputDom</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L4991"></a><tt class="py-lineno">4991</tt> <tt class="py-line"> <tt id="link-1550" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1550', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1551" class="py-name" targets="Static Method CedarBackup2.config.Config._addReference()=CedarBackup2.config.Config-class.html#_addReference"><a title="CedarBackup2.config.Config._addReference" class="py-name" href="#" onclick="return doclink('link-1551', '_addReference', 'link-1551');">_addReference</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1552" class="py-name"><a title="CedarBackup2.config.Config.reference" class="py-name" href="#" onclick="return doclink('link-1552', 'reference', 'link-1091');">reference</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4992"></a><tt class="py-lineno">4992</tt> <tt class="py-line"> <tt id="link-1553" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1553', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1554" class="py-name" targets="Static Method CedarBackup2.config.Config._addExtensions()=CedarBackup2.config.Config-class.html#_addExtensions"><a title="CedarBackup2.config.Config._addExtensions" class="py-name" href="#" onclick="return doclink('link-1554', '_addExtensions', 'link-1554');">_addExtensions</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1555" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1555', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4993"></a><tt class="py-lineno">4993</tt> <tt class="py-line"> <tt id="link-1556" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1556', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1557" class="py-name" targets="Static Method CedarBackup2.config.Config._addOptions()=CedarBackup2.config.Config-class.html#_addOptions"><a title="CedarBackup2.config.Config._addOptions" class="py-name" href="#" onclick="return doclink('link-1557', '_addOptions', 'link-1557');">_addOptions</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1558" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1558', 'options', 'link-1093');">options</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4994"></a><tt class="py-lineno">4994</tt> <tt class="py-line"> <tt id="link-1559" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1559', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1560" class="py-name" targets="Static Method CedarBackup2.config.Config._addPeers()=CedarBackup2.config.Config-class.html#_addPeers"><a title="CedarBackup2.config.Config._addPeers" class="py-name" href="#" onclick="return doclink('link-1560', '_addPeers', 'link-1560');">_addPeers</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1561" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1561', 'peers', 'link-1094');">peers</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4995"></a><tt class="py-lineno">4995</tt> <tt class="py-line"> <tt id="link-1562" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1562', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1563" class="py-name" targets="Static Method CedarBackup2.config.Config._addCollect()=CedarBackup2.config.Config-class.html#_addCollect"><a title="CedarBackup2.config.Config._addCollect" class="py-name" href="#" onclick="return doclink('link-1563', '_addCollect', 'link-1563');">_addCollect</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1564" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1564', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4996"></a><tt class="py-lineno">4996</tt> <tt class="py-line"> <tt id="link-1565" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1565', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1566" class="py-name" targets="Static Method CedarBackup2.config.Config._addStage()=CedarBackup2.config.Config-class.html#_addStage"><a title="CedarBackup2.config.Config._addStage" class="py-name" href="#" onclick="return doclink('link-1566', '_addStage', 'link-1566');">_addStage</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1567" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1567', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4997"></a><tt class="py-lineno">4997</tt> <tt class="py-line"> <tt id="link-1568" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1568', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1569" class="py-name" targets="Static Method CedarBackup2.config.Config._addStore()=CedarBackup2.config.Config-class.html#_addStore"><a title="CedarBackup2.config.Config._addStore" class="py-name" href="#" onclick="return doclink('link-1569', '_addStore', 'link-1569');">_addStore</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1570" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1570', 'store', 'link-1097');">store</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4998"></a><tt class="py-lineno">4998</tt> <tt class="py-line"> <tt id="link-1571" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1571', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1572" class="py-name" targets="Static Method CedarBackup2.config.Config._addPurge()=CedarBackup2.config.Config-class.html#_addPurge"><a title="CedarBackup2.config.Config._addPurge" class="py-name" href="#" onclick="return doclink('link-1572', '_addPurge', 'link-1572');">_addPurge</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1573" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1573', 'purge', 'link-1098');">purge</a></tt><tt class="py-op">)</tt> </tt>
<a name="L4999"></a><tt class="py-lineno">4999</tt> <tt class="py-line"> <tt class="py-name">xmlData</tt> <tt class="py-op">=</tt> <tt id="link-1574" class="py-name"><a title="CedarBackup2.xmlutil.serializeDom" class="py-name" href="#" onclick="return doclink('link-1574', 'serializeDom', 'link-45');">serializeDom</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">)</tt> </tt>
<a name="L5000"></a><tt class="py-lineno">5000</tt> <tt class="py-line"> <tt class="py-name">xmlDom</tt><tt class="py-op">.</tt><tt class="py-name">unlink</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5001"></a><tt class="py-lineno">5001</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">xmlData</tt> </tt>
</div><a name="L5002"></a><tt class="py-lineno">5002</tt> <tt class="py-line"> </tt>
<a name="L5003"></a><tt class="py-lineno">5003</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addReference"></a><div id="Config._addReference-def"><a name="L5004"></a><tt class="py-lineno">5004</tt> <a class="py-toggle" href="#" id="Config._addReference-toggle" onclick="return toggle('Config._addReference');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addReference">_addReference</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">referenceConfig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addReference-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addReference-expanded"><a name="L5005"></a><tt class="py-lineno">5005</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5006"></a><tt class="py-lineno">5006</tt> <tt class="py-line"><tt class="py-docstring"> Adds a <reference> configuration section as the next child of a parent.</tt> </tt>
<a name="L5007"></a><tt class="py-lineno">5007</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5008"></a><tt class="py-lineno">5008</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5009"></a><tt class="py-lineno">5009</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5010"></a><tt class="py-lineno">5010</tt> <tt class="py-line"><tt class="py-docstring"> author //cb_config/reference/author</tt> </tt>
<a name="L5011"></a><tt class="py-lineno">5011</tt> <tt class="py-line"><tt class="py-docstring"> revision //cb_config/reference/revision</tt> </tt>
<a name="L5012"></a><tt class="py-lineno">5012</tt> <tt class="py-line"><tt class="py-docstring"> description //cb_config/reference/description</tt> </tt>
<a name="L5013"></a><tt class="py-lineno">5013</tt> <tt class="py-line"><tt class="py-docstring"> generator //cb_config/reference/generator</tt> </tt>
<a name="L5014"></a><tt class="py-lineno">5014</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5015"></a><tt class="py-lineno">5015</tt> <tt class="py-line"><tt class="py-docstring"> If C{referenceConfig} is C{None}, then no container will be added.</tt> </tt>
<a name="L5016"></a><tt class="py-lineno">5016</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5017"></a><tt class="py-lineno">5017</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5018"></a><tt class="py-lineno">5018</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5019"></a><tt class="py-lineno">5019</tt> <tt class="py-line"><tt class="py-docstring"> @param referenceConfig: Reference configuration section to be added to the document.</tt> </tt>
<a name="L5020"></a><tt class="py-lineno">5020</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5021"></a><tt class="py-lineno">5021</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">referenceConfig</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5022"></a><tt class="py-lineno">5022</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1575" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1575', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"reference"</tt><tt class="py-op">)</tt> </tt>
<a name="L5023"></a><tt class="py-lineno">5023</tt> <tt class="py-line"> <tt id="link-1576" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1576', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"author"</tt><tt class="py-op">,</tt> <tt class="py-name">referenceConfig</tt><tt class="py-op">.</tt><tt id="link-1577" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.author" class="py-name" href="#" onclick="return doclink('link-1577', 'author', 'link-577');">author</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5024"></a><tt class="py-lineno">5024</tt> <tt class="py-line"> <tt id="link-1578" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1578', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"revision"</tt><tt class="py-op">,</tt> <tt class="py-name">referenceConfig</tt><tt class="py-op">.</tt><tt id="link-1579" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.revision" class="py-name" href="#" onclick="return doclink('link-1579', 'revision', 'link-579');">revision</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5025"></a><tt class="py-lineno">5025</tt> <tt class="py-line"> <tt id="link-1580" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1580', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"description"</tt><tt class="py-op">,</tt> <tt class="py-name">referenceConfig</tt><tt class="py-op">.</tt><tt id="link-1581" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.description" class="py-name" href="#" onclick="return doclink('link-1581', 'description', 'link-581');">description</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5026"></a><tt class="py-lineno">5026</tt> <tt class="py-line"> <tt id="link-1582" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1582', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"generator"</tt><tt class="py-op">,</tt> <tt class="py-name">referenceConfig</tt><tt class="py-op">.</tt><tt id="link-1583" class="py-name"><a title="CedarBackup2.config.ReferenceConfig.generator" class="py-name" href="#" onclick="return doclink('link-1583', 'generator', 'link-583');">generator</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5027"></a><tt class="py-lineno">5027</tt> <tt class="py-line"> </tt>
<a name="L5028"></a><tt class="py-lineno">5028</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addExtensions"></a><div id="Config._addExtensions-def"><a name="L5029"></a><tt class="py-lineno">5029</tt> <a class="py-toggle" href="#" id="Config._addExtensions-toggle" onclick="return toggle('Config._addExtensions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addExtensions">_addExtensions</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">extensionsConfig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addExtensions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addExtensions-expanded"><a name="L5030"></a><tt class="py-lineno">5030</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5031"></a><tt class="py-lineno">5031</tt> <tt class="py-line"><tt class="py-docstring"> Adds an <extensions> configuration section as the next child of a parent.</tt> </tt>
<a name="L5032"></a><tt class="py-lineno">5032</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5033"></a><tt class="py-lineno">5033</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5034"></a><tt class="py-lineno">5034</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5035"></a><tt class="py-lineno">5035</tt> <tt class="py-line"><tt class="py-docstring"> order_mode //cb_config/extensions/order_mode</tt> </tt>
<a name="L5036"></a><tt class="py-lineno">5036</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5037"></a><tt class="py-lineno">5037</tt> <tt class="py-line"><tt class="py-docstring"> We also add groups of the following items, one list element per item::</tt> </tt>
<a name="L5038"></a><tt class="py-lineno">5038</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5039"></a><tt class="py-lineno">5039</tt> <tt class="py-line"><tt class="py-docstring"> actions //cb_config/extensions/action</tt> </tt>
<a name="L5040"></a><tt class="py-lineno">5040</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5041"></a><tt class="py-lineno">5041</tt> <tt class="py-line"><tt class="py-docstring"> The extended action entries are added by L{_addExtendedAction}.</tt> </tt>
<a name="L5042"></a><tt class="py-lineno">5042</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5043"></a><tt class="py-lineno">5043</tt> <tt class="py-line"><tt class="py-docstring"> If C{extensionsConfig} is C{None}, then no container will be added. </tt> </tt>
<a name="L5044"></a><tt class="py-lineno">5044</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5045"></a><tt class="py-lineno">5045</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5046"></a><tt class="py-lineno">5046</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5047"></a><tt class="py-lineno">5047</tt> <tt class="py-line"><tt class="py-docstring"> @param extensionsConfig: Extensions configuration section to be added to the document.</tt> </tt>
<a name="L5048"></a><tt class="py-lineno">5048</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5049"></a><tt class="py-lineno">5049</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">extensionsConfig</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5050"></a><tt class="py-lineno">5050</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1584" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1584', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"extensions"</tt><tt class="py-op">)</tt> </tt>
<a name="L5051"></a><tt class="py-lineno">5051</tt> <tt class="py-line"> <tt id="link-1585" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1585', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"order_mode"</tt><tt class="py-op">,</tt> <tt class="py-name">extensionsConfig</tt><tt class="py-op">.</tt><tt id="link-1586" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-1586', 'orderMode', 'link-618');">orderMode</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5052"></a><tt class="py-lineno">5052</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">extensionsConfig</tt><tt class="py-op">.</tt><tt id="link-1587" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-1587', 'actions', 'link-620');">actions</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5053"></a><tt class="py-lineno">5053</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-1588" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1588', 'action', 'link-126');">action</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">extensionsConfig</tt><tt class="py-op">.</tt><tt id="link-1589" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-1589', 'actions', 'link-620');">actions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5054"></a><tt class="py-lineno">5054</tt> <tt class="py-line"> <tt id="link-1590" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1590', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1591" class="py-name" targets="Static Method CedarBackup2.config.Config._addExtendedAction()=CedarBackup2.config.Config-class.html#_addExtendedAction"><a title="CedarBackup2.config.Config._addExtendedAction" class="py-name" href="#" onclick="return doclink('link-1591', '_addExtendedAction', 'link-1591');">_addExtendedAction</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt id="link-1592" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1592', 'action', 'link-126');">action</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5055"></a><tt class="py-lineno">5055</tt> <tt class="py-line"> </tt>
<a name="L5056"></a><tt class="py-lineno">5056</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addOptions"></a><div id="Config._addOptions-def"><a name="L5057"></a><tt class="py-lineno">5057</tt> <a class="py-toggle" href="#" id="Config._addOptions-toggle" onclick="return toggle('Config._addOptions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addOptions">_addOptions</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">optionsConfig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addOptions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addOptions-expanded"><a name="L5058"></a><tt class="py-lineno">5058</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5059"></a><tt class="py-lineno">5059</tt> <tt class="py-line"><tt class="py-docstring"> Adds a <options> configuration section as the next child of a parent.</tt> </tt>
<a name="L5060"></a><tt class="py-lineno">5060</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5061"></a><tt class="py-lineno">5061</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5062"></a><tt class="py-lineno">5062</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5063"></a><tt class="py-lineno">5063</tt> <tt class="py-line"><tt class="py-docstring"> startingDay //cb_config/options/starting_day</tt> </tt>
<a name="L5064"></a><tt class="py-lineno">5064</tt> <tt class="py-line"><tt class="py-docstring"> workingDir //cb_config/options/working_dir</tt> </tt>
<a name="L5065"></a><tt class="py-lineno">5065</tt> <tt class="py-line"><tt class="py-docstring"> backupUser //cb_config/options/backup_user</tt> </tt>
<a name="L5066"></a><tt class="py-lineno">5066</tt> <tt class="py-line"><tt class="py-docstring"> backupGroup //cb_config/options/backup_group</tt> </tt>
<a name="L5067"></a><tt class="py-lineno">5067</tt> <tt class="py-line"><tt class="py-docstring"> rcpCommand //cb_config/options/rcp_command</tt> </tt>
<a name="L5068"></a><tt class="py-lineno">5068</tt> <tt class="py-line"><tt class="py-docstring"> rshCommand //cb_config/options/rsh_command</tt> </tt>
<a name="L5069"></a><tt class="py-lineno">5069</tt> <tt class="py-line"><tt class="py-docstring"> cbackCommand //cb_config/options/cback_command</tt> </tt>
<a name="L5070"></a><tt class="py-lineno">5070</tt> <tt class="py-line"><tt class="py-docstring"> managedActions //cb_config/options/managed_actions</tt> </tt>
<a name="L5071"></a><tt class="py-lineno">5071</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5072"></a><tt class="py-lineno">5072</tt> <tt class="py-line"><tt class="py-docstring"> We also add groups of the following items, one list element per</tt> </tt>
<a name="L5073"></a><tt class="py-lineno">5073</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L5074"></a><tt class="py-lineno">5074</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5075"></a><tt class="py-lineno">5075</tt> <tt class="py-line"><tt class="py-docstring"> overrides //cb_config/options/override</tt> </tt>
<a name="L5076"></a><tt class="py-lineno">5076</tt> <tt class="py-line"><tt class="py-docstring"> hooks //cb_config/options/pre_action_hook</tt> </tt>
<a name="L5077"></a><tt class="py-lineno">5077</tt> <tt class="py-line"><tt class="py-docstring"> hooks //cb_config/options/post_action_hook</tt> </tt>
<a name="L5078"></a><tt class="py-lineno">5078</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5079"></a><tt class="py-lineno">5079</tt> <tt class="py-line"><tt class="py-docstring"> The individual override items are added by L{_addOverride}. The</tt> </tt>
<a name="L5080"></a><tt class="py-lineno">5080</tt> <tt class="py-line"><tt class="py-docstring"> individual hook items are added by L{_addHook}.</tt> </tt>
<a name="L5081"></a><tt class="py-lineno">5081</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5082"></a><tt class="py-lineno">5082</tt> <tt class="py-line"><tt class="py-docstring"> If C{optionsConfig} is C{None}, then no container will be added.</tt> </tt>
<a name="L5083"></a><tt class="py-lineno">5083</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5084"></a><tt class="py-lineno">5084</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5085"></a><tt class="py-lineno">5085</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5086"></a><tt class="py-lineno">5086</tt> <tt class="py-line"><tt class="py-docstring"> @param optionsConfig: Options configuration section to be added to the document.</tt> </tt>
<a name="L5087"></a><tt class="py-lineno">5087</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5088"></a><tt class="py-lineno">5088</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">optionsConfig</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5089"></a><tt class="py-lineno">5089</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1593" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1593', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"options"</tt><tt class="py-op">)</tt> </tt>
<a name="L5090"></a><tt class="py-lineno">5090</tt> <tt class="py-line"> <tt id="link-1594" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1594', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"starting_day"</tt><tt class="py-op">,</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1595" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-1595', 'startingDay', 'link-644');">startingDay</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5091"></a><tt class="py-lineno">5091</tt> <tt class="py-line"> <tt id="link-1596" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1596', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"working_dir"</tt><tt class="py-op">,</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1597" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-1597', 'workingDir', 'link-646');">workingDir</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5092"></a><tt class="py-lineno">5092</tt> <tt class="py-line"> <tt id="link-1598" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1598', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"backup_user"</tt><tt class="py-op">,</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1599" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-1599', 'backupUser', 'link-648');">backupUser</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5093"></a><tt class="py-lineno">5093</tt> <tt class="py-line"> <tt id="link-1600" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1600', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"backup_group"</tt><tt class="py-op">,</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1601" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-1601', 'backupGroup', 'link-650');">backupGroup</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5094"></a><tt class="py-lineno">5094</tt> <tt class="py-line"> <tt id="link-1602" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1602', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"rcp_command"</tt><tt class="py-op">,</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1603" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-1603', 'rcpCommand', 'link-486');">rcpCommand</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5095"></a><tt class="py-lineno">5095</tt> <tt class="py-line"> <tt id="link-1604" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1604', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"rsh_command"</tt><tt class="py-op">,</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1605" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-1605', 'rshCommand', 'link-488');">rshCommand</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5096"></a><tt class="py-lineno">5096</tt> <tt class="py-line"> <tt id="link-1606" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1606', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"cback_command"</tt><tt class="py-op">,</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1607" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-1607', 'cbackCommand', 'link-490');">cbackCommand</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5097"></a><tt class="py-lineno">5097</tt> <tt class="py-line"> <tt id="link-1608" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1608', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt id="link-1609" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1609', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1610" class="py-name" targets="Static Method CedarBackup2.config.Config._buildCommaSeparatedString()=CedarBackup2.config.Config-class.html#_buildCommaSeparatedString"><a title="CedarBackup2.config.Config._buildCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-1610', '_buildCommaSeparatedString', 'link-1610');">_buildCommaSeparatedString</a></tt><tt class="py-op">(</tt><tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1611" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1611', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5098"></a><tt class="py-lineno">5098</tt> <tt class="py-line"> <tt id="link-1612" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1612', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"managed_actions"</tt><tt class="py-op">,</tt> <tt id="link-1613" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1613', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5099"></a><tt class="py-lineno">5099</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1614" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-1614', 'overrides', 'link-658');">overrides</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5100"></a><tt class="py-lineno">5100</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">override</tt> <tt class="py-keyword">in</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1615" class="py-name"><a title="CedarBackup2.config.OptionsConfig.overrides" class="py-name" href="#" onclick="return doclink('link-1615', 'overrides', 'link-658');">overrides</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5101"></a><tt class="py-lineno">5101</tt> <tt class="py-line"> <tt id="link-1616" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1616', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1617" class="py-name" targets="Static Method CedarBackup2.config.Config._addOverride()=CedarBackup2.config.Config-class.html#_addOverride"><a title="CedarBackup2.config.Config._addOverride" class="py-name" href="#" onclick="return doclink('link-1617', '_addOverride', 'link-1617');">_addOverride</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">override</tt><tt class="py-op">)</tt> </tt>
<a name="L5102"></a><tt class="py-lineno">5102</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1618" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-1618', 'hooks', 'link-660');">hooks</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5103"></a><tt class="py-lineno">5103</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">hook</tt> <tt class="py-keyword">in</tt> <tt class="py-name">optionsConfig</tt><tt class="py-op">.</tt><tt id="link-1619" class="py-name"><a title="CedarBackup2.config.OptionsConfig.hooks" class="py-name" href="#" onclick="return doclink('link-1619', 'hooks', 'link-660');">hooks</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5104"></a><tt class="py-lineno">5104</tt> <tt class="py-line"> <tt id="link-1620" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1620', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1621" class="py-name" targets="Static Method CedarBackup2.config.Config._addHook()=CedarBackup2.config.Config-class.html#_addHook"><a title="CedarBackup2.config.Config._addHook" class="py-name" href="#" onclick="return doclink('link-1621', '_addHook', 'link-1621');">_addHook</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">hook</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5105"></a><tt class="py-lineno">5105</tt> <tt class="py-line"> </tt>
<a name="L5106"></a><tt class="py-lineno">5106</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addPeers"></a><div id="Config._addPeers-def"><a name="L5107"></a><tt class="py-lineno">5107</tt> <a class="py-toggle" href="#" id="Config._addPeers-toggle" onclick="return toggle('Config._addPeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addPeers">_addPeers</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">peersConfig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addPeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addPeers-expanded"><a name="L5108"></a><tt class="py-lineno">5108</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5109"></a><tt class="py-lineno">5109</tt> <tt class="py-line"><tt class="py-docstring"> Adds a <peers> configuration section as the next child of a parent.</tt> </tt>
<a name="L5110"></a><tt class="py-lineno">5110</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5111"></a><tt class="py-lineno">5111</tt> <tt class="py-line"><tt class="py-docstring"> We add groups of the following items, one list element per</tt> </tt>
<a name="L5112"></a><tt class="py-lineno">5112</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L5113"></a><tt class="py-lineno">5113</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5114"></a><tt class="py-lineno">5114</tt> <tt class="py-line"><tt class="py-docstring"> localPeers //cb_config/peers/peer</tt> </tt>
<a name="L5115"></a><tt class="py-lineno">5115</tt> <tt class="py-line"><tt class="py-docstring"> remotePeers //cb_config/peers/peer</tt> </tt>
<a name="L5116"></a><tt class="py-lineno">5116</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5117"></a><tt class="py-lineno">5117</tt> <tt class="py-line"><tt class="py-docstring"> The individual local and remote peer entries are added by</tt> </tt>
<a name="L5118"></a><tt class="py-lineno">5118</tt> <tt class="py-line"><tt class="py-docstring"> L{_addLocalPeer} and L{_addRemotePeer}, respectively.</tt> </tt>
<a name="L5119"></a><tt class="py-lineno">5119</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5120"></a><tt class="py-lineno">5120</tt> <tt class="py-line"><tt class="py-docstring"> If C{peersConfig} is C{None}, then no container will be added.</tt> </tt>
<a name="L5121"></a><tt class="py-lineno">5121</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5122"></a><tt class="py-lineno">5122</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5123"></a><tt class="py-lineno">5123</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5124"></a><tt class="py-lineno">5124</tt> <tt class="py-line"><tt class="py-docstring"> @param peersConfig: Peers configuration section to be added to the document.</tt> </tt>
<a name="L5125"></a><tt class="py-lineno">5125</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5126"></a><tt class="py-lineno">5126</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">peersConfig</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5127"></a><tt class="py-lineno">5127</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1622" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1622', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"peers"</tt><tt class="py-op">)</tt> </tt>
<a name="L5128"></a><tt class="py-lineno">5128</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">peersConfig</tt><tt class="py-op">.</tt><tt id="link-1623" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1623', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5129"></a><tt class="py-lineno">5129</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">localPeer</tt> <tt class="py-keyword">in</tt> <tt class="py-name">peersConfig</tt><tt class="py-op">.</tt><tt id="link-1624" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1624', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5130"></a><tt class="py-lineno">5130</tt> <tt class="py-line"> <tt id="link-1625" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1625', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1626" class="py-name" targets="Static Method CedarBackup2.config.Config._addLocalPeer()=CedarBackup2.config.Config-class.html#_addLocalPeer"><a title="CedarBackup2.config.Config._addLocalPeer" class="py-name" href="#" onclick="return doclink('link-1626', '_addLocalPeer', 'link-1626');">_addLocalPeer</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">localPeer</tt><tt class="py-op">)</tt> </tt>
<a name="L5131"></a><tt class="py-lineno">5131</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">peersConfig</tt><tt class="py-op">.</tt><tt id="link-1627" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1627', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5132"></a><tt class="py-lineno">5132</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">remotePeer</tt> <tt class="py-keyword">in</tt> <tt class="py-name">peersConfig</tt><tt class="py-op">.</tt><tt id="link-1628" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1628', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5133"></a><tt class="py-lineno">5133</tt> <tt class="py-line"> <tt id="link-1629" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1629', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1630" class="py-name" targets="Static Method CedarBackup2.config.Config._addRemotePeer()=CedarBackup2.config.Config-class.html#_addRemotePeer"><a title="CedarBackup2.config.Config._addRemotePeer" class="py-name" href="#" onclick="return doclink('link-1630', '_addRemotePeer', 'link-1630');">_addRemotePeer</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5134"></a><tt class="py-lineno">5134</tt> <tt class="py-line"> </tt>
<a name="L5135"></a><tt class="py-lineno">5135</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addCollect"></a><div id="Config._addCollect-def"><a name="L5136"></a><tt class="py-lineno">5136</tt> <a class="py-toggle" href="#" id="Config._addCollect-toggle" onclick="return toggle('Config._addCollect');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addCollect">_addCollect</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">collectConfig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addCollect-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addCollect-expanded"><a name="L5137"></a><tt class="py-lineno">5137</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5138"></a><tt class="py-lineno">5138</tt> <tt class="py-line"><tt class="py-docstring"> Adds a <collect> configuration section as the next child of a parent.</tt> </tt>
<a name="L5139"></a><tt class="py-lineno">5139</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5140"></a><tt class="py-lineno">5140</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5141"></a><tt class="py-lineno">5141</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5142"></a><tt class="py-lineno">5142</tt> <tt class="py-line"><tt class="py-docstring"> targetDir //cb_config/collect/collect_dir</tt> </tt>
<a name="L5143"></a><tt class="py-lineno">5143</tt> <tt class="py-line"><tt class="py-docstring"> collectMode //cb_config/collect/collect_mode</tt> </tt>
<a name="L5144"></a><tt class="py-lineno">5144</tt> <tt class="py-line"><tt class="py-docstring"> archiveMode //cb_config/collect/archive_mode</tt> </tt>
<a name="L5145"></a><tt class="py-lineno">5145</tt> <tt class="py-line"><tt class="py-docstring"> ignoreFile //cb_config/collect/ignore_file</tt> </tt>
<a name="L5146"></a><tt class="py-lineno">5146</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5147"></a><tt class="py-lineno">5147</tt> <tt class="py-line"><tt class="py-docstring"> We also add groups of the following items, one list element per</tt> </tt>
<a name="L5148"></a><tt class="py-lineno">5148</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L5149"></a><tt class="py-lineno">5149</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5150"></a><tt class="py-lineno">5150</tt> <tt class="py-line"><tt class="py-docstring"> absoluteExcludePaths //cb_config/collect/exclude/abs_path</tt> </tt>
<a name="L5151"></a><tt class="py-lineno">5151</tt> <tt class="py-line"><tt class="py-docstring"> excludePatterns //cb_config/collect/exclude/pattern</tt> </tt>
<a name="L5152"></a><tt class="py-lineno">5152</tt> <tt class="py-line"><tt class="py-docstring"> collectFiles //cb_config/collect/file</tt> </tt>
<a name="L5153"></a><tt class="py-lineno">5153</tt> <tt class="py-line"><tt class="py-docstring"> collectDirs //cb_config/collect/dir</tt> </tt>
<a name="L5154"></a><tt class="py-lineno">5154</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5155"></a><tt class="py-lineno">5155</tt> <tt class="py-line"><tt class="py-docstring"> The individual collect files are added by L{_addCollectFile} and</tt> </tt>
<a name="L5156"></a><tt class="py-lineno">5156</tt> <tt class="py-line"><tt class="py-docstring"> individual collect directories are added by L{_addCollectDir}.</tt> </tt>
<a name="L5157"></a><tt class="py-lineno">5157</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L5158"></a><tt class="py-lineno">5158</tt> <tt class="py-line"><tt class="py-docstring"> If C{collectConfig} is C{None}, then no container will be added.</tt> </tt>
<a name="L5159"></a><tt class="py-lineno">5159</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5160"></a><tt class="py-lineno">5160</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5161"></a><tt class="py-lineno">5161</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5162"></a><tt class="py-lineno">5162</tt> <tt class="py-line"><tt class="py-docstring"> @param collectConfig: Collect configuration section to be added to the document.</tt> </tt>
<a name="L5163"></a><tt class="py-lineno">5163</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5164"></a><tt class="py-lineno">5164</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">collectConfig</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5165"></a><tt class="py-lineno">5165</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1631" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1631', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect"</tt><tt class="py-op">)</tt> </tt>
<a name="L5166"></a><tt class="py-lineno">5166</tt> <tt class="py-line"> <tt id="link-1632" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1632', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_dir"</tt><tt class="py-op">,</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1633" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-1633', 'targetDir', 'link-808');">targetDir</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5167"></a><tt class="py-lineno">5167</tt> <tt class="py-line"> <tt id="link-1634" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1634', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_mode"</tt><tt class="py-op">,</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1635" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1635', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5168"></a><tt class="py-lineno">5168</tt> <tt class="py-line"> <tt id="link-1636" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1636', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"archive_mode"</tt><tt class="py-op">,</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1637" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1637', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5169"></a><tt class="py-lineno">5169</tt> <tt class="py-line"> <tt id="link-1638" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1638', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"ignore_file"</tt><tt class="py-op">,</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1639" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-1639', 'ignoreFile', 'link-318');">ignoreFile</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5170"></a><tt class="py-lineno">5170</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1640" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1640', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1641" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1641', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op">!=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> </tt>
<a name="L5171"></a><tt class="py-lineno">5171</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1642" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1642', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1643" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1643', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op">!=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L5172"></a><tt class="py-lineno">5172</tt> <tt class="py-line"> <tt class="py-name">excludeNode</tt> <tt class="py-op">=</tt> <tt id="link-1644" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1644', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"exclude"</tt><tt class="py-op">)</tt> </tt>
<a name="L5173"></a><tt class="py-lineno">5173</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1645" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1645', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5174"></a><tt class="py-lineno">5174</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-1646" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1646', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1647" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1647', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5175"></a><tt class="py-lineno">5175</tt> <tt class="py-line"> <tt id="link-1648" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1648', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">excludeNode</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">,</tt> <tt id="link-1649" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1649', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5176"></a><tt class="py-lineno">5176</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1650" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1650', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5177"></a><tt class="py-lineno">5177</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">pattern</tt> <tt class="py-keyword">in</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1651" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1651', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5178"></a><tt class="py-lineno">5178</tt> <tt class="py-line"> <tt id="link-1652" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1652', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">excludeNode</tt><tt class="py-op">,</tt> <tt class="py-string">"pattern"</tt><tt class="py-op">,</tt> <tt class="py-name">pattern</tt><tt class="py-op">)</tt> </tt>
<a name="L5179"></a><tt class="py-lineno">5179</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1653" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-1653', 'collectFiles', 'link-820');">collectFiles</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5180"></a><tt class="py-lineno">5180</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">collectFile</tt> <tt class="py-keyword">in</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1654" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-1654', 'collectFiles', 'link-820');">collectFiles</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5181"></a><tt class="py-lineno">5181</tt> <tt class="py-line"> <tt id="link-1655" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1655', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1656" class="py-name" targets="Static Method CedarBackup2.config.Config._addCollectFile()=CedarBackup2.config.Config-class.html#_addCollectFile"><a title="CedarBackup2.config.Config._addCollectFile" class="py-name" href="#" onclick="return doclink('link-1656', '_addCollectFile', 'link-1656');">_addCollectFile</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">collectFile</tt><tt class="py-op">)</tt> </tt>
<a name="L5182"></a><tt class="py-lineno">5182</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1657" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-1657', 'collectDirs', 'link-822');">collectDirs</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5183"></a><tt class="py-lineno">5183</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-1658" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1658', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">collectConfig</tt><tt class="py-op">.</tt><tt id="link-1659" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-1659', 'collectDirs', 'link-822');">collectDirs</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5184"></a><tt class="py-lineno">5184</tt> <tt class="py-line"> <tt id="link-1660" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1660', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1661" class="py-name" targets="Static Method CedarBackup2.config.Config._addCollectDir()=CedarBackup2.config.Config-class.html#_addCollectDir"><a title="CedarBackup2.config.Config._addCollectDir" class="py-name" href="#" onclick="return doclink('link-1661', '_addCollectDir', 'link-1661');">_addCollectDir</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt id="link-1662" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1662', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5185"></a><tt class="py-lineno">5185</tt> <tt class="py-line"> </tt>
<a name="L5186"></a><tt class="py-lineno">5186</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addStage"></a><div id="Config._addStage-def"><a name="L5187"></a><tt class="py-lineno">5187</tt> <a class="py-toggle" href="#" id="Config._addStage-toggle" onclick="return toggle('Config._addStage');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addStage">_addStage</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">stageConfig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addStage-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addStage-expanded"><a name="L5188"></a><tt class="py-lineno">5188</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5189"></a><tt class="py-lineno">5189</tt> <tt class="py-line"><tt class="py-docstring"> Adds a <stage> configuration section as the next child of a parent.</tt> </tt>
<a name="L5190"></a><tt class="py-lineno">5190</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5191"></a><tt class="py-lineno">5191</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5192"></a><tt class="py-lineno">5192</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5193"></a><tt class="py-lineno">5193</tt> <tt class="py-line"><tt class="py-docstring"> targetDir //cb_config/stage/staging_dir</tt> </tt>
<a name="L5194"></a><tt class="py-lineno">5194</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5195"></a><tt class="py-lineno">5195</tt> <tt class="py-line"><tt class="py-docstring"> We also add groups of the following items, one list element per</tt> </tt>
<a name="L5196"></a><tt class="py-lineno">5196</tt> <tt class="py-line"><tt class="py-docstring"> item::</tt> </tt>
<a name="L5197"></a><tt class="py-lineno">5197</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5198"></a><tt class="py-lineno">5198</tt> <tt class="py-line"><tt class="py-docstring"> localPeers //cb_config/stage/peer</tt> </tt>
<a name="L5199"></a><tt class="py-lineno">5199</tt> <tt class="py-line"><tt class="py-docstring"> remotePeers //cb_config/stage/peer</tt> </tt>
<a name="L5200"></a><tt class="py-lineno">5200</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5201"></a><tt class="py-lineno">5201</tt> <tt class="py-line"><tt class="py-docstring"> The individual local and remote peer entries are added by</tt> </tt>
<a name="L5202"></a><tt class="py-lineno">5202</tt> <tt class="py-line"><tt class="py-docstring"> L{_addLocalPeer} and L{_addRemotePeer}, respectively.</tt> </tt>
<a name="L5203"></a><tt class="py-lineno">5203</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5204"></a><tt class="py-lineno">5204</tt> <tt class="py-line"><tt class="py-docstring"> If C{stageConfig} is C{None}, then no container will be added.</tt> </tt>
<a name="L5205"></a><tt class="py-lineno">5205</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5206"></a><tt class="py-lineno">5206</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5207"></a><tt class="py-lineno">5207</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5208"></a><tt class="py-lineno">5208</tt> <tt class="py-line"><tt class="py-docstring"> @param stageConfig: Stage configuration section to be added to the document.</tt> </tt>
<a name="L5209"></a><tt class="py-lineno">5209</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5210"></a><tt class="py-lineno">5210</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">stageConfig</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5211"></a><tt class="py-lineno">5211</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1663" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1663', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"stage"</tt><tt class="py-op">)</tt> </tt>
<a name="L5212"></a><tt class="py-lineno">5212</tt> <tt class="py-line"> <tt id="link-1664" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1664', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"staging_dir"</tt><tt class="py-op">,</tt> <tt class="py-name">stageConfig</tt><tt class="py-op">.</tt><tt id="link-1665" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-1665', 'targetDir', 'link-808');">targetDir</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5213"></a><tt class="py-lineno">5213</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">stageConfig</tt><tt class="py-op">.</tt><tt id="link-1666" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1666', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5214"></a><tt class="py-lineno">5214</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">localPeer</tt> <tt class="py-keyword">in</tt> <tt class="py-name">stageConfig</tt><tt class="py-op">.</tt><tt id="link-1667" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1667', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5215"></a><tt class="py-lineno">5215</tt> <tt class="py-line"> <tt id="link-1668" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1668', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1669" class="py-name"><a title="CedarBackup2.config.Config._addLocalPeer" class="py-name" href="#" onclick="return doclink('link-1669', '_addLocalPeer', 'link-1626');">_addLocalPeer</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">localPeer</tt><tt class="py-op">)</tt> </tt>
<a name="L5216"></a><tt class="py-lineno">5216</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">stageConfig</tt><tt class="py-op">.</tt><tt id="link-1670" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1670', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5217"></a><tt class="py-lineno">5217</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">remotePeer</tt> <tt class="py-keyword">in</tt> <tt class="py-name">stageConfig</tt><tt class="py-op">.</tt><tt id="link-1671" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1671', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5218"></a><tt class="py-lineno">5218</tt> <tt class="py-line"> <tt id="link-1672" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1672', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1673" class="py-name"><a title="CedarBackup2.config.Config._addRemotePeer" class="py-name" href="#" onclick="return doclink('link-1673', '_addRemotePeer', 'link-1630');">_addRemotePeer</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5219"></a><tt class="py-lineno">5219</tt> <tt class="py-line"> </tt>
<a name="L5220"></a><tt class="py-lineno">5220</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addStore"></a><div id="Config._addStore-def"><a name="L5221"></a><tt class="py-lineno">5221</tt> <a class="py-toggle" href="#" id="Config._addStore-toggle" onclick="return toggle('Config._addStore');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addStore">_addStore</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">storeConfig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addStore-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addStore-expanded"><a name="L5222"></a><tt class="py-lineno">5222</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5223"></a><tt class="py-lineno">5223</tt> <tt class="py-line"><tt class="py-docstring"> Adds a <store> configuration section as the next child of a parent.</tt> </tt>
<a name="L5224"></a><tt class="py-lineno">5224</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5225"></a><tt class="py-lineno">5225</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5226"></a><tt class="py-lineno">5226</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5227"></a><tt class="py-lineno">5227</tt> <tt class="py-line"><tt class="py-docstring"> sourceDir //cb_config/store/source_dir</tt> </tt>
<a name="L5228"></a><tt class="py-lineno">5228</tt> <tt class="py-line"><tt class="py-docstring"> mediaType //cb_config/store/media_type</tt> </tt>
<a name="L5229"></a><tt class="py-lineno">5229</tt> <tt class="py-line"><tt class="py-docstring"> deviceType //cb_config/store/device_type</tt> </tt>
<a name="L5230"></a><tt class="py-lineno">5230</tt> <tt class="py-line"><tt class="py-docstring"> devicePath //cb_config/store/target_device</tt> </tt>
<a name="L5231"></a><tt class="py-lineno">5231</tt> <tt class="py-line"><tt class="py-docstring"> deviceScsiId //cb_config/store/target_scsi_id</tt> </tt>
<a name="L5232"></a><tt class="py-lineno">5232</tt> <tt class="py-line"><tt class="py-docstring"> driveSpeed //cb_config/store/drive_speed</tt> </tt>
<a name="L5233"></a><tt class="py-lineno">5233</tt> <tt class="py-line"><tt class="py-docstring"> checkData //cb_config/store/check_data</tt> </tt>
<a name="L5234"></a><tt class="py-lineno">5234</tt> <tt class="py-line"><tt class="py-docstring"> checkMedia //cb_config/store/check_media</tt> </tt>
<a name="L5235"></a><tt class="py-lineno">5235</tt> <tt class="py-line"><tt class="py-docstring"> warnMidnite //cb_config/store/warn_midnite</tt> </tt>
<a name="L5236"></a><tt class="py-lineno">5236</tt> <tt class="py-line"><tt class="py-docstring"> noEject //cb_config/store/no_eject</tt> </tt>
<a name="L5237"></a><tt class="py-lineno">5237</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5238"></a><tt class="py-lineno">5238</tt> <tt class="py-line"><tt class="py-docstring"> Blanking behavior configuration is added by the L{_addBlankBehavior}</tt> </tt>
<a name="L5239"></a><tt class="py-lineno">5239</tt> <tt class="py-line"><tt class="py-docstring"> method.</tt> </tt>
<a name="L5240"></a><tt class="py-lineno">5240</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5241"></a><tt class="py-lineno">5241</tt> <tt class="py-line"><tt class="py-docstring"> If C{storeConfig} is C{None}, then no container will be added.</tt> </tt>
<a name="L5242"></a><tt class="py-lineno">5242</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5243"></a><tt class="py-lineno">5243</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5244"></a><tt class="py-lineno">5244</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5245"></a><tt class="py-lineno">5245</tt> <tt class="py-line"><tt class="py-docstring"> @param storeConfig: Store configuration section to be added to the document.</tt> </tt>
<a name="L5246"></a><tt class="py-lineno">5246</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5247"></a><tt class="py-lineno">5247</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">storeConfig</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5248"></a><tt class="py-lineno">5248</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1674" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1674', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"store"</tt><tt class="py-op">)</tt> </tt>
<a name="L5249"></a><tt class="py-lineno">5249</tt> <tt class="py-line"> <tt id="link-1675" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1675', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"source_dir"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1676" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-1676', 'sourceDir', 'link-947');">sourceDir</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5250"></a><tt class="py-lineno">5250</tt> <tt class="py-line"> <tt id="link-1677" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1677', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"media_type"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1678" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-1678', 'mediaType', 'link-949');">mediaType</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5251"></a><tt class="py-lineno">5251</tt> <tt class="py-line"> <tt id="link-1679" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1679', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"device_type"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1680" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-1680', 'deviceType', 'link-951');">deviceType</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5252"></a><tt class="py-lineno">5252</tt> <tt class="py-line"> <tt id="link-1681" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1681', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"target_device"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1682" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-1682', 'devicePath', 'link-953');">devicePath</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5253"></a><tt class="py-lineno">5253</tt> <tt class="py-line"> <tt id="link-1683" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1683', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"target_scsi_id"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1684" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceScsiId" class="py-name" href="#" onclick="return doclink('link-1684', 'deviceScsiId', 'link-955');">deviceScsiId</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5254"></a><tt class="py-lineno">5254</tt> <tt class="py-line"> <tt id="link-1685" class="py-name"><a title="CedarBackup2.xmlutil.addIntegerNode" class="py-name" href="#" onclick="return doclink('link-1685', 'addIntegerNode', 'link-39');">addIntegerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"drive_speed"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1686" class="py-name"><a title="CedarBackup2.config.StoreConfig.driveSpeed
CedarBackup2.writers.cdwriter.CdWriter.driveSpeed
CedarBackup2.writers.dvdwriter.DvdWriter.driveSpeed" class="py-name" href="#" onclick="return doclink('link-1686', 'driveSpeed', 'link-957');">driveSpeed</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5255"></a><tt class="py-lineno">5255</tt> <tt class="py-line"> <tt id="link-1687" class="py-name"><a title="CedarBackup2.xmlutil.addBooleanNode" class="py-name" href="#" onclick="return doclink('link-1687', 'addBooleanNode', 'link-40');">addBooleanNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"check_data"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1688" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkData" class="py-name" href="#" onclick="return doclink('link-1688', 'checkData', 'link-959');">checkData</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5256"></a><tt class="py-lineno">5256</tt> <tt class="py-line"> <tt id="link-1689" class="py-name"><a title="CedarBackup2.xmlutil.addBooleanNode" class="py-name" href="#" onclick="return doclink('link-1689', 'addBooleanNode', 'link-40');">addBooleanNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"check_media"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1690" class="py-name"><a title="CedarBackup2.config.StoreConfig.checkMedia" class="py-name" href="#" onclick="return doclink('link-1690', 'checkMedia', 'link-961');">checkMedia</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5257"></a><tt class="py-lineno">5257</tt> <tt class="py-line"> <tt id="link-1691" class="py-name"><a title="CedarBackup2.xmlutil.addBooleanNode" class="py-name" href="#" onclick="return doclink('link-1691', 'addBooleanNode', 'link-40');">addBooleanNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"warn_midnite"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1692" class="py-name"><a title="CedarBackup2.config.StoreConfig.warnMidnite" class="py-name" href="#" onclick="return doclink('link-1692', 'warnMidnite', 'link-963');">warnMidnite</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5258"></a><tt class="py-lineno">5258</tt> <tt class="py-line"> <tt id="link-1693" class="py-name"><a title="CedarBackup2.xmlutil.addBooleanNode" class="py-name" href="#" onclick="return doclink('link-1693', 'addBooleanNode', 'link-40');">addBooleanNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"no_eject"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1694" class="py-name"><a title="CedarBackup2.config.StoreConfig.noEject" class="py-name" href="#" onclick="return doclink('link-1694', 'noEject', 'link-965');">noEject</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5259"></a><tt class="py-lineno">5259</tt> <tt class="py-line"> <tt id="link-1695" class="py-name"><a title="CedarBackup2.xmlutil.addIntegerNode" class="py-name" href="#" onclick="return doclink('link-1695', 'addIntegerNode', 'link-39');">addIntegerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"refresh_media_delay"</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1696" class="py-name"><a title="CedarBackup2.config.StoreConfig.refreshMediaDelay
CedarBackup2.writers.cdwriter.CdWriter.refreshMediaDelay
CedarBackup2.writers.dvdwriter.DvdWriter.refreshMediaDelay" class="py-name" href="#" onclick="return doclink('link-1696', 'refreshMediaDelay', 'link-969');">refreshMediaDelay</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5260"></a><tt class="py-lineno">5260</tt> <tt class="py-line"> <tt id="link-1697" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1697', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1698" class="py-name" targets="Static Method CedarBackup2.config.Config._addBlankBehavior()=CedarBackup2.config.Config-class.html#_addBlankBehavior"><a title="CedarBackup2.config.Config._addBlankBehavior" class="py-name" href="#" onclick="return doclink('link-1698', '_addBlankBehavior', 'link-1698');">_addBlankBehavior</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">storeConfig</tt><tt class="py-op">.</tt><tt id="link-1699" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1699', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5261"></a><tt class="py-lineno">5261</tt> <tt class="py-line"> </tt>
<a name="L5262"></a><tt class="py-lineno">5262</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addPurge"></a><div id="Config._addPurge-def"><a name="L5263"></a><tt class="py-lineno">5263</tt> <a class="py-toggle" href="#" id="Config._addPurge-toggle" onclick="return toggle('Config._addPurge');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addPurge">_addPurge</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">purgeConfig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addPurge-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addPurge-expanded"><a name="L5264"></a><tt class="py-lineno">5264</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5265"></a><tt class="py-lineno">5265</tt> <tt class="py-line"><tt class="py-docstring"> Adds a <purge> configuration section as the next child of a parent.</tt> </tt>
<a name="L5266"></a><tt class="py-lineno">5266</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5267"></a><tt class="py-lineno">5267</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5268"></a><tt class="py-lineno">5268</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5269"></a><tt class="py-lineno">5269</tt> <tt class="py-line"><tt class="py-docstring"> purgeDirs //cb_config/purge/dir</tt> </tt>
<a name="L5270"></a><tt class="py-lineno">5270</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5271"></a><tt class="py-lineno">5271</tt> <tt class="py-line"><tt class="py-docstring"> The individual directory entries are added by L{_addPurgeDir}.</tt> </tt>
<a name="L5272"></a><tt class="py-lineno">5272</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5273"></a><tt class="py-lineno">5273</tt> <tt class="py-line"><tt class="py-docstring"> If C{purgeConfig} is C{None}, then no container will be added.</tt> </tt>
<a name="L5274"></a><tt class="py-lineno">5274</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5275"></a><tt class="py-lineno">5275</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5276"></a><tt class="py-lineno">5276</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5277"></a><tt class="py-lineno">5277</tt> <tt class="py-line"><tt class="py-docstring"> @param purgeConfig: Purge configuration section to be added to the document.</tt> </tt>
<a name="L5278"></a><tt class="py-lineno">5278</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5279"></a><tt class="py-lineno">5279</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">purgeConfig</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5280"></a><tt class="py-lineno">5280</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1700" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1700', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"purge"</tt><tt class="py-op">)</tt> </tt>
<a name="L5281"></a><tt class="py-lineno">5281</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">purgeConfig</tt><tt class="py-op">.</tt><tt id="link-1701" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1701', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5282"></a><tt class="py-lineno">5282</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">purgeDir</tt> <tt class="py-keyword">in</tt> <tt class="py-name">purgeConfig</tt><tt class="py-op">.</tt><tt id="link-1702" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1702', 'purgeDirs', 'link-1077');">purgeDirs</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5283"></a><tt class="py-lineno">5283</tt> <tt class="py-line"> <tt id="link-1703" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1703', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1704" class="py-name" targets="Static Method CedarBackup2.config.Config._addPurgeDir()=CedarBackup2.config.Config-class.html#_addPurgeDir"><a title="CedarBackup2.config.Config._addPurgeDir" class="py-name" href="#" onclick="return doclink('link-1704', '_addPurgeDir', 'link-1704');">_addPurgeDir</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-name">purgeDir</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5284"></a><tt class="py-lineno">5284</tt> <tt class="py-line"> </tt>
<a name="L5285"></a><tt class="py-lineno">5285</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addExtendedAction"></a><div id="Config._addExtendedAction-def"><a name="L5286"></a><tt class="py-lineno">5286</tt> <a class="py-toggle" href="#" id="Config._addExtendedAction-toggle" onclick="return toggle('Config._addExtendedAction');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addExtendedAction">_addExtendedAction</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">action</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addExtendedAction-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addExtendedAction-expanded"><a name="L5287"></a><tt class="py-lineno">5287</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5288"></a><tt class="py-lineno">5288</tt> <tt class="py-line"><tt class="py-docstring"> Adds an extended action container as the next child of a parent.</tt> </tt>
<a name="L5289"></a><tt class="py-lineno">5289</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5290"></a><tt class="py-lineno">5290</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5291"></a><tt class="py-lineno">5291</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5292"></a><tt class="py-lineno">5292</tt> <tt class="py-line"><tt class="py-docstring"> name action/name</tt> </tt>
<a name="L5293"></a><tt class="py-lineno">5293</tt> <tt class="py-line"><tt class="py-docstring"> module action/module</tt> </tt>
<a name="L5294"></a><tt class="py-lineno">5294</tt> <tt class="py-line"><tt class="py-docstring"> function action/function</tt> </tt>
<a name="L5295"></a><tt class="py-lineno">5295</tt> <tt class="py-line"><tt class="py-docstring"> index action/index</tt> </tt>
<a name="L5296"></a><tt class="py-lineno">5296</tt> <tt class="py-line"><tt class="py-docstring"> dependencies action/depends</tt> </tt>
<a name="L5297"></a><tt class="py-lineno">5297</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5298"></a><tt class="py-lineno">5298</tt> <tt class="py-line"><tt class="py-docstring"> Dependencies are added by the L{_addDependencies} method.</tt> </tt>
<a name="L5299"></a><tt class="py-lineno">5299</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5300"></a><tt class="py-lineno">5300</tt> <tt class="py-line"><tt class="py-docstring"> The <action> node itself is created as the next child of the parent node.</tt> </tt>
<a name="L5301"></a><tt class="py-lineno">5301</tt> <tt class="py-line"><tt class="py-docstring"> This method only adds one action node. The parent must loop for each action</tt> </tt>
<a name="L5302"></a><tt class="py-lineno">5302</tt> <tt class="py-line"><tt class="py-docstring"> in the C{ExtensionsConfig} object.</tt> </tt>
<a name="L5303"></a><tt class="py-lineno">5303</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5304"></a><tt class="py-lineno">5304</tt> <tt class="py-line"><tt class="py-docstring"> If C{action} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5305"></a><tt class="py-lineno">5305</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5306"></a><tt class="py-lineno">5306</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5307"></a><tt class="py-lineno">5307</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5308"></a><tt class="py-lineno">5308</tt> <tt class="py-line"><tt class="py-docstring"> @param action: Purge directory to be added to the document.</tt> </tt>
<a name="L5309"></a><tt class="py-lineno">5309</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5310"></a><tt class="py-lineno">5310</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1705" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1705', 'action', 'link-126');">action</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5311"></a><tt class="py-lineno">5311</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1706" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1706', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"action"</tt><tt class="py-op">)</tt> </tt>
<a name="L5312"></a><tt class="py-lineno">5312</tt> <tt class="py-line"> <tt id="link-1707" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1707', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"name"</tt><tt class="py-op">,</tt> <tt id="link-1708" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1708', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1709" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-1709', 'name', 'link-201');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5313"></a><tt class="py-lineno">5313</tt> <tt class="py-line"> <tt id="link-1710" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1710', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"module"</tt><tt class="py-op">,</tt> <tt id="link-1711" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1711', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1712" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-1712', 'module', 'link-203');">module</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5314"></a><tt class="py-lineno">5314</tt> <tt class="py-line"> <tt id="link-1713" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1713', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"function"</tt><tt class="py-op">,</tt> <tt id="link-1714" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1714', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1715" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-1715', 'function', 'link-205');">function</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5315"></a><tt class="py-lineno">5315</tt> <tt class="py-line"> <tt id="link-1716" class="py-name"><a title="CedarBackup2.xmlutil.addIntegerNode" class="py-name" href="#" onclick="return doclink('link-1716', 'addIntegerNode', 'link-39');">addIntegerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"index"</tt><tt class="py-op">,</tt> <tt id="link-1717" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1717', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1718" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-1718', 'index', 'link-207');">index</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5316"></a><tt class="py-lineno">5316</tt> <tt class="py-line"> <tt id="link-1719" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1719', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1720" class="py-name" targets="Static Method CedarBackup2.config.Config._addDependencies()=CedarBackup2.config.Config-class.html#_addDependencies"><a title="CedarBackup2.config.Config._addDependencies" class="py-name" href="#" onclick="return doclink('link-1720', '_addDependencies', 'link-1720');">_addDependencies</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt id="link-1721" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1721', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1722" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-1722', 'dependencies', 'link-209');">dependencies</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5317"></a><tt class="py-lineno">5317</tt> <tt class="py-line"> </tt>
<a name="L5318"></a><tt class="py-lineno">5318</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addOverride"></a><div id="Config._addOverride-def"><a name="L5319"></a><tt class="py-lineno">5319</tt> <a class="py-toggle" href="#" id="Config._addOverride-toggle" onclick="return toggle('Config._addOverride');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addOverride">_addOverride</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">override</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addOverride-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addOverride-expanded"><a name="L5320"></a><tt class="py-lineno">5320</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5321"></a><tt class="py-lineno">5321</tt> <tt class="py-line"><tt class="py-docstring"> Adds a command override container as the next child of a parent.</tt> </tt>
<a name="L5322"></a><tt class="py-lineno">5322</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5323"></a><tt class="py-lineno">5323</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5324"></a><tt class="py-lineno">5324</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5325"></a><tt class="py-lineno">5325</tt> <tt class="py-line"><tt class="py-docstring"> command override/command</tt> </tt>
<a name="L5326"></a><tt class="py-lineno">5326</tt> <tt class="py-line"><tt class="py-docstring"> absolutePath override/abs_path</tt> </tt>
<a name="L5327"></a><tt class="py-lineno">5327</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L5328"></a><tt class="py-lineno">5328</tt> <tt class="py-line"><tt class="py-docstring"> The <override> node itself is created as the next child of the parent</tt> </tt>
<a name="L5329"></a><tt class="py-lineno">5329</tt> <tt class="py-line"><tt class="py-docstring"> node. This method only adds one override node. The parent must loop for</tt> </tt>
<a name="L5330"></a><tt class="py-lineno">5330</tt> <tt class="py-line"><tt class="py-docstring"> each override in the C{OptionsConfig} object.</tt> </tt>
<a name="L5331"></a><tt class="py-lineno">5331</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5332"></a><tt class="py-lineno">5332</tt> <tt class="py-line"><tt class="py-docstring"> If C{override} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5333"></a><tt class="py-lineno">5333</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5334"></a><tt class="py-lineno">5334</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5335"></a><tt class="py-lineno">5335</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5336"></a><tt class="py-lineno">5336</tt> <tt class="py-line"><tt class="py-docstring"> @param override: Command override to be added to the document.</tt> </tt>
<a name="L5337"></a><tt class="py-lineno">5337</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5338"></a><tt class="py-lineno">5338</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">override</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5339"></a><tt class="py-lineno">5339</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1723" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1723', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"override"</tt><tt class="py-op">)</tt> </tt>
<a name="L5340"></a><tt class="py-lineno">5340</tt> <tt class="py-line"> <tt id="link-1724" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1724', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"command"</tt><tt class="py-op">,</tt> <tt class="py-name">override</tt><tt class="py-op">.</tt><tt id="link-1725" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-1725', 'command', 'link-128');">command</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5341"></a><tt class="py-lineno">5341</tt> <tt class="py-line"> <tt id="link-1726" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1726', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">,</tt> <tt class="py-name">override</tt><tt class="py-op">.</tt><tt id="link-1727" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1727', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5342"></a><tt class="py-lineno">5342</tt> <tt class="py-line"> </tt>
<a name="L5343"></a><tt class="py-lineno">5343</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addHook"></a><div id="Config._addHook-def"><a name="L5344"></a><tt class="py-lineno">5344</tt> <a class="py-toggle" href="#" id="Config._addHook-toggle" onclick="return toggle('Config._addHook');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addHook">_addHook</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">hook</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addHook-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addHook-expanded"><a name="L5345"></a><tt class="py-lineno">5345</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5346"></a><tt class="py-lineno">5346</tt> <tt class="py-line"><tt class="py-docstring"> Adds an action hook container as the next child of a parent.</tt> </tt>
<a name="L5347"></a><tt class="py-lineno">5347</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5348"></a><tt class="py-lineno">5348</tt> <tt class="py-line"><tt class="py-docstring"> The behavior varies depending on the value of the C{before} and C{after}</tt> </tt>
<a name="L5349"></a><tt class="py-lineno">5349</tt> <tt class="py-line"><tt class="py-docstring"> flags on the hook. If the C{before} flag is set, it's a pre-action hook,</tt> </tt>
<a name="L5350"></a><tt class="py-lineno">5350</tt> <tt class="py-line"><tt class="py-docstring"> and we'll add the following fields::</tt> </tt>
<a name="L5351"></a><tt class="py-lineno">5351</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5352"></a><tt class="py-lineno">5352</tt> <tt class="py-line"><tt class="py-docstring"> action pre_action_hook/action</tt> </tt>
<a name="L5353"></a><tt class="py-lineno">5353</tt> <tt class="py-line"><tt class="py-docstring"> command pre_action_hook/command</tt> </tt>
<a name="L5354"></a><tt class="py-lineno">5354</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5355"></a><tt class="py-lineno">5355</tt> <tt class="py-line"><tt class="py-docstring"> If the C{after} flag is set, it's a post-action hook, and we'll add the</tt> </tt>
<a name="L5356"></a><tt class="py-lineno">5356</tt> <tt class="py-line"><tt class="py-docstring"> following fields::</tt> </tt>
<a name="L5357"></a><tt class="py-lineno">5357</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5358"></a><tt class="py-lineno">5358</tt> <tt class="py-line"><tt class="py-docstring"> action post_action_hook/action</tt> </tt>
<a name="L5359"></a><tt class="py-lineno">5359</tt> <tt class="py-line"><tt class="py-docstring"> command post_action_hook/command</tt> </tt>
<a name="L5360"></a><tt class="py-lineno">5360</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L5361"></a><tt class="py-lineno">5361</tt> <tt class="py-line"><tt class="py-docstring"> The <pre_action_hook> or <post_action_hook> node itself is created as the</tt> </tt>
<a name="L5362"></a><tt class="py-lineno">5362</tt> <tt class="py-line"><tt class="py-docstring"> next child of the parent node. This method only adds one hook node. The</tt> </tt>
<a name="L5363"></a><tt class="py-lineno">5363</tt> <tt class="py-line"><tt class="py-docstring"> parent must loop for each hook in the C{OptionsConfig} object.</tt> </tt>
<a name="L5364"></a><tt class="py-lineno">5364</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5365"></a><tt class="py-lineno">5365</tt> <tt class="py-line"><tt class="py-docstring"> If C{hook} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5366"></a><tt class="py-lineno">5366</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5367"></a><tt class="py-lineno">5367</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5368"></a><tt class="py-lineno">5368</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5369"></a><tt class="py-lineno">5369</tt> <tt class="py-line"><tt class="py-docstring"> @param hook: Command hook to be added to the document.</tt> </tt>
<a name="L5370"></a><tt class="py-lineno">5370</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5371"></a><tt class="py-lineno">5371</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hook</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5372"></a><tt class="py-lineno">5372</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hook</tt><tt class="py-op">.</tt><tt id="link-1728" class="py-name"><a title="CedarBackup2.config.ActionHook.before" class="py-name" href="#" onclick="return doclink('link-1728', 'before', 'link-132');">before</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5373"></a><tt class="py-lineno">5373</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1729" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1729', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"pre_action_hook"</tt><tt class="py-op">)</tt> </tt>
<a name="L5374"></a><tt class="py-lineno">5374</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L5375"></a><tt class="py-lineno">5375</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1730" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1730', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"post_action_hook"</tt><tt class="py-op">)</tt> </tt>
<a name="L5376"></a><tt class="py-lineno">5376</tt> <tt class="py-line"> <tt id="link-1731" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1731', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"action"</tt><tt class="py-op">,</tt> <tt class="py-name">hook</tt><tt class="py-op">.</tt><tt id="link-1732" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1732', 'action', 'link-126');">action</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5377"></a><tt class="py-lineno">5377</tt> <tt class="py-line"> <tt id="link-1733" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1733', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"command"</tt><tt class="py-op">,</tt> <tt class="py-name">hook</tt><tt class="py-op">.</tt><tt id="link-1734" class="py-name"><a title="CedarBackup2.config.ActionHook.command
CedarBackup2.config.CommandOverride.command" class="py-name" href="#" onclick="return doclink('link-1734', 'command', 'link-128');">command</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5378"></a><tt class="py-lineno">5378</tt> <tt class="py-line"> </tt>
<a name="L5379"></a><tt class="py-lineno">5379</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addCollectFile"></a><div id="Config._addCollectFile-def"><a name="L5380"></a><tt class="py-lineno">5380</tt> <a class="py-toggle" href="#" id="Config._addCollectFile-toggle" onclick="return toggle('Config._addCollectFile');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addCollectFile">_addCollectFile</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">collectFile</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addCollectFile-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addCollectFile-expanded"><a name="L5381"></a><tt class="py-lineno">5381</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5382"></a><tt class="py-lineno">5382</tt> <tt class="py-line"><tt class="py-docstring"> Adds a collect file container as the next child of a parent.</tt> </tt>
<a name="L5383"></a><tt class="py-lineno">5383</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5384"></a><tt class="py-lineno">5384</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5385"></a><tt class="py-lineno">5385</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5386"></a><tt class="py-lineno">5386</tt> <tt class="py-line"><tt class="py-docstring"> absolutePath dir/abs_path</tt> </tt>
<a name="L5387"></a><tt class="py-lineno">5387</tt> <tt class="py-line"><tt class="py-docstring"> collectMode dir/collect_mode</tt> </tt>
<a name="L5388"></a><tt class="py-lineno">5388</tt> <tt class="py-line"><tt class="py-docstring"> archiveMode dir/archive_mode</tt> </tt>
<a name="L5389"></a><tt class="py-lineno">5389</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5390"></a><tt class="py-lineno">5390</tt> <tt class="py-line"><tt class="py-docstring"> Note that for consistency with collect directory handling we'll only emit</tt> </tt>
<a name="L5391"></a><tt class="py-lineno">5391</tt> <tt class="py-line"><tt class="py-docstring"> the preferred C{collect_mode} tag.</tt> </tt>
<a name="L5392"></a><tt class="py-lineno">5392</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5393"></a><tt class="py-lineno">5393</tt> <tt class="py-line"><tt class="py-docstring"> The <file> node itself is created as the next child of the parent node.</tt> </tt>
<a name="L5394"></a><tt class="py-lineno">5394</tt> <tt class="py-line"><tt class="py-docstring"> This method only adds one collect file node. The parent must loop</tt> </tt>
<a name="L5395"></a><tt class="py-lineno">5395</tt> <tt class="py-line"><tt class="py-docstring"> for each collect file in the C{CollectConfig} object.</tt> </tt>
<a name="L5396"></a><tt class="py-lineno">5396</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5397"></a><tt class="py-lineno">5397</tt> <tt class="py-line"><tt class="py-docstring"> If C{collectFile} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5398"></a><tt class="py-lineno">5398</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5399"></a><tt class="py-lineno">5399</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5400"></a><tt class="py-lineno">5400</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5401"></a><tt class="py-lineno">5401</tt> <tt class="py-line"><tt class="py-docstring"> @param collectFile: Collect file to be added to the document.</tt> </tt>
<a name="L5402"></a><tt class="py-lineno">5402</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5403"></a><tt class="py-lineno">5403</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">collectFile</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5404"></a><tt class="py-lineno">5404</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1735" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1735', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"file"</tt><tt class="py-op">)</tt> </tt>
<a name="L5405"></a><tt class="py-lineno">5405</tt> <tt class="py-line"> <tt id="link-1736" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1736', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">,</tt> <tt class="py-name">collectFile</tt><tt class="py-op">.</tt><tt id="link-1737" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1737', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5406"></a><tt class="py-lineno">5406</tt> <tt class="py-line"> <tt id="link-1738" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1738', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_mode"</tt><tt class="py-op">,</tt> <tt class="py-name">collectFile</tt><tt class="py-op">.</tt><tt id="link-1739" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1739', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5407"></a><tt class="py-lineno">5407</tt> <tt class="py-line"> <tt id="link-1740" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1740', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"archive_mode"</tt><tt class="py-op">,</tt> <tt class="py-name">collectFile</tt><tt class="py-op">.</tt><tt id="link-1741" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1741', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5408"></a><tt class="py-lineno">5408</tt> <tt class="py-line"> </tt>
<a name="L5409"></a><tt class="py-lineno">5409</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addCollectDir"></a><div id="Config._addCollectDir-def"><a name="L5410"></a><tt class="py-lineno">5410</tt> <a class="py-toggle" href="#" id="Config._addCollectDir-toggle" onclick="return toggle('Config._addCollectDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addCollectDir">_addCollectDir</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">collectDir</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addCollectDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addCollectDir-expanded"><a name="L5411"></a><tt class="py-lineno">5411</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5412"></a><tt class="py-lineno">5412</tt> <tt class="py-line"><tt class="py-docstring"> Adds a collect directory container as the next child of a parent.</tt> </tt>
<a name="L5413"></a><tt class="py-lineno">5413</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5414"></a><tt class="py-lineno">5414</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5415"></a><tt class="py-lineno">5415</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5416"></a><tt class="py-lineno">5416</tt> <tt class="py-line"><tt class="py-docstring"> absolutePath dir/abs_path</tt> </tt>
<a name="L5417"></a><tt class="py-lineno">5417</tt> <tt class="py-line"><tt class="py-docstring"> collectMode dir/collect_mode</tt> </tt>
<a name="L5418"></a><tt class="py-lineno">5418</tt> <tt class="py-line"><tt class="py-docstring"> archiveMode dir/archive_mode</tt> </tt>
<a name="L5419"></a><tt class="py-lineno">5419</tt> <tt class="py-line"><tt class="py-docstring"> ignoreFile dir/ignore_file</tt> </tt>
<a name="L5420"></a><tt class="py-lineno">5420</tt> <tt class="py-line"><tt class="py-docstring"> linkDepth dir/link_depth</tt> </tt>
<a name="L5421"></a><tt class="py-lineno">5421</tt> <tt class="py-line"><tt class="py-docstring"> dereference dir/dereference</tt> </tt>
<a name="L5422"></a><tt class="py-lineno">5422</tt> <tt class="py-line"><tt class="py-docstring"> recursionLevel dir/recursion_level</tt> </tt>
<a name="L5423"></a><tt class="py-lineno">5423</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L5424"></a><tt class="py-lineno">5424</tt> <tt class="py-line"><tt class="py-docstring"> Note that an original XML document might have listed the collect mode</tt> </tt>
<a name="L5425"></a><tt class="py-lineno">5425</tt> <tt class="py-line"><tt class="py-docstring"> using the C{mode} tag, since we accept both C{collect_mode} and C{mode}.</tt> </tt>
<a name="L5426"></a><tt class="py-lineno">5426</tt> <tt class="py-line"><tt class="py-docstring"> However, here we'll only emit the preferred C{collect_mode} tag.</tt> </tt>
<a name="L5427"></a><tt class="py-lineno">5427</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5428"></a><tt class="py-lineno">5428</tt> <tt class="py-line"><tt class="py-docstring"> We also add groups of the following items, one list element per item::</tt> </tt>
<a name="L5429"></a><tt class="py-lineno">5429</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5430"></a><tt class="py-lineno">5430</tt> <tt class="py-line"><tt class="py-docstring"> absoluteExcludePaths dir/exclude/abs_path</tt> </tt>
<a name="L5431"></a><tt class="py-lineno">5431</tt> <tt class="py-line"><tt class="py-docstring"> relativeExcludePaths dir/exclude/rel_path</tt> </tt>
<a name="L5432"></a><tt class="py-lineno">5432</tt> <tt class="py-line"><tt class="py-docstring"> excludePatterns dir/exclude/pattern</tt> </tt>
<a name="L5433"></a><tt class="py-lineno">5433</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5434"></a><tt class="py-lineno">5434</tt> <tt class="py-line"><tt class="py-docstring"> The <dir> node itself is created as the next child of the parent node.</tt> </tt>
<a name="L5435"></a><tt class="py-lineno">5435</tt> <tt class="py-line"><tt class="py-docstring"> This method only adds one collect directory node. The parent must loop</tt> </tt>
<a name="L5436"></a><tt class="py-lineno">5436</tt> <tt class="py-line"><tt class="py-docstring"> for each collect directory in the C{CollectConfig} object.</tt> </tt>
<a name="L5437"></a><tt class="py-lineno">5437</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5438"></a><tt class="py-lineno">5438</tt> <tt class="py-line"><tt class="py-docstring"> If C{collectDir} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5439"></a><tt class="py-lineno">5439</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5440"></a><tt class="py-lineno">5440</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5441"></a><tt class="py-lineno">5441</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5442"></a><tt class="py-lineno">5442</tt> <tt class="py-line"><tt class="py-docstring"> @param collectDir: Collect directory to be added to the document.</tt> </tt>
<a name="L5443"></a><tt class="py-lineno">5443</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5444"></a><tt class="py-lineno">5444</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1742" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1742', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5445"></a><tt class="py-lineno">5445</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1743" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1743', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"dir"</tt><tt class="py-op">)</tt> </tt>
<a name="L5446"></a><tt class="py-lineno">5446</tt> <tt class="py-line"> <tt id="link-1744" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1744', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">,</tt> <tt id="link-1745" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1745', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1746" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1746', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5447"></a><tt class="py-lineno">5447</tt> <tt class="py-line"> <tt id="link-1747" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1747', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_mode"</tt><tt class="py-op">,</tt> <tt id="link-1748" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1748', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1749" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1749', 'collectMode', 'link-278');">collectMode</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5448"></a><tt class="py-lineno">5448</tt> <tt class="py-line"> <tt id="link-1750" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1750', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"archive_mode"</tt><tt class="py-op">,</tt> <tt id="link-1751" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1751', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1752" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1752', 'archiveMode', 'link-280');">archiveMode</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5449"></a><tt class="py-lineno">5449</tt> <tt class="py-line"> <tt id="link-1753" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1753', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"ignore_file"</tt><tt class="py-op">,</tt> <tt id="link-1754" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1754', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1755" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-1755', 'ignoreFile', 'link-318');">ignoreFile</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5450"></a><tt class="py-lineno">5450</tt> <tt class="py-line"> <tt id="link-1756" class="py-name"><a title="CedarBackup2.xmlutil.addIntegerNode" class="py-name" href="#" onclick="return doclink('link-1756', 'addIntegerNode', 'link-39');">addIntegerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"link_depth"</tt><tt class="py-op">,</tt> <tt id="link-1757" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1757', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1758" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-1758', 'linkDepth', 'link-320');">linkDepth</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5451"></a><tt class="py-lineno">5451</tt> <tt class="py-line"> <tt id="link-1759" class="py-name"><a title="CedarBackup2.xmlutil.addBooleanNode" class="py-name" href="#" onclick="return doclink('link-1759', 'addBooleanNode', 'link-40');">addBooleanNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"dereference"</tt><tt class="py-op">,</tt> <tt id="link-1760" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1760', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1761" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-1761', 'dereference', 'link-322');">dereference</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5452"></a><tt class="py-lineno">5452</tt> <tt class="py-line"> <tt id="link-1762" class="py-name"><a title="CedarBackup2.xmlutil.addIntegerNode" class="py-name" href="#" onclick="return doclink('link-1762', 'addIntegerNode', 'link-39');">addIntegerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"recursion_level"</tt><tt class="py-op">,</tt> <tt id="link-1763" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1763', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1764" class="py-name"><a title="CedarBackup2.config.CollectDir.recursionLevel" class="py-name" href="#" onclick="return doclink('link-1764', 'recursionLevel', 'link-324');">recursionLevel</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5453"></a><tt class="py-lineno">5453</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-op">(</tt><tt id="link-1765" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1765', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1766" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1766', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1767" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1767', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1768" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1768', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-op">!=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> </tt>
<a name="L5454"></a><tt class="py-lineno">5454</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt id="link-1769" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1769', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1770" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-1770', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1771" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1771', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1772" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-1772', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt> <tt class="py-op">!=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> </tt>
<a name="L5455"></a><tt class="py-lineno">5455</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt id="link-1773" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1773', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1774" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1774', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1775" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1775', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1776" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1776', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-op">!=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L5456"></a><tt class="py-lineno">5456</tt> <tt class="py-line"> <tt class="py-name">excludeNode</tt> <tt class="py-op">=</tt> <tt id="link-1777" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1777', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"exclude"</tt><tt class="py-op">)</tt> </tt>
<a name="L5457"></a><tt class="py-lineno">5457</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1778" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1778', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1779" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1779', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5458"></a><tt class="py-lineno">5458</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-1780" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1780', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-keyword">in</tt> <tt id="link-1781" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1781', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1782" class="py-name"><a title="CedarBackup2.config.CollectConfig.absoluteExcludePaths
CedarBackup2.config.CollectDir.absoluteExcludePaths" class="py-name" href="#" onclick="return doclink('link-1782', 'absoluteExcludePaths', 'link-326');">absoluteExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5459"></a><tt class="py-lineno">5459</tt> <tt class="py-line"> <tt id="link-1783" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1783', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">excludeNode</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">,</tt> <tt id="link-1784" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1784', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5460"></a><tt class="py-lineno">5460</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1785" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1785', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1786" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-1786', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5461"></a><tt class="py-lineno">5461</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">relativePath</tt> <tt class="py-keyword">in</tt> <tt id="link-1787" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1787', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1788" class="py-name"><a title="CedarBackup2.config.CollectDir.relativeExcludePaths
CedarBackup2.extend.mbox.MboxDir.relativeExcludePaths
CedarBackup2.extend.subversion.RepositoryDir.relativeExcludePaths" class="py-name" href="#" onclick="return doclink('link-1788', 'relativeExcludePaths', 'link-328');">relativeExcludePaths</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5462"></a><tt class="py-lineno">5462</tt> <tt class="py-line"> <tt id="link-1789" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1789', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">excludeNode</tt><tt class="py-op">,</tt> <tt class="py-string">"rel_path"</tt><tt class="py-op">,</tt> <tt class="py-name">relativePath</tt><tt class="py-op">)</tt> </tt>
<a name="L5463"></a><tt class="py-lineno">5463</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1790" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1790', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1791" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1791', 'excludePatterns', 'link-330');">excludePatterns</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5464"></a><tt class="py-lineno">5464</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">pattern</tt> <tt class="py-keyword">in</tt> <tt id="link-1792" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1792', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1793" class="py-name"><a title="CedarBackup2.config.CollectConfig.excludePatterns
CedarBackup2.config.CollectDir.excludePatterns
CedarBackup2.extend.mbox.MboxDir.excludePatterns
CedarBackup2.extend.subversion.RepositoryDir.excludePatterns
CedarBackup2.filesystem.FilesystemList.excludePatterns" class="py-name" href="#" onclick="return doclink('link-1793', 'excludePatterns', 'link-330');">excludePatterns</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5465"></a><tt class="py-lineno">5465</tt> <tt class="py-line"> <tt id="link-1794" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1794', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">excludeNode</tt><tt class="py-op">,</tt> <tt class="py-string">"pattern"</tt><tt class="py-op">,</tt> <tt class="py-name">pattern</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5466"></a><tt class="py-lineno">5466</tt> <tt class="py-line"> </tt>
<a name="L5467"></a><tt class="py-lineno">5467</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addLocalPeer"></a><div id="Config._addLocalPeer-def"><a name="L5468"></a><tt class="py-lineno">5468</tt> <a class="py-toggle" href="#" id="Config._addLocalPeer-toggle" onclick="return toggle('Config._addLocalPeer');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addLocalPeer">_addLocalPeer</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">localPeer</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addLocalPeer-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addLocalPeer-expanded"><a name="L5469"></a><tt class="py-lineno">5469</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5470"></a><tt class="py-lineno">5470</tt> <tt class="py-line"><tt class="py-docstring"> Adds a local peer container as the next child of a parent.</tt> </tt>
<a name="L5471"></a><tt class="py-lineno">5471</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5472"></a><tt class="py-lineno">5472</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5473"></a><tt class="py-lineno">5473</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5474"></a><tt class="py-lineno">5474</tt> <tt class="py-line"><tt class="py-docstring"> name peer/name</tt> </tt>
<a name="L5475"></a><tt class="py-lineno">5475</tt> <tt class="py-line"><tt class="py-docstring"> collectDir peer/collect_dir</tt> </tt>
<a name="L5476"></a><tt class="py-lineno">5476</tt> <tt class="py-line"><tt class="py-docstring"> ignoreFailureMode peer/ignore_failures</tt> </tt>
<a name="L5477"></a><tt class="py-lineno">5477</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5478"></a><tt class="py-lineno">5478</tt> <tt class="py-line"><tt class="py-docstring"> Additionally, C{peer/type} is filled in with C{"local"}, since this is a</tt> </tt>
<a name="L5479"></a><tt class="py-lineno">5479</tt> <tt class="py-line"><tt class="py-docstring"> local peer.</tt> </tt>
<a name="L5480"></a><tt class="py-lineno">5480</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5481"></a><tt class="py-lineno">5481</tt> <tt class="py-line"><tt class="py-docstring"> The <peer> node itself is created as the next child of the parent node.</tt> </tt>
<a name="L5482"></a><tt class="py-lineno">5482</tt> <tt class="py-line"><tt class="py-docstring"> This method only adds one peer node. The parent must loop for each peer</tt> </tt>
<a name="L5483"></a><tt class="py-lineno">5483</tt> <tt class="py-line"><tt class="py-docstring"> in the C{StageConfig} object.</tt> </tt>
<a name="L5484"></a><tt class="py-lineno">5484</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5485"></a><tt class="py-lineno">5485</tt> <tt class="py-line"><tt class="py-docstring"> If C{localPeer} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5486"></a><tt class="py-lineno">5486</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5487"></a><tt class="py-lineno">5487</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5488"></a><tt class="py-lineno">5488</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5489"></a><tt class="py-lineno">5489</tt> <tt class="py-line"><tt class="py-docstring"> @param localPeer: Purge directory to be added to the document.</tt> </tt>
<a name="L5490"></a><tt class="py-lineno">5490</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5491"></a><tt class="py-lineno">5491</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">localPeer</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5492"></a><tt class="py-lineno">5492</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1795" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1795', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"peer"</tt><tt class="py-op">)</tt> </tt>
<a name="L5493"></a><tt class="py-lineno">5493</tt> <tt class="py-line"> <tt id="link-1796" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1796', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"name"</tt><tt class="py-op">,</tt> <tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-1797" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-1797', 'name', 'link-201');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5494"></a><tt class="py-lineno">5494</tt> <tt class="py-line"> <tt id="link-1798" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1798', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"type"</tt><tt class="py-op">,</tt> <tt class="py-string">"local"</tt><tt class="py-op">)</tt> </tt>
<a name="L5495"></a><tt class="py-lineno">5495</tt> <tt class="py-line"> <tt id="link-1799" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1799', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_dir"</tt><tt class="py-op">,</tt> <tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-1800" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1800', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5496"></a><tt class="py-lineno">5496</tt> <tt class="py-line"> <tt id="link-1801" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1801', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"ignore_failures"</tt><tt class="py-op">,</tt> <tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-1802" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-1802', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5497"></a><tt class="py-lineno">5497</tt> <tt class="py-line"> </tt>
<a name="L5498"></a><tt class="py-lineno">5498</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addRemotePeer"></a><div id="Config._addRemotePeer-def"><a name="L5499"></a><tt class="py-lineno">5499</tt> <a class="py-toggle" href="#" id="Config._addRemotePeer-toggle" onclick="return toggle('Config._addRemotePeer');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addRemotePeer">_addRemotePeer</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">remotePeer</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addRemotePeer-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addRemotePeer-expanded"><a name="L5500"></a><tt class="py-lineno">5500</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5501"></a><tt class="py-lineno">5501</tt> <tt class="py-line"><tt class="py-docstring"> Adds a remote peer container as the next child of a parent.</tt> </tt>
<a name="L5502"></a><tt class="py-lineno">5502</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5503"></a><tt class="py-lineno">5503</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5504"></a><tt class="py-lineno">5504</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5505"></a><tt class="py-lineno">5505</tt> <tt class="py-line"><tt class="py-docstring"> name peer/name</tt> </tt>
<a name="L5506"></a><tt class="py-lineno">5506</tt> <tt class="py-line"><tt class="py-docstring"> collectDir peer/collect_dir</tt> </tt>
<a name="L5507"></a><tt class="py-lineno">5507</tt> <tt class="py-line"><tt class="py-docstring"> remoteUser peer/backup_user</tt> </tt>
<a name="L5508"></a><tt class="py-lineno">5508</tt> <tt class="py-line"><tt class="py-docstring"> rcpCommand peer/rcp_command</tt> </tt>
<a name="L5509"></a><tt class="py-lineno">5509</tt> <tt class="py-line"><tt class="py-docstring"> rcpCommand peer/rcp_command</tt> </tt>
<a name="L5510"></a><tt class="py-lineno">5510</tt> <tt class="py-line"><tt class="py-docstring"> rshCommand peer/rsh_command</tt> </tt>
<a name="L5511"></a><tt class="py-lineno">5511</tt> <tt class="py-line"><tt class="py-docstring"> cbackCommand peer/cback_command</tt> </tt>
<a name="L5512"></a><tt class="py-lineno">5512</tt> <tt class="py-line"><tt class="py-docstring"> ignoreFailureMode peer/ignore_failures</tt> </tt>
<a name="L5513"></a><tt class="py-lineno">5513</tt> <tt class="py-line"><tt class="py-docstring"> managed peer/managed</tt> </tt>
<a name="L5514"></a><tt class="py-lineno">5514</tt> <tt class="py-line"><tt class="py-docstring"> managedActions peer/managed_actions</tt> </tt>
<a name="L5515"></a><tt class="py-lineno">5515</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5516"></a><tt class="py-lineno">5516</tt> <tt class="py-line"><tt class="py-docstring"> Additionally, C{peer/type} is filled in with C{"remote"}, since this is a</tt> </tt>
<a name="L5517"></a><tt class="py-lineno">5517</tt> <tt class="py-line"><tt class="py-docstring"> remote peer.</tt> </tt>
<a name="L5518"></a><tt class="py-lineno">5518</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5519"></a><tt class="py-lineno">5519</tt> <tt class="py-line"><tt class="py-docstring"> The <peer> node itself is created as the next child of the parent node.</tt> </tt>
<a name="L5520"></a><tt class="py-lineno">5520</tt> <tt class="py-line"><tt class="py-docstring"> This method only adds one peer node. The parent must loop for each peer</tt> </tt>
<a name="L5521"></a><tt class="py-lineno">5521</tt> <tt class="py-line"><tt class="py-docstring"> in the C{StageConfig} object.</tt> </tt>
<a name="L5522"></a><tt class="py-lineno">5522</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5523"></a><tt class="py-lineno">5523</tt> <tt class="py-line"><tt class="py-docstring"> If C{remotePeer} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5524"></a><tt class="py-lineno">5524</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5525"></a><tt class="py-lineno">5525</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5526"></a><tt class="py-lineno">5526</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5527"></a><tt class="py-lineno">5527</tt> <tt class="py-line"><tt class="py-docstring"> @param remotePeer: Purge directory to be added to the document.</tt> </tt>
<a name="L5528"></a><tt class="py-lineno">5528</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5529"></a><tt class="py-lineno">5529</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">remotePeer</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5530"></a><tt class="py-lineno">5530</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1803" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1803', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"peer"</tt><tt class="py-op">)</tt> </tt>
<a name="L5531"></a><tt class="py-lineno">5531</tt> <tt class="py-line"> <tt id="link-1804" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1804', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"name"</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1805" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-1805', 'name', 'link-201');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5532"></a><tt class="py-lineno">5532</tt> <tt class="py-line"> <tt id="link-1806" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1806', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"type"</tt><tt class="py-op">,</tt> <tt class="py-string">"remote"</tt><tt class="py-op">)</tt> </tt>
<a name="L5533"></a><tt class="py-lineno">5533</tt> <tt class="py-line"> <tt id="link-1807" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1807', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"collect_dir"</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1808" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1808', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5534"></a><tt class="py-lineno">5534</tt> <tt class="py-line"> <tt id="link-1809" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1809', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"backup_user"</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1810" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-1810', 'remoteUser', 'link-484');">remoteUser</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5535"></a><tt class="py-lineno">5535</tt> <tt class="py-line"> <tt id="link-1811" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1811', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"rcp_command"</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1812" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-1812', 'rcpCommand', 'link-486');">rcpCommand</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5536"></a><tt class="py-lineno">5536</tt> <tt class="py-line"> <tt id="link-1813" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1813', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"rsh_command"</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1814" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-1814', 'rshCommand', 'link-488');">rshCommand</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5537"></a><tt class="py-lineno">5537</tt> <tt class="py-line"> <tt id="link-1815" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1815', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"cback_command"</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1816" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-1816', 'cbackCommand', 'link-490');">cbackCommand</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5538"></a><tt class="py-lineno">5538</tt> <tt class="py-line"> <tt id="link-1817" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1817', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"ignore_failures"</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1818" class="py-name"><a title="CedarBackup2.config.LocalPeer.ignoreFailureMode
CedarBackup2.config.RemotePeer.ignoreFailureMode
CedarBackup2.peer.LocalPeer.ignoreFailureMode
CedarBackup2.peer.RemotePeer.ignoreFailureMode" class="py-name" href="#" onclick="return doclink('link-1818', 'ignoreFailureMode', 'link-450');">ignoreFailureMode</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5539"></a><tt class="py-lineno">5539</tt> <tt class="py-line"> <tt id="link-1819" class="py-name"><a title="CedarBackup2.xmlutil.addBooleanNode" class="py-name" href="#" onclick="return doclink('link-1819', 'addBooleanNode', 'link-40');">addBooleanNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"managed"</tt><tt class="py-op">,</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1820" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-1820', 'managed', 'link-492');">managed</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5540"></a><tt class="py-lineno">5540</tt> <tt class="py-line"> <tt id="link-1821" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1821', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-op">=</tt> <tt id="link-1822" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1822', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1823" class="py-name"><a title="CedarBackup2.config.Config._buildCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-1823', '_buildCommaSeparatedString', 'link-1610');">_buildCommaSeparatedString</a></tt><tt class="py-op">(</tt><tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-1824" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1824', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5541"></a><tt class="py-lineno">5541</tt> <tt class="py-line"> <tt id="link-1825" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1825', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"managed_actions"</tt><tt class="py-op">,</tt> <tt id="link-1826" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-1826', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5542"></a><tt class="py-lineno">5542</tt> <tt class="py-line"> </tt>
<a name="L5543"></a><tt class="py-lineno">5543</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addPurgeDir"></a><div id="Config._addPurgeDir-def"><a name="L5544"></a><tt class="py-lineno">5544</tt> <a class="py-toggle" href="#" id="Config._addPurgeDir-toggle" onclick="return toggle('Config._addPurgeDir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addPurgeDir">_addPurgeDir</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">purgeDir</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addPurgeDir-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addPurgeDir-expanded"><a name="L5545"></a><tt class="py-lineno">5545</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5546"></a><tt class="py-lineno">5546</tt> <tt class="py-line"><tt class="py-docstring"> Adds a purge directory container as the next child of a parent.</tt> </tt>
<a name="L5547"></a><tt class="py-lineno">5547</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5548"></a><tt class="py-lineno">5548</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5549"></a><tt class="py-lineno">5549</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5550"></a><tt class="py-lineno">5550</tt> <tt class="py-line"><tt class="py-docstring"> absolutePath dir/abs_path</tt> </tt>
<a name="L5551"></a><tt class="py-lineno">5551</tt> <tt class="py-line"><tt class="py-docstring"> retainDays dir/retain_days</tt> </tt>
<a name="L5552"></a><tt class="py-lineno">5552</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5553"></a><tt class="py-lineno">5553</tt> <tt class="py-line"><tt class="py-docstring"> The <dir> node itself is created as the next child of the parent node.</tt> </tt>
<a name="L5554"></a><tt class="py-lineno">5554</tt> <tt class="py-line"><tt class="py-docstring"> This method only adds one purge directory node. The parent must loop for</tt> </tt>
<a name="L5555"></a><tt class="py-lineno">5555</tt> <tt class="py-line"><tt class="py-docstring"> each purge directory in the C{PurgeConfig} object.</tt> </tt>
<a name="L5556"></a><tt class="py-lineno">5556</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5557"></a><tt class="py-lineno">5557</tt> <tt class="py-line"><tt class="py-docstring"> If C{purgeDir} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5558"></a><tt class="py-lineno">5558</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5559"></a><tt class="py-lineno">5559</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5560"></a><tt class="py-lineno">5560</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5561"></a><tt class="py-lineno">5561</tt> <tt class="py-line"><tt class="py-docstring"> @param purgeDir: Purge directory to be added to the document.</tt> </tt>
<a name="L5562"></a><tt class="py-lineno">5562</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5563"></a><tt class="py-lineno">5563</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">purgeDir</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5564"></a><tt class="py-lineno">5564</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1827" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1827', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"dir"</tt><tt class="py-op">)</tt> </tt>
<a name="L5565"></a><tt class="py-lineno">5565</tt> <tt class="py-line"> <tt id="link-1828" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1828', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"abs_path"</tt><tt class="py-op">,</tt> <tt class="py-name">purgeDir</tt><tt class="py-op">.</tt><tt id="link-1829" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1829', 'absolutePath', 'link-256');">absolutePath</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5566"></a><tt class="py-lineno">5566</tt> <tt class="py-line"> <tt id="link-1830" class="py-name"><a title="CedarBackup2.xmlutil.addIntegerNode" class="py-name" href="#" onclick="return doclink('link-1830', 'addIntegerNode', 'link-39');">addIntegerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"retain_days"</tt><tt class="py-op">,</tt> <tt class="py-name">purgeDir</tt><tt class="py-op">.</tt><tt id="link-1831" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-1831', 'retainDays', 'link-426');">retainDays</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5567"></a><tt class="py-lineno">5567</tt> <tt class="py-line"> </tt>
<a name="L5568"></a><tt class="py-lineno">5568</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addDependencies"></a><div id="Config._addDependencies-def"><a name="L5569"></a><tt class="py-lineno">5569</tt> <a class="py-toggle" href="#" id="Config._addDependencies-toggle" onclick="return toggle('Config._addDependencies');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addDependencies">_addDependencies</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">dependencies</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addDependencies-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addDependencies-expanded"><a name="L5570"></a><tt class="py-lineno">5570</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5571"></a><tt class="py-lineno">5571</tt> <tt class="py-line"><tt class="py-docstring"> Adds a extended action dependencies to parent node.</tt> </tt>
<a name="L5572"></a><tt class="py-lineno">5572</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5573"></a><tt class="py-lineno">5573</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5574"></a><tt class="py-lineno">5574</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L5575"></a><tt class="py-lineno">5575</tt> <tt class="py-line"><tt class="py-docstring"> runBefore depends/run_before</tt> </tt>
<a name="L5576"></a><tt class="py-lineno">5576</tt> <tt class="py-line"><tt class="py-docstring"> runAfter depends/run_after</tt> </tt>
<a name="L5577"></a><tt class="py-lineno">5577</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5578"></a><tt class="py-lineno">5578</tt> <tt class="py-line"><tt class="py-docstring"> If C{dependencies} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5579"></a><tt class="py-lineno">5579</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5580"></a><tt class="py-lineno">5580</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5581"></a><tt class="py-lineno">5581</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5582"></a><tt class="py-lineno">5582</tt> <tt class="py-line"><tt class="py-docstring"> @param dependencies: C{ActionDependencies} object to be added to the document</tt> </tt>
<a name="L5583"></a><tt class="py-lineno">5583</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5584"></a><tt class="py-lineno">5584</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1832" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-1832', 'dependencies', 'link-209');">dependencies</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5585"></a><tt class="py-lineno">5585</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1833" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1833', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"depends"</tt><tt class="py-op">)</tt> </tt>
<a name="L5586"></a><tt class="py-lineno">5586</tt> <tt class="py-line"> <tt class="py-name">runBefore</tt> <tt class="py-op">=</tt> <tt id="link-1834" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1834', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1835" class="py-name"><a title="CedarBackup2.config.Config._buildCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-1835', '_buildCommaSeparatedString', 'link-1610');">_buildCommaSeparatedString</a></tt><tt class="py-op">(</tt><tt id="link-1836" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-1836', 'dependencies', 'link-209');">dependencies</a></tt><tt class="py-op">.</tt><tt id="link-1837" class="py-name"><a title="CedarBackup2.config.ActionDependencies.beforeList" class="py-name" href="#" onclick="return doclink('link-1837', 'beforeList', 'link-99');">beforeList</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5587"></a><tt class="py-lineno">5587</tt> <tt class="py-line"> <tt class="py-name">runAfter</tt> <tt class="py-op">=</tt> <tt id="link-1838" class="py-name"><a title="CedarBackup2.config.Config" class="py-name" href="#" onclick="return doclink('link-1838', 'Config', 'link-1195');">Config</a></tt><tt class="py-op">.</tt><tt id="link-1839" class="py-name"><a title="CedarBackup2.config.Config._buildCommaSeparatedString" class="py-name" href="#" onclick="return doclink('link-1839', '_buildCommaSeparatedString', 'link-1610');">_buildCommaSeparatedString</a></tt><tt class="py-op">(</tt><tt id="link-1840" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-1840', 'dependencies', 'link-209');">dependencies</a></tt><tt class="py-op">.</tt><tt id="link-1841" class="py-name"><a title="CedarBackup2.config.ActionDependencies.afterList" class="py-name" href="#" onclick="return doclink('link-1841', 'afterList', 'link-101');">afterList</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5588"></a><tt class="py-lineno">5588</tt> <tt class="py-line"> <tt id="link-1842" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1842', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"run_before"</tt><tt class="py-op">,</tt> <tt class="py-name">runBefore</tt><tt class="py-op">)</tt> </tt>
<a name="L5589"></a><tt class="py-lineno">5589</tt> <tt class="py-line"> <tt id="link-1843" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1843', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"run_after"</tt><tt class="py-op">,</tt> <tt class="py-name">runAfter</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5590"></a><tt class="py-lineno">5590</tt> <tt class="py-line"> </tt>
<a name="L5591"></a><tt class="py-lineno">5591</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._buildCommaSeparatedString"></a><div id="Config._buildCommaSeparatedString-def"><a name="L5592"></a><tt class="py-lineno">5592</tt> <a class="py-toggle" href="#" id="Config._buildCommaSeparatedString-toggle" onclick="return toggle('Config._buildCommaSeparatedString');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_buildCommaSeparatedString">_buildCommaSeparatedString</a><tt class="py-op">(</tt><tt class="py-param">valueList</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._buildCommaSeparatedString-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._buildCommaSeparatedString-expanded"><a name="L5593"></a><tt class="py-lineno">5593</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5594"></a><tt class="py-lineno">5594</tt> <tt class="py-line"><tt class="py-docstring"> Creates a comma-separated string from a list of values.</tt> </tt>
<a name="L5595"></a><tt class="py-lineno">5595</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5596"></a><tt class="py-lineno">5596</tt> <tt class="py-line"><tt class="py-docstring"> As a special case, if C{valueList} is C{None}, then C{None} will be</tt> </tt>
<a name="L5597"></a><tt class="py-lineno">5597</tt> <tt class="py-line"><tt class="py-docstring"> returned.</tt> </tt>
<a name="L5598"></a><tt class="py-lineno">5598</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5599"></a><tt class="py-lineno">5599</tt> <tt class="py-line"><tt class="py-docstring"> @param valueList: List of values to be placed into a string</tt> </tt>
<a name="L5600"></a><tt class="py-lineno">5600</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5601"></a><tt class="py-lineno">5601</tt> <tt class="py-line"><tt class="py-docstring"> @return: Values from valueList as a comma-separated string.</tt> </tt>
<a name="L5602"></a><tt class="py-lineno">5602</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5603"></a><tt class="py-lineno">5603</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">valueList</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5604"></a><tt class="py-lineno">5604</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L5605"></a><tt class="py-lineno">5605</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">","</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">valueList</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5606"></a><tt class="py-lineno">5606</tt> <tt class="py-line"> </tt>
<a name="L5607"></a><tt class="py-lineno">5607</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="Config._addBlankBehavior"></a><div id="Config._addBlankBehavior-def"><a name="L5608"></a><tt class="py-lineno">5608</tt> <a class="py-toggle" href="#" id="Config._addBlankBehavior-toggle" onclick="return toggle('Config._addBlankBehavior');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_addBlankBehavior">_addBlankBehavior</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">blankBehavior</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._addBlankBehavior-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._addBlankBehavior-expanded"><a name="L5609"></a><tt class="py-lineno">5609</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5610"></a><tt class="py-lineno">5610</tt> <tt class="py-line"><tt class="py-docstring"> Adds a blanking behavior container as the next child of a parent.</tt> </tt>
<a name="L5611"></a><tt class="py-lineno">5611</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5612"></a><tt class="py-lineno">5612</tt> <tt class="py-line"><tt class="py-docstring"> We add the following fields to the document::</tt> </tt>
<a name="L5613"></a><tt class="py-lineno">5613</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5614"></a><tt class="py-lineno">5614</tt> <tt class="py-line"><tt class="py-docstring"> blankMode blank_behavior/mode</tt> </tt>
<a name="L5615"></a><tt class="py-lineno">5615</tt> <tt class="py-line"><tt class="py-docstring"> blankFactor blank_behavior/factor</tt> </tt>
<a name="L5616"></a><tt class="py-lineno">5616</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt>
<a name="L5617"></a><tt class="py-lineno">5617</tt> <tt class="py-line"><tt class="py-docstring"> The <blank_behavior> node itself is created as the next child of the</tt> </tt>
<a name="L5618"></a><tt class="py-lineno">5618</tt> <tt class="py-line"><tt class="py-docstring"> parent node.</tt> </tt>
<a name="L5619"></a><tt class="py-lineno">5619</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5620"></a><tt class="py-lineno">5620</tt> <tt class="py-line"><tt class="py-docstring"> If C{blankBehavior} is C{None}, this method call will be a no-op.</tt> </tt>
<a name="L5621"></a><tt class="py-lineno">5621</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5622"></a><tt class="py-lineno">5622</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from L{createOutputDom}.</tt> </tt>
<a name="L5623"></a><tt class="py-lineno">5623</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent that the section should be appended to.</tt> </tt>
<a name="L5624"></a><tt class="py-lineno">5624</tt> <tt class="py-line"><tt class="py-docstring"> @param blankBehavior: Blanking behavior to be added to the document.</tt> </tt>
<a name="L5625"></a><tt class="py-lineno">5625</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5626"></a><tt class="py-lineno">5626</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1844" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1844', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5627"></a><tt class="py-lineno">5627</tt> <tt class="py-line"> <tt class="py-name">sectionNode</tt> <tt class="py-op">=</tt> <tt id="link-1845" class="py-name"><a title="CedarBackup2.xmlutil.addContainerNode" class="py-name" href="#" onclick="return doclink('link-1845', 'addContainerNode', 'link-37');">addContainerNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-string">"blank_behavior"</tt><tt class="py-op">)</tt> </tt>
<a name="L5628"></a><tt class="py-lineno">5628</tt> <tt class="py-line"> <tt id="link-1846" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1846', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"mode"</tt><tt class="py-op">,</tt> <tt id="link-1847" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1847', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">.</tt><tt id="link-1848" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-1848', 'blankMode', 'link-178');">blankMode</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5629"></a><tt class="py-lineno">5629</tt> <tt class="py-line"> <tt id="link-1849" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-1849', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">sectionNode</tt><tt class="py-op">,</tt> <tt class="py-string">"factor"</tt><tt class="py-op">,</tt> <tt id="link-1850" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1850', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">.</tt><tt id="link-1851" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-1851', 'blankFactor', 'link-180');">blankFactor</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5630"></a><tt class="py-lineno">5630</tt> <tt class="py-line"> </tt>
<a name="L5631"></a><tt class="py-lineno">5631</tt> <tt class="py-line"> </tt>
<a name="L5632"></a><tt class="py-lineno">5632</tt> <tt class="py-line"> <tt class="py-comment">#################################################</tt> </tt>
<a name="L5633"></a><tt class="py-lineno">5633</tt> <tt class="py-line"> <tt class="py-comment"># High-level methods used for validating content</tt> </tt>
<a name="L5634"></a><tt class="py-lineno">5634</tt> <tt class="py-line"> <tt class="py-comment">#################################################</tt> </tt>
<a name="L5635"></a><tt class="py-lineno">5635</tt> <tt class="py-line"> </tt>
<a name="Config._validateContents"></a><div id="Config._validateContents-def"><a name="L5636"></a><tt class="py-lineno">5636</tt> <a class="py-toggle" href="#" id="Config._validateContents-toggle" onclick="return toggle('Config._validateContents');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validateContents">_validateContents</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validateContents-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validateContents-expanded"><a name="L5637"></a><tt class="py-lineno">5637</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5638"></a><tt class="py-lineno">5638</tt> <tt class="py-line"><tt class="py-docstring"> Validates configuration contents per rules discussed in module</tt> </tt>
<a name="L5639"></a><tt class="py-lineno">5639</tt> <tt class="py-line"><tt class="py-docstring"> documentation.</tt> </tt>
<a name="L5640"></a><tt class="py-lineno">5640</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5641"></a><tt class="py-lineno">5641</tt> <tt class="py-line"><tt class="py-docstring"> This is the second pass at validation. It ensures that any filled-in</tt> </tt>
<a name="L5642"></a><tt class="py-lineno">5642</tt> <tt class="py-line"><tt class="py-docstring"> section contains valid data. Any sections which is not set to C{None} is</tt> </tt>
<a name="L5643"></a><tt class="py-lineno">5643</tt> <tt class="py-line"><tt class="py-docstring"> validated per the rules for that section, laid out in the module</tt> </tt>
<a name="L5644"></a><tt class="py-lineno">5644</tt> <tt class="py-line"><tt class="py-docstring"> documentation (above).</tt> </tt>
<a name="L5645"></a><tt class="py-lineno">5645</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5646"></a><tt class="py-lineno">5646</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If configuration is invalid.</tt> </tt>
<a name="L5647"></a><tt class="py-lineno">5647</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5648"></a><tt class="py-lineno">5648</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1852" class="py-name" targets="Function CedarBackup2.actions.validate._validateReference()=CedarBackup2.actions.validate-module.html#_validateReference,Method CedarBackup2.config.Config._validateReference()=CedarBackup2.config.Config-class.html#_validateReference"><a title="CedarBackup2.actions.validate._validateReference
CedarBackup2.config.Config._validateReference" class="py-name" href="#" onclick="return doclink('link-1852', '_validateReference', 'link-1852');">_validateReference</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5649"></a><tt class="py-lineno">5649</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1853" class="py-name" targets="Function CedarBackup2.actions.validate._validateExtensions()=CedarBackup2.actions.validate-module.html#_validateExtensions,Method CedarBackup2.config.Config._validateExtensions()=CedarBackup2.config.Config-class.html#_validateExtensions"><a title="CedarBackup2.actions.validate._validateExtensions
CedarBackup2.config.Config._validateExtensions" class="py-name" href="#" onclick="return doclink('link-1853', '_validateExtensions', 'link-1853');">_validateExtensions</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5650"></a><tt class="py-lineno">5650</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1854" class="py-name" targets="Function CedarBackup2.actions.validate._validateOptions()=CedarBackup2.actions.validate-module.html#_validateOptions,Method CedarBackup2.config.Config._validateOptions()=CedarBackup2.config.Config-class.html#_validateOptions"><a title="CedarBackup2.actions.validate._validateOptions
CedarBackup2.config.Config._validateOptions" class="py-name" href="#" onclick="return doclink('link-1854', '_validateOptions', 'link-1854');">_validateOptions</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5651"></a><tt class="py-lineno">5651</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1855" class="py-name" targets="Method CedarBackup2.config.Config._validatePeers()=CedarBackup2.config.Config-class.html#_validatePeers"><a title="CedarBackup2.config.Config._validatePeers" class="py-name" href="#" onclick="return doclink('link-1855', '_validatePeers', 'link-1855');">_validatePeers</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5652"></a><tt class="py-lineno">5652</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1856" class="py-name" targets="Function CedarBackup2.actions.validate._validateCollect()=CedarBackup2.actions.validate-module.html#_validateCollect,Method CedarBackup2.config.Config._validateCollect()=CedarBackup2.config.Config-class.html#_validateCollect"><a title="CedarBackup2.actions.validate._validateCollect
CedarBackup2.config.Config._validateCollect" class="py-name" href="#" onclick="return doclink('link-1856', '_validateCollect', 'link-1856');">_validateCollect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5653"></a><tt class="py-lineno">5653</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1857" class="py-name" targets="Function CedarBackup2.actions.validate._validateStage()=CedarBackup2.actions.validate-module.html#_validateStage,Method CedarBackup2.config.Config._validateStage()=CedarBackup2.config.Config-class.html#_validateStage"><a title="CedarBackup2.actions.validate._validateStage
CedarBackup2.config.Config._validateStage" class="py-name" href="#" onclick="return doclink('link-1857', '_validateStage', 'link-1857');">_validateStage</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5654"></a><tt class="py-lineno">5654</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1858" class="py-name" targets="Function CedarBackup2.actions.validate._validateStore()=CedarBackup2.actions.validate-module.html#_validateStore,Method CedarBackup2.config.Config._validateStore()=CedarBackup2.config.Config-class.html#_validateStore"><a title="CedarBackup2.actions.validate._validateStore
CedarBackup2.config.Config._validateStore" class="py-name" href="#" onclick="return doclink('link-1858', '_validateStore', 'link-1858');">_validateStore</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5655"></a><tt class="py-lineno">5655</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1859" class="py-name" targets="Function CedarBackup2.actions.validate._validatePurge()=CedarBackup2.actions.validate-module.html#_validatePurge,Method CedarBackup2.config.Config._validatePurge()=CedarBackup2.config.Config-class.html#_validatePurge"><a title="CedarBackup2.actions.validate._validatePurge
CedarBackup2.config.Config._validatePurge" class="py-name" href="#" onclick="return doclink('link-1859', '_validatePurge', 'link-1859');">_validatePurge</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5656"></a><tt class="py-lineno">5656</tt> <tt class="py-line"> </tt>
<a name="Config._validateReference"></a><div id="Config._validateReference-def"><a name="L5657"></a><tt class="py-lineno">5657</tt> <a class="py-toggle" href="#" id="Config._validateReference-toggle" onclick="return toggle('Config._validateReference');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validateReference">_validateReference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validateReference-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validateReference-expanded"><a name="L5658"></a><tt class="py-lineno">5658</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5659"></a><tt class="py-lineno">5659</tt> <tt class="py-line"><tt class="py-docstring"> Validates reference configuration.</tt> </tt>
<a name="L5660"></a><tt class="py-lineno">5660</tt> <tt class="py-line"><tt class="py-docstring"> There are currently no reference-related validations.</tt> </tt>
<a name="L5661"></a><tt class="py-lineno">5661</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If reference configuration is invalid.</tt> </tt>
<a name="L5662"></a><tt class="py-lineno">5662</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5663"></a><tt class="py-lineno">5663</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
</div><a name="L5664"></a><tt class="py-lineno">5664</tt> <tt class="py-line"> </tt>
<a name="Config._validateExtensions"></a><div id="Config._validateExtensions-def"><a name="L5665"></a><tt class="py-lineno">5665</tt> <a class="py-toggle" href="#" id="Config._validateExtensions-toggle" onclick="return toggle('Config._validateExtensions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validateExtensions">_validateExtensions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validateExtensions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validateExtensions-expanded"><a name="L5666"></a><tt class="py-lineno">5666</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5667"></a><tt class="py-lineno">5667</tt> <tt class="py-line"><tt class="py-docstring"> Validates extensions configuration.</tt> </tt>
<a name="L5668"></a><tt class="py-lineno">5668</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5669"></a><tt class="py-lineno">5669</tt> <tt class="py-line"><tt class="py-docstring"> The list of actions may be either C{None} or an empty list C{[]} if</tt> </tt>
<a name="L5670"></a><tt class="py-lineno">5670</tt> <tt class="py-line"><tt class="py-docstring"> desired. Each extended action must include a name, a module, and a </tt> </tt>
<a name="L5671"></a><tt class="py-lineno">5671</tt> <tt class="py-line"><tt class="py-docstring"> function. </tt> </tt>
<a name="L5672"></a><tt class="py-lineno">5672</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5673"></a><tt class="py-lineno">5673</tt> <tt class="py-line"><tt class="py-docstring"> Then, if the order mode is None or "index", an index is required; and if</tt> </tt>
<a name="L5674"></a><tt class="py-lineno">5674</tt> <tt class="py-line"><tt class="py-docstring"> the order mode is "dependency", dependency information is required.</tt> </tt>
<a name="L5675"></a><tt class="py-lineno">5675</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5676"></a><tt class="py-lineno">5676</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If reference configuration is invalid.</tt> </tt>
<a name="L5677"></a><tt class="py-lineno">5677</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5678"></a><tt class="py-lineno">5678</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1860" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1860', 'extensions', 'link-1092');">extensions</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5679"></a><tt class="py-lineno">5679</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1861" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1861', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">.</tt><tt id="link-1862" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-1862', 'actions', 'link-620');">actions</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5680"></a><tt class="py-lineno">5680</tt> <tt class="py-line"> <tt class="py-name">names</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L5681"></a><tt class="py-lineno">5681</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-1863" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1863', 'action', 'link-126');">action</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1864" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1864', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">.</tt><tt id="link-1865" class="py-name"><a title="CedarBackup2.actions
CedarBackup2.cli.Options.actions
CedarBackup2.config.ExtensionsConfig.actions" class="py-name" href="#" onclick="return doclink('link-1865', 'actions', 'link-620');">actions</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5682"></a><tt class="py-lineno">5682</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1866" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1866', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1867" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-1867', 'name', 'link-201');">name</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5683"></a><tt class="py-lineno">5683</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each extended action must set a name."</tt><tt class="py-op">)</tt> </tt>
<a name="L5684"></a><tt class="py-lineno">5684</tt> <tt class="py-line"> <tt class="py-name">names</tt><tt class="py-op">.</tt><tt id="link-1868" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-1868', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt id="link-1869" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1869', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1870" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-1870', 'name', 'link-201');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5685"></a><tt class="py-lineno">5685</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1871" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1871', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1872" class="py-name"><a title="CedarBackup2.config.ExtendedAction.module" class="py-name" href="#" onclick="return doclink('link-1872', 'module', 'link-203');">module</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5686"></a><tt class="py-lineno">5686</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each extended action must set a module."</tt><tt class="py-op">)</tt> </tt>
<a name="L5687"></a><tt class="py-lineno">5687</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1873" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1873', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1874" class="py-name"><a title="CedarBackup2.config.ExtendedAction.function" class="py-name" href="#" onclick="return doclink('link-1874', 'function', 'link-205');">function</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5688"></a><tt class="py-lineno">5688</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each extended action must set a function."</tt><tt class="py-op">)</tt> </tt>
<a name="L5689"></a><tt class="py-lineno">5689</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1875" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1875', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">.</tt><tt id="link-1876" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-1876', 'orderMode', 'link-618');">orderMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1877" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1877', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">.</tt><tt id="link-1878" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-1878', 'orderMode', 'link-618');">orderMode</a></tt> <tt class="py-op">==</tt> <tt class="py-string">"index"</tt><tt class="py-op">:</tt> </tt>
<a name="L5690"></a><tt class="py-lineno">5690</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1879" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1879', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1880" class="py-name"><a title="CedarBackup2.config.ExtendedAction.index" class="py-name" href="#" onclick="return doclink('link-1880', 'index', 'link-207');">index</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5691"></a><tt class="py-lineno">5691</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each extended action must set an index, based on order mode."</tt><tt class="py-op">)</tt> </tt>
<a name="L5692"></a><tt class="py-lineno">5692</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1881" class="py-name"><a title="CedarBackup2.config.Config.extensions" class="py-name" href="#" onclick="return doclink('link-1881', 'extensions', 'link-1092');">extensions</a></tt><tt class="py-op">.</tt><tt id="link-1882" class="py-name"><a title="CedarBackup2.config.ExtensionsConfig.orderMode" class="py-name" href="#" onclick="return doclink('link-1882', 'orderMode', 'link-618');">orderMode</a></tt> <tt class="py-op">==</tt> <tt class="py-string">"dependency"</tt><tt class="py-op">:</tt> </tt>
<a name="L5693"></a><tt class="py-lineno">5693</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1883" class="py-name"><a title="CedarBackup2.action
CedarBackup2.config.ActionHook.action" class="py-name" href="#" onclick="return doclink('link-1883', 'action', 'link-126');">action</a></tt><tt class="py-op">.</tt><tt id="link-1884" class="py-name"><a title="CedarBackup2.config.ExtendedAction.dependencies" class="py-name" href="#" onclick="return doclink('link-1884', 'dependencies', 'link-209');">dependencies</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5694"></a><tt class="py-lineno">5694</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each extended action must set dependency information, based on order mode."</tt><tt class="py-op">)</tt> </tt>
<a name="L5695"></a><tt class="py-lineno">5695</tt> <tt class="py-line"> <tt id="link-1885" class="py-name"><a title="CedarBackup2.util.checkUnique" class="py-name" href="#" onclick="return doclink('link-1885', 'checkUnique', 'link-16');">checkUnique</a></tt><tt class="py-op">(</tt><tt class="py-string">"Duplicate extension names exist:"</tt><tt class="py-op">,</tt> <tt class="py-name">names</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5696"></a><tt class="py-lineno">5696</tt> <tt class="py-line"> </tt>
<a name="Config._validateOptions"></a><div id="Config._validateOptions-def"><a name="L5697"></a><tt class="py-lineno">5697</tt> <a class="py-toggle" href="#" id="Config._validateOptions-toggle" onclick="return toggle('Config._validateOptions');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validateOptions">_validateOptions</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validateOptions-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validateOptions-expanded"><a name="L5698"></a><tt class="py-lineno">5698</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5699"></a><tt class="py-lineno">5699</tt> <tt class="py-line"><tt class="py-docstring"> Validates options configuration.</tt> </tt>
<a name="L5700"></a><tt class="py-lineno">5700</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5701"></a><tt class="py-lineno">5701</tt> <tt class="py-line"><tt class="py-docstring"> All fields must be filled in except the rsh command. The rcp and rsh</tt> </tt>
<a name="L5702"></a><tt class="py-lineno">5702</tt> <tt class="py-line"><tt class="py-docstring"> commands are used as default values for all remote peers. Remote peers</tt> </tt>
<a name="L5703"></a><tt class="py-lineno">5703</tt> <tt class="py-line"><tt class="py-docstring"> can also rely on the backup user as the default remote user name if they</tt> </tt>
<a name="L5704"></a><tt class="py-lineno">5704</tt> <tt class="py-line"><tt class="py-docstring"> choose.</tt> </tt>
<a name="L5705"></a><tt class="py-lineno">5705</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5706"></a><tt class="py-lineno">5706</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If reference configuration is invalid.</tt> </tt>
<a name="L5707"></a><tt class="py-lineno">5707</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5708"></a><tt class="py-lineno">5708</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1886" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1886', 'options', 'link-1093');">options</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5709"></a><tt class="py-lineno">5709</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1887" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1887', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1888" class="py-name"><a title="CedarBackup2.config.OptionsConfig.startingDay" class="py-name" href="#" onclick="return doclink('link-1888', 'startingDay', 'link-644');">startingDay</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5710"></a><tt class="py-lineno">5710</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Options section starting day must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5711"></a><tt class="py-lineno">5711</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1889" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1889', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1890" class="py-name"><a title="CedarBackup2.config.OptionsConfig.workingDir
CedarBackup2.peer.RemotePeer.workingDir" class="py-name" href="#" onclick="return doclink('link-1890', 'workingDir', 'link-646');">workingDir</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5712"></a><tt class="py-lineno">5712</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Options section working directory must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5713"></a><tt class="py-lineno">5713</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1891" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1891', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1892" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-1892', 'backupUser', 'link-648');">backupUser</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5714"></a><tt class="py-lineno">5714</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Options section backup user must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5715"></a><tt class="py-lineno">5715</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1893" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1893', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1894" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupGroup" class="py-name" href="#" onclick="return doclink('link-1894', 'backupGroup', 'link-650');">backupGroup</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5716"></a><tt class="py-lineno">5716</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Options section backup group must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5717"></a><tt class="py-lineno">5717</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1895" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-1895', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-1896" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-1896', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5718"></a><tt class="py-lineno">5718</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Options section remote copy command must be filled in."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5719"></a><tt class="py-lineno">5719</tt> <tt class="py-line"> </tt>
<a name="Config._validatePeers"></a><div id="Config._validatePeers-def"><a name="L5720"></a><tt class="py-lineno">5720</tt> <a class="py-toggle" href="#" id="Config._validatePeers-toggle" onclick="return toggle('Config._validatePeers');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validatePeers">_validatePeers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validatePeers-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validatePeers-expanded"><a name="L5721"></a><tt class="py-lineno">5721</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5722"></a><tt class="py-lineno">5722</tt> <tt class="py-line"><tt class="py-docstring"> Validates peers configuration per rules in L{_validatePeerList}.</tt> </tt>
<a name="L5723"></a><tt class="py-lineno">5723</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If peers configuration is invalid.</tt> </tt>
<a name="L5724"></a><tt class="py-lineno">5724</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5725"></a><tt class="py-lineno">5725</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1897" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1897', 'peers', 'link-1094');">peers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5726"></a><tt class="py-lineno">5726</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1898" class="py-name" targets="Method CedarBackup2.config.Config._validatePeerList()=CedarBackup2.config.Config-class.html#_validatePeerList"><a title="CedarBackup2.config.Config._validatePeerList" class="py-name" href="#" onclick="return doclink('link-1898', '_validatePeerList', 'link-1898');">_validatePeerList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1899" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1899', 'peers', 'link-1094');">peers</a></tt><tt class="py-op">.</tt><tt id="link-1900" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1900', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1901" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1901', 'peers', 'link-1094');">peers</a></tt><tt class="py-op">.</tt><tt id="link-1902" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1902', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5727"></a><tt class="py-lineno">5727</tt> <tt class="py-line"> </tt>
<a name="Config._validateCollect"></a><div id="Config._validateCollect-def"><a name="L5728"></a><tt class="py-lineno">5728</tt> <a class="py-toggle" href="#" id="Config._validateCollect-toggle" onclick="return toggle('Config._validateCollect');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validateCollect">_validateCollect</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validateCollect-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validateCollect-expanded"><a name="L5729"></a><tt class="py-lineno">5729</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5730"></a><tt class="py-lineno">5730</tt> <tt class="py-line"><tt class="py-docstring"> Validates collect configuration.</tt> </tt>
<a name="L5731"></a><tt class="py-lineno">5731</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5732"></a><tt class="py-lineno">5732</tt> <tt class="py-line"><tt class="py-docstring"> The target directory must be filled in. The collect mode, archive mode,</tt> </tt>
<a name="L5733"></a><tt class="py-lineno">5733</tt> <tt class="py-line"><tt class="py-docstring"> ignore file, and recursion level are all optional. The list of absolute</tt> </tt>
<a name="L5734"></a><tt class="py-lineno">5734</tt> <tt class="py-line"><tt class="py-docstring"> paths to exclude and patterns to exclude may be either C{None} or an</tt> </tt>
<a name="L5735"></a><tt class="py-lineno">5735</tt> <tt class="py-line"><tt class="py-docstring"> empty list C{[]} if desired. </tt> </tt>
<a name="L5736"></a><tt class="py-lineno">5736</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5737"></a><tt class="py-lineno">5737</tt> <tt class="py-line"><tt class="py-docstring"> Each collect directory entry must contain an absolute path to collect,</tt> </tt>
<a name="L5738"></a><tt class="py-lineno">5738</tt> <tt class="py-line"><tt class="py-docstring"> and then must either be able to take collect mode, archive mode and</tt> </tt>
<a name="L5739"></a><tt class="py-lineno">5739</tt> <tt class="py-line"><tt class="py-docstring"> ignore file configuration from the parent C{CollectConfig} object, or</tt> </tt>
<a name="L5740"></a><tt class="py-lineno">5740</tt> <tt class="py-line"><tt class="py-docstring"> must set each value on its own. The list of absolute paths to exclude,</tt> </tt>
<a name="L5741"></a><tt class="py-lineno">5741</tt> <tt class="py-line"><tt class="py-docstring"> relative paths to exclude and patterns to exclude may be either C{None}</tt> </tt>
<a name="L5742"></a><tt class="py-lineno">5742</tt> <tt class="py-line"><tt class="py-docstring"> or an empty list C{[]} if desired. Any list of absolute paths to exclude</tt> </tt>
<a name="L5743"></a><tt class="py-lineno">5743</tt> <tt class="py-line"><tt class="py-docstring"> or patterns to exclude will be combined with the same list in the</tt> </tt>
<a name="L5744"></a><tt class="py-lineno">5744</tt> <tt class="py-line"><tt class="py-docstring"> C{CollectConfig} object to make the complete list for a given directory.</tt> </tt>
<a name="L5745"></a><tt class="py-lineno">5745</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5746"></a><tt class="py-lineno">5746</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If collect configuration is invalid.</tt> </tt>
<a name="L5747"></a><tt class="py-lineno">5747</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5748"></a><tt class="py-lineno">5748</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1903" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1903', 'collect', 'link-1095');">collect</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5749"></a><tt class="py-lineno">5749</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1904" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1904', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1905" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-1905', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5750"></a><tt class="py-lineno">5750</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Collect section target directory must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5751"></a><tt class="py-lineno">5751</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1906" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1906', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1907" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-1907', 'collectFiles', 'link-820');">collectFiles</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5752"></a><tt class="py-lineno">5752</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">collectFile</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1908" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1908', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1909" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectFiles" class="py-name" href="#" onclick="return doclink('link-1909', 'collectFiles', 'link-820');">collectFiles</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5753"></a><tt class="py-lineno">5753</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">collectFile</tt><tt class="py-op">.</tt><tt id="link-1910" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1910', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5754"></a><tt class="py-lineno">5754</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each collect file must set an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L5755"></a><tt class="py-lineno">5755</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1911" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1911', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1912" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1912', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">collectFile</tt><tt class="py-op">.</tt><tt id="link-1913" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1913', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5756"></a><tt class="py-lineno">5756</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Collect mode must either be set in parent collect section or individual collect file."</tt><tt class="py-op">)</tt> </tt>
<a name="L5757"></a><tt class="py-lineno">5757</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1914" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1914', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1915" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1915', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">collectFile</tt><tt class="py-op">.</tt><tt id="link-1916" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1916', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5758"></a><tt class="py-lineno">5758</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Archive mode must either be set in parent collect section or individual collect file."</tt><tt class="py-op">)</tt> </tt>
<a name="L5759"></a><tt class="py-lineno">5759</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1917" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1917', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1918" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-1918', 'collectDirs', 'link-822');">collectDirs</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5760"></a><tt class="py-lineno">5760</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-1919" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1919', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1920" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1920', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1921" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectDirs" class="py-name" href="#" onclick="return doclink('link-1921', 'collectDirs', 'link-822');">collectDirs</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5761"></a><tt class="py-lineno">5761</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1922" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1922', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1923" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1923', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5762"></a><tt class="py-lineno">5762</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each collect directory must set an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L5763"></a><tt class="py-lineno">5763</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1924" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1924', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1925" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1925', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1926" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1926', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1927" class="py-name"><a title="CedarBackup2.config.CollectConfig.collectMode
CedarBackup2.config.CollectDir.collectMode
CedarBackup2.config.CollectFile.collectMode
CedarBackup2.extend.mbox.MboxConfig.collectMode
CedarBackup2.extend.mbox.MboxDir.collectMode
CedarBackup2.extend.mbox.MboxFile.collectMode
CedarBackup2.extend.subversion.Repository.collectMode
CedarBackup2.extend.subversion.RepositoryDir.collectMode
CedarBackup2.extend.subversion.SubversionConfig.collectMode" class="py-name" href="#" onclick="return doclink('link-1927', 'collectMode', 'link-278');">collectMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5764"></a><tt class="py-lineno">5764</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Collect mode must either be set in parent collect section or individual collect directory."</tt><tt class="py-op">)</tt> </tt>
<a name="L5765"></a><tt class="py-lineno">5765</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1928" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1928', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1929" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1929', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1930" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1930', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1931" class="py-name"><a title="CedarBackup2.config.CollectConfig.archiveMode
CedarBackup2.config.CollectDir.archiveMode
CedarBackup2.config.CollectFile.archiveMode" class="py-name" href="#" onclick="return doclink('link-1931', 'archiveMode', 'link-280');">archiveMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5766"></a><tt class="py-lineno">5766</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Archive mode must either be set in parent collect section or individual collect directory."</tt><tt class="py-op">)</tt> </tt>
<a name="L5767"></a><tt class="py-lineno">5767</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1932" class="py-name"><a title="CedarBackup2.actions.collect
CedarBackup2.config.Config.collect" class="py-name" href="#" onclick="return doclink('link-1932', 'collect', 'link-1095');">collect</a></tt><tt class="py-op">.</tt><tt id="link-1933" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-1933', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1934" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1934', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1935" class="py-name"><a title="CedarBackup2.config.CollectConfig.ignoreFile
CedarBackup2.config.CollectDir.ignoreFile
CedarBackup2.filesystem.FilesystemList.ignoreFile" class="py-name" href="#" onclick="return doclink('link-1935', 'ignoreFile', 'link-318');">ignoreFile</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5768"></a><tt class="py-lineno">5768</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Ignore file must either be set in parent collect section or individual collect directory."</tt><tt class="py-op">)</tt> </tt>
<a name="L5769"></a><tt class="py-lineno">5769</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt id="link-1936" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1936', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1937" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-1937', 'linkDepth', 'link-320');">linkDepth</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt id="link-1938" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1938', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1939" class="py-name"><a title="CedarBackup2.config.CollectDir.linkDepth" class="py-name" href="#" onclick="return doclink('link-1939', 'linkDepth', 'link-320');">linkDepth</a></tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt id="link-1940" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-1940', 'collectDir', 'link-448');">collectDir</a></tt><tt class="py-op">.</tt><tt id="link-1941" class="py-name"><a title="CedarBackup2.config.CollectDir.dereference" class="py-name" href="#" onclick="return doclink('link-1941', 'dereference', 'link-322');">dereference</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5770"></a><tt class="py-lineno">5770</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Dereference flag is only valid when a non-zero link depth is in use."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5771"></a><tt class="py-lineno">5771</tt> <tt class="py-line"> </tt>
<a name="Config._validateStage"></a><div id="Config._validateStage-def"><a name="L5772"></a><tt class="py-lineno">5772</tt> <a class="py-toggle" href="#" id="Config._validateStage-toggle" onclick="return toggle('Config._validateStage');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validateStage">_validateStage</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validateStage-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validateStage-expanded"><a name="L5773"></a><tt class="py-lineno">5773</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5774"></a><tt class="py-lineno">5774</tt> <tt class="py-line"><tt class="py-docstring"> Validates stage configuration.</tt> </tt>
<a name="L5775"></a><tt class="py-lineno">5775</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5776"></a><tt class="py-lineno">5776</tt> <tt class="py-line"><tt class="py-docstring"> The target directory must be filled in, and the peers are</tt> </tt>
<a name="L5777"></a><tt class="py-lineno">5777</tt> <tt class="py-line"><tt class="py-docstring"> also validated.</tt> </tt>
<a name="L5778"></a><tt class="py-lineno">5778</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5779"></a><tt class="py-lineno">5779</tt> <tt class="py-line"><tt class="py-docstring"> Peers are only required in this section if the peers configuration</tt> </tt>
<a name="L5780"></a><tt class="py-lineno">5780</tt> <tt class="py-line"><tt class="py-docstring"> section is not filled in. However, if any peers are filled in </tt> </tt>
<a name="L5781"></a><tt class="py-lineno">5781</tt> <tt class="py-line"><tt class="py-docstring"> here, they override the peers configuration and must meet the</tt> </tt>
<a name="L5782"></a><tt class="py-lineno">5782</tt> <tt class="py-line"><tt class="py-docstring"> validation criteria in L{_validatePeerList}.</tt> </tt>
<a name="L5783"></a><tt class="py-lineno">5783</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5784"></a><tt class="py-lineno">5784</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If stage configuration is invalid.</tt> </tt>
<a name="L5785"></a><tt class="py-lineno">5785</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5786"></a><tt class="py-lineno">5786</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1942" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1942', 'stage', 'link-1096');">stage</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5787"></a><tt class="py-lineno">5787</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1943" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1943', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1944" class="py-name"><a title="CedarBackup2.config.CollectConfig.targetDir
CedarBackup2.config.StageConfig.targetDir" class="py-name" href="#" onclick="return doclink('link-1944', 'targetDir', 'link-808');">targetDir</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5788"></a><tt class="py-lineno">5788</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Stage section target directory must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5789"></a><tt class="py-lineno">5789</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1945" class="py-name"><a title="CedarBackup2.config.Config.peers" class="py-name" href="#" onclick="return doclink('link-1945', 'peers', 'link-1094');">peers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5790"></a><tt class="py-lineno">5790</tt> <tt class="py-line"> <tt class="py-comment"># In this case, stage configuration is our only configuration and must be valid.</tt> </tt>
<a name="L5791"></a><tt class="py-lineno">5791</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1946" class="py-name"><a title="CedarBackup2.config.Config._validatePeerList" class="py-name" href="#" onclick="return doclink('link-1946', '_validatePeerList', 'link-1898');">_validatePeerList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1947" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1947', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1948" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1948', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1949" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1949', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1950" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1950', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5792"></a><tt class="py-lineno">5792</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L5793"></a><tt class="py-lineno">5793</tt> <tt class="py-line"> <tt class="py-comment"># In this case, peers configuration is the default and stage configuration overrides.</tt> </tt>
<a name="L5794"></a><tt class="py-lineno">5794</tt> <tt class="py-line"> <tt class="py-comment"># Validation is only needed if it's stage configuration is actually filled in.</tt> </tt>
<a name="L5795"></a><tt class="py-lineno">5795</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1951" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1951', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1952" class="py-name" targets="Method CedarBackup2.config.PeersConfig.hasPeers()=CedarBackup2.config.PeersConfig-class.html#hasPeers,Method CedarBackup2.config.StageConfig.hasPeers()=CedarBackup2.config.StageConfig-class.html#hasPeers"><a title="CedarBackup2.config.PeersConfig.hasPeers
CedarBackup2.config.StageConfig.hasPeers" class="py-name" href="#" onclick="return doclink('link-1952', 'hasPeers', 'link-1952');">hasPeers</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L5796"></a><tt class="py-lineno">5796</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1953" class="py-name"><a title="CedarBackup2.config.Config._validatePeerList" class="py-name" href="#" onclick="return doclink('link-1953', '_validatePeerList', 'link-1898');">_validatePeerList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1954" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1954', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1955" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1955', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1956" class="py-name"><a title="CedarBackup2.actions.stage
CedarBackup2.config.Config.stage" class="py-name" href="#" onclick="return doclink('link-1956', 'stage', 'link-1096');">stage</a></tt><tt class="py-op">.</tt><tt id="link-1957" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1957', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5797"></a><tt class="py-lineno">5797</tt> <tt class="py-line"> </tt>
<a name="Config._validateStore"></a><div id="Config._validateStore-def"><a name="L5798"></a><tt class="py-lineno">5798</tt> <a class="py-toggle" href="#" id="Config._validateStore-toggle" onclick="return toggle('Config._validateStore');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validateStore">_validateStore</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validateStore-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validateStore-expanded"><a name="L5799"></a><tt class="py-lineno">5799</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5800"></a><tt class="py-lineno">5800</tt> <tt class="py-line"><tt class="py-docstring"> Validates store configuration.</tt> </tt>
<a name="L5801"></a><tt class="py-lineno">5801</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5802"></a><tt class="py-lineno">5802</tt> <tt class="py-line"><tt class="py-docstring"> The device type, drive speed, and blanking behavior are optional. All</tt> </tt>
<a name="L5803"></a><tt class="py-lineno">5803</tt> <tt class="py-line"><tt class="py-docstring"> other values are required. Missing booleans will be set to defaults.</tt> </tt>
<a name="L5804"></a><tt class="py-lineno">5804</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5805"></a><tt class="py-lineno">5805</tt> <tt class="py-line"><tt class="py-docstring"> If blanking behavior is provided, then both a blanking mode and a</tt> </tt>
<a name="L5806"></a><tt class="py-lineno">5806</tt> <tt class="py-line"><tt class="py-docstring"> blanking factor are required.</tt> </tt>
<a name="L5807"></a><tt class="py-lineno">5807</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5808"></a><tt class="py-lineno">5808</tt> <tt class="py-line"><tt class="py-docstring"> The image writer functionality in the C{writer} module is supposed to be</tt> </tt>
<a name="L5809"></a><tt class="py-lineno">5809</tt> <tt class="py-line"><tt class="py-docstring"> able to handle a device speed of C{None}. </tt> </tt>
<a name="L5810"></a><tt class="py-lineno">5810</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5811"></a><tt class="py-lineno">5811</tt> <tt class="py-line"><tt class="py-docstring"> Any caller which needs a "real" (non-C{None}) value for the device type</tt> </tt>
<a name="L5812"></a><tt class="py-lineno">5812</tt> <tt class="py-line"><tt class="py-docstring"> can use C{DEFAULT_DEVICE_TYPE}, which is guaranteed to be sensible.</tt> </tt>
<a name="L5813"></a><tt class="py-lineno">5813</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5814"></a><tt class="py-lineno">5814</tt> <tt class="py-line"><tt class="py-docstring"> This is also where we make sure that the media type -- which is already a</tt> </tt>
<a name="L5815"></a><tt class="py-lineno">5815</tt> <tt class="py-line"><tt class="py-docstring"> valid type -- matches up properly with the device type.</tt> </tt>
<a name="L5816"></a><tt class="py-lineno">5816</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5817"></a><tt class="py-lineno">5817</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If store configuration is invalid.</tt> </tt>
<a name="L5818"></a><tt class="py-lineno">5818</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5819"></a><tt class="py-lineno">5819</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1958" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1958', 'store', 'link-1097');">store</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5820"></a><tt class="py-lineno">5820</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1959" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1959', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1960" class="py-name"><a title="CedarBackup2.config.StoreConfig.sourceDir" class="py-name" href="#" onclick="return doclink('link-1960', 'sourceDir', 'link-947');">sourceDir</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5821"></a><tt class="py-lineno">5821</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Store section source directory must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5822"></a><tt class="py-lineno">5822</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1961" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1961', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1962" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-1962', 'mediaType', 'link-949');">mediaType</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5823"></a><tt class="py-lineno">5823</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Store section media type must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5824"></a><tt class="py-lineno">5824</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1963" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1963', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1964" class="py-name"><a title="CedarBackup2.config.StoreConfig.devicePath" class="py-name" href="#" onclick="return doclink('link-1964', 'devicePath', 'link-953');">devicePath</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5825"></a><tt class="py-lineno">5825</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Store section device path must be filled in."</tt><tt class="py-op">)</tt> </tt>
<a name="L5826"></a><tt class="py-lineno">5826</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1965" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1965', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1966" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-1966', 'deviceType', 'link-951');">deviceType</a></tt> <tt class="py-op">==</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1967" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1967', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1968" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-1968', 'deviceType', 'link-951');">deviceType</a></tt> <tt class="py-op">==</tt> <tt class="py-string">"cdwriter"</tt><tt class="py-op">:</tt> </tt>
<a name="L5827"></a><tt class="py-lineno">5827</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1969" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1969', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1970" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-1970', 'mediaType', 'link-949');">mediaType</a></tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-1971" class="py-name"><a title="CedarBackup2.config.VALID_CD_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-1971', 'VALID_CD_MEDIA_TYPES', 'link-50');">VALID_CD_MEDIA_TYPES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5828"></a><tt class="py-lineno">5828</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Media type must match device type."</tt><tt class="py-op">)</tt> </tt>
<a name="L5829"></a><tt class="py-lineno">5829</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1972" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1972', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1973" class="py-name"><a title="CedarBackup2.config.StoreConfig.deviceType
CedarBackup2.writers.cdwriter.CdWriter.deviceType" class="py-name" href="#" onclick="return doclink('link-1973', 'deviceType', 'link-951');">deviceType</a></tt> <tt class="py-op">==</tt> <tt class="py-string">"dvdwriter"</tt><tt class="py-op">:</tt> </tt>
<a name="L5830"></a><tt class="py-lineno">5830</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1974" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1974', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1975" class="py-name"><a title="CedarBackup2.config.StoreConfig.mediaType
CedarBackup2.writers.cdwriter.MediaDefinition.mediaType
CedarBackup2.writers.dvdwriter.MediaDefinition.mediaType" class="py-name" href="#" onclick="return doclink('link-1975', 'mediaType', 'link-949');">mediaType</a></tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-1976" class="py-name"><a title="CedarBackup2.config.VALID_DVD_MEDIA_TYPES" class="py-name" href="#" onclick="return doclink('link-1976', 'VALID_DVD_MEDIA_TYPES', 'link-51');">VALID_DVD_MEDIA_TYPES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5831"></a><tt class="py-lineno">5831</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Media type must match device type."</tt><tt class="py-op">)</tt> </tt>
<a name="L5832"></a><tt class="py-lineno">5832</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1977" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1977', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1978" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1978', 'blankBehavior', 'link-967');">blankBehavior</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5833"></a><tt class="py-lineno">5833</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1979" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1979', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1980" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1980', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">.</tt><tt id="link-1981" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankMode" class="py-name" href="#" onclick="return doclink('link-1981', 'blankMode', 'link-178');">blankMode</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1982" class="py-name"><a title="CedarBackup2.actions.store
CedarBackup2.config.Config.store" class="py-name" href="#" onclick="return doclink('link-1982', 'store', 'link-1097');">store</a></tt><tt class="py-op">.</tt><tt id="link-1983" class="py-name"><a title="CedarBackup2.config.StoreConfig.blankBehavior" class="py-name" href="#" onclick="return doclink('link-1983', 'blankBehavior', 'link-967');">blankBehavior</a></tt><tt class="py-op">.</tt><tt id="link-1984" class="py-name"><a title="CedarBackup2.config.BlankBehavior.blankFactor" class="py-name" href="#" onclick="return doclink('link-1984', 'blankFactor', 'link-180');">blankFactor</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5834"></a><tt class="py-lineno">5834</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"If blanking behavior is provided, all values must be filled in."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5835"></a><tt class="py-lineno">5835</tt> <tt class="py-line"> </tt>
<a name="Config._validatePurge"></a><div id="Config._validatePurge-def"><a name="L5836"></a><tt class="py-lineno">5836</tt> <a class="py-toggle" href="#" id="Config._validatePurge-toggle" onclick="return toggle('Config._validatePurge');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validatePurge">_validatePurge</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validatePurge-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validatePurge-expanded"><a name="L5837"></a><tt class="py-lineno">5837</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5838"></a><tt class="py-lineno">5838</tt> <tt class="py-line"><tt class="py-docstring"> Validates purge configuration.</tt> </tt>
<a name="L5839"></a><tt class="py-lineno">5839</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5840"></a><tt class="py-lineno">5840</tt> <tt class="py-line"><tt class="py-docstring"> The list of purge directories may be either C{None} or an empty list</tt> </tt>
<a name="L5841"></a><tt class="py-lineno">5841</tt> <tt class="py-line"><tt class="py-docstring"> C{[]} if desired. All purge directories must contain a path and a retain</tt> </tt>
<a name="L5842"></a><tt class="py-lineno">5842</tt> <tt class="py-line"><tt class="py-docstring"> days value.</tt> </tt>
<a name="L5843"></a><tt class="py-lineno">5843</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5844"></a><tt class="py-lineno">5844</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If purge configuration is invalid.</tt> </tt>
<a name="L5845"></a><tt class="py-lineno">5845</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5846"></a><tt class="py-lineno">5846</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1985" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1985', 'purge', 'link-1098');">purge</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5847"></a><tt class="py-lineno">5847</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1986" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1986', 'purge', 'link-1098');">purge</a></tt><tt class="py-op">.</tt><tt id="link-1987" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1987', 'purgeDirs', 'link-1077');">purgeDirs</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5848"></a><tt class="py-lineno">5848</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">purgeDir</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1988" class="py-name"><a title="CedarBackup2.actions.purge
CedarBackup2.config.Config.purge" class="py-name" href="#" onclick="return doclink('link-1988', 'purge', 'link-1098');">purge</a></tt><tt class="py-op">.</tt><tt id="link-1989" class="py-name"><a title="CedarBackup2.config.PurgeConfig.purgeDirs" class="py-name" href="#" onclick="return doclink('link-1989', 'purgeDirs', 'link-1077');">purgeDirs</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5849"></a><tt class="py-lineno">5849</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">purgeDir</tt><tt class="py-op">.</tt><tt id="link-1990" class="py-name"><a title="CedarBackup2.config.CollectDir.absolutePath
CedarBackup2.config.CollectFile.absolutePath
CedarBackup2.config.CommandOverride.absolutePath
CedarBackup2.config.PurgeDir.absolutePath
CedarBackup2.extend.mbox.MboxDir.absolutePath
CedarBackup2.extend.mbox.MboxFile.absolutePath" class="py-name" href="#" onclick="return doclink('link-1990', 'absolutePath', 'link-256');">absolutePath</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5850"></a><tt class="py-lineno">5850</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each purge directory must set an absolute path."</tt><tt class="py-op">)</tt> </tt>
<a name="L5851"></a><tt class="py-lineno">5851</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">purgeDir</tt><tt class="py-op">.</tt><tt id="link-1991" class="py-name"><a title="CedarBackup2.config.PurgeDir.retainDays" class="py-name" href="#" onclick="return doclink('link-1991', 'retainDays', 'link-426');">retainDays</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5852"></a><tt class="py-lineno">5852</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Each purge directory must set a retain days value."</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5853"></a><tt class="py-lineno">5853</tt> <tt class="py-line"> </tt>
<a name="Config._validatePeerList"></a><div id="Config._validatePeerList-def"><a name="L5854"></a><tt class="py-lineno">5854</tt> <a class="py-toggle" href="#" id="Config._validatePeerList-toggle" onclick="return toggle('Config._validatePeerList');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config.Config-class.html#_validatePeerList">_validatePeerList</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">localPeers</tt><tt class="py-op">,</tt> <tt class="py-param">remotePeers</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Config._validatePeerList-collapsed" style="display:none;" pad="++++" indent="+++++++"></div><div id="Config._validatePeerList-expanded"><a name="L5855"></a><tt class="py-lineno">5855</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5856"></a><tt class="py-lineno">5856</tt> <tt class="py-line"><tt class="py-docstring"> Validates the set of local and remote peers.</tt> </tt>
<a name="L5857"></a><tt class="py-lineno">5857</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5858"></a><tt class="py-lineno">5858</tt> <tt class="py-line"><tt class="py-docstring"> Local peers must be completely filled in, including both name and collect</tt> </tt>
<a name="L5859"></a><tt class="py-lineno">5859</tt> <tt class="py-line"><tt class="py-docstring"> directory. Remote peers must also fill in the name and collect</tt> </tt>
<a name="L5860"></a><tt class="py-lineno">5860</tt> <tt class="py-line"><tt class="py-docstring"> directory, but can leave the remote user and rcp command unset. In this</tt> </tt>
<a name="L5861"></a><tt class="py-lineno">5861</tt> <tt class="py-line"><tt class="py-docstring"> case, the remote user is assumed to match the backup user from the</tt> </tt>
<a name="L5862"></a><tt class="py-lineno">5862</tt> <tt class="py-line"><tt class="py-docstring"> options section and rcp command is taken directly from the options</tt> </tt>
<a name="L5863"></a><tt class="py-lineno">5863</tt> <tt class="py-line"><tt class="py-docstring"> section.</tt> </tt>
<a name="L5864"></a><tt class="py-lineno">5864</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5865"></a><tt class="py-lineno">5865</tt> <tt class="py-line"><tt class="py-docstring"> @param localPeers: List of local peers</tt> </tt>
<a name="L5866"></a><tt class="py-lineno">5866</tt> <tt class="py-line"><tt class="py-docstring"> @param remotePeers: List of remote peers</tt> </tt>
<a name="L5867"></a><tt class="py-lineno">5867</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5868"></a><tt class="py-lineno">5868</tt> <tt class="py-line"><tt class="py-docstring"> @raise ValueError: If stage configuration is invalid.</tt> </tt>
<a name="L5869"></a><tt class="py-lineno">5869</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5870"></a><tt class="py-lineno">5870</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1992" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1992', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1993" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1993', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5871"></a><tt class="py-lineno">5871</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Peer list must contain at least one backup peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5872"></a><tt class="py-lineno">5872</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-1994" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1994', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1995" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1995', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5873"></a><tt class="py-lineno">5873</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-1996" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1996', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L5874"></a><tt class="py-lineno">5874</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Peer list must contain at least one backup peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5875"></a><tt class="py-lineno">5875</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt id="link-1997" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1997', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-1998" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-1998', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5876"></a><tt class="py-lineno">5876</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-1999" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-1999', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L5877"></a><tt class="py-lineno">5877</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Peer list must contain at least one backup peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5878"></a><tt class="py-lineno">5878</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt id="link-2000" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-2000', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt id="link-2001" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-2001', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5879"></a><tt class="py-lineno">5879</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-2002" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-2002', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-2003" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-2003', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L5880"></a><tt class="py-lineno">5880</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Peer list must contain at least one backup peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5881"></a><tt class="py-lineno">5881</tt> <tt class="py-line"> <tt class="py-name">names</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L5882"></a><tt class="py-lineno">5882</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-2004" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-2004', 'localPeers', 'link-777');">localPeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5883"></a><tt class="py-lineno">5883</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">localPeer</tt> <tt class="py-keyword">in</tt> <tt id="link-2005" class="py-name"><a title="CedarBackup2.config.PeersConfig.localPeers
CedarBackup2.config.StageConfig.localPeers" class="py-name" href="#" onclick="return doclink('link-2005', 'localPeers', 'link-777');">localPeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5884"></a><tt class="py-lineno">5884</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-2006" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-2006', 'name', 'link-201');">name</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5885"></a><tt class="py-lineno">5885</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Local peers must set a name."</tt><tt class="py-op">)</tt> </tt>
<a name="L5886"></a><tt class="py-lineno">5886</tt> <tt class="py-line"> <tt class="py-name">names</tt><tt class="py-op">.</tt><tt id="link-2007" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-2007', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-2008" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-2008', 'name', 'link-201');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5887"></a><tt class="py-lineno">5887</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">localPeer</tt><tt class="py-op">.</tt><tt id="link-2009" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-2009', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5888"></a><tt class="py-lineno">5888</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Local peers must set a collect directory."</tt><tt class="py-op">)</tt> </tt>
<a name="L5889"></a><tt class="py-lineno">5889</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-2010" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-2010', 'remotePeers', 'link-779');">remotePeers</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5890"></a><tt class="py-lineno">5890</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">remotePeer</tt> <tt class="py-keyword">in</tt> <tt id="link-2011" class="py-name"><a title="CedarBackup2.config.PeersConfig.remotePeers
CedarBackup2.config.StageConfig.remotePeers" class="py-name" href="#" onclick="return doclink('link-2011', 'remotePeers', 'link-779');">remotePeers</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5891"></a><tt class="py-lineno">5891</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2012" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-2012', 'name', 'link-201');">name</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5892"></a><tt class="py-lineno">5892</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Remote peers must set a name."</tt><tt class="py-op">)</tt> </tt>
<a name="L5893"></a><tt class="py-lineno">5893</tt> <tt class="py-line"> <tt class="py-name">names</tt><tt class="py-op">.</tt><tt id="link-2013" class="py-name"><a title="CedarBackup2.util.AbsolutePathList.append
CedarBackup2.util.ObjectTypeList.append
CedarBackup2.util.RegexList.append
CedarBackup2.util.RegexMatchList.append
CedarBackup2.util.RestrictedContentList.append" class="py-name" href="#" onclick="return doclink('link-2013', 'append', 'link-724');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2014" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-2014', 'name', 'link-201');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5894"></a><tt class="py-lineno">5894</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2015" class="py-name"><a title="CedarBackup2.config.LocalPeer.collectDir
CedarBackup2.config.RemotePeer.collectDir
CedarBackup2.peer.LocalPeer.collectDir
CedarBackup2.peer.RemotePeer.collectDir" class="py-name" href="#" onclick="return doclink('link-2015', 'collectDir', 'link-448');">collectDir</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5895"></a><tt class="py-lineno">5895</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Remote peers must set a collect directory."</tt><tt class="py-op">)</tt> </tt>
<a name="L5896"></a><tt class="py-lineno">5896</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2016" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2016', 'options', 'link-1093');">options</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2017" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2017', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-2018" class="py-name"><a title="CedarBackup2.config.OptionsConfig.backupUser" class="py-name" href="#" onclick="return doclink('link-2018', 'backupUser', 'link-648');">backupUser</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2019" class="py-name"><a title="CedarBackup2.config.RemotePeer.remoteUser
CedarBackup2.peer.RemotePeer.remoteUser" class="py-name" href="#" onclick="return doclink('link-2019', 'remoteUser', 'link-484');">remoteUser</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5897"></a><tt class="py-lineno">5897</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Remote user must either be set in options section or individual remote peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5898"></a><tt class="py-lineno">5898</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2020" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2020', 'options', 'link-1093');">options</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2021" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2021', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-2022" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-2022', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2023" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rcpCommand
CedarBackup2.config.RemotePeer.rcpCommand
CedarBackup2.peer.RemotePeer.rcpCommand" class="py-name" href="#" onclick="return doclink('link-2023', 'rcpCommand', 'link-486');">rcpCommand</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5899"></a><tt class="py-lineno">5899</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Remote copy command must either be set in options section or individual remote peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5900"></a><tt class="py-lineno">5900</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2024" class="py-name"><a title="CedarBackup2.cli.Options.managed
CedarBackup2.config.RemotePeer.managed" class="py-name" href="#" onclick="return doclink('link-2024', 'managed', 'link-492');">managed</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5901"></a><tt class="py-lineno">5901</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2025" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2025', 'options', 'link-1093');">options</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2026" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2026', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-2027" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-2027', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2028" class="py-name"><a title="CedarBackup2.config.OptionsConfig.rshCommand
CedarBackup2.config.RemotePeer.rshCommand
CedarBackup2.peer.RemotePeer.rshCommand" class="py-name" href="#" onclick="return doclink('link-2028', 'rshCommand', 'link-488');">rshCommand</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5902"></a><tt class="py-lineno">5902</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Remote shell command must either be set in options section or individual remote peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5903"></a><tt class="py-lineno">5903</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2029" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2029', 'options', 'link-1093');">options</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2030" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2030', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-2031" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-2031', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2032" class="py-name"><a title="CedarBackup2.config.OptionsConfig.cbackCommand
CedarBackup2.config.RemotePeer.cbackCommand
CedarBackup2.peer.RemotePeer.cbackCommand" class="py-name" href="#" onclick="return doclink('link-2032', 'cbackCommand', 'link-490');">cbackCommand</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5904"></a><tt class="py-lineno">5904</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Remote cback command must either be set in options section or individual remote peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5905"></a><tt class="py-lineno">5905</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2033" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2033', 'options', 'link-1093');">options</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2034" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2034', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-2035" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-2035', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2036" class="py-name"><a title="CedarBackup2.config.Config.options" class="py-name" href="#" onclick="return doclink('link-2036', 'options', 'link-1093');">options</a></tt><tt class="py-op">.</tt><tt id="link-2037" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-2037', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L5906"></a><tt class="py-lineno">5906</tt> <tt class="py-line"> <tt class="py-keyword">and</tt> <tt class="py-op">(</tt><tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2038" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-2038', 'managedActions', 'link-494');">managedActions</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">remotePeer</tt><tt class="py-op">.</tt><tt id="link-2039" class="py-name"><a title="CedarBackup2.config.OptionsConfig.managedActions
CedarBackup2.config.RemotePeer.managedActions" class="py-name" href="#" onclick="return doclink('link-2039', 'managedActions', 'link-494');">managedActions</a></tt><tt class="py-op">)</tt> <tt class="py-op"><</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L5907"></a><tt class="py-lineno">5907</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">(</tt><tt class="py-string">"Managed actions list must be set in options section or individual remote peer."</tt><tt class="py-op">)</tt> </tt>
<a name="L5908"></a><tt class="py-lineno">5908</tt> <tt class="py-line"> <tt id="link-2040" class="py-name"><a title="CedarBackup2.util.checkUnique" class="py-name" href="#" onclick="return doclink('link-2040', 'checkUnique', 'link-16');">checkUnique</a></tt><tt class="py-op">(</tt><tt class="py-string">"Duplicate peer names exist:"</tt><tt class="py-op">,</tt> <tt class="py-name">names</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L5909"></a><tt class="py-lineno">5909</tt> <tt class="py-line"> </tt>
<a name="readByteQuantity"></a><div id="readByteQuantity-def"><a name="L5910"></a><tt class="py-lineno">5910</tt> <tt class="py-line"> </tt>
<a name="L5911"></a><tt class="py-lineno">5911</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L5912"></a><tt class="py-lineno">5912</tt> <tt class="py-line"><tt class="py-comment"># General utility functions</tt> </tt>
<a name="L5913"></a><tt class="py-lineno">5913</tt> <tt class="py-line"><tt class="py-comment">########################################################################</tt> </tt>
<a name="L5914"></a><tt class="py-lineno">5914</tt> <tt class="py-line"> </tt>
<a name="L5915"></a><tt class="py-lineno">5915</tt> <a class="py-toggle" href="#" id="readByteQuantity-toggle" onclick="return toggle('readByteQuantity');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config-module.html#readByteQuantity">readByteQuantity</a><tt class="py-op">(</tt><tt class="py-param">parent</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="readByteQuantity-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="readByteQuantity-expanded"><a name="L5916"></a><tt class="py-lineno">5916</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5917"></a><tt class="py-lineno">5917</tt> <tt class="py-line"><tt class="py-docstring"> Read a byte size value from an XML document.</tt> </tt>
<a name="L5918"></a><tt class="py-lineno">5918</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5919"></a><tt class="py-lineno">5919</tt> <tt class="py-line"><tt class="py-docstring"> A byte size value is an interpreted string value. If the string value</tt> </tt>
<a name="L5920"></a><tt class="py-lineno">5920</tt> <tt class="py-line"><tt class="py-docstring"> ends with "MB" or "GB", then the string before that is interpreted as</tt> </tt>
<a name="L5921"></a><tt class="py-lineno">5921</tt> <tt class="py-line"><tt class="py-docstring"> megabytes or gigabytes. Otherwise, it is intepreted as bytes. </tt> </tt>
<a name="L5922"></a><tt class="py-lineno">5922</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5923"></a><tt class="py-lineno">5923</tt> <tt class="py-line"><tt class="py-docstring"> @param parent: Parent node to search beneath.</tt> </tt>
<a name="L5924"></a><tt class="py-lineno">5924</tt> <tt class="py-line"><tt class="py-docstring"> @param name: Name of node to search for.</tt> </tt>
<a name="L5925"></a><tt class="py-lineno">5925</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5926"></a><tt class="py-lineno">5926</tt> <tt class="py-line"><tt class="py-docstring"> @return: ByteQuantity parsed from XML document</tt> </tt>
<a name="L5927"></a><tt class="py-lineno">5927</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5928"></a><tt class="py-lineno">5928</tt> <tt class="py-line"> <tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt id="link-2041" class="py-name"><a title="CedarBackup2.xmlutil.readString" class="py-name" href="#" onclick="return doclink('link-2041', 'readString', 'link-32');">readString</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-2042" class="py-name"><a title="CedarBackup2.config.ExtendedAction.name
CedarBackup2.config.LocalPeer.name
CedarBackup2.config.RemotePeer.name
CedarBackup2.peer.LocalPeer.name
CedarBackup2.peer.RemotePeer.name
CedarBackup2.util.DirectedGraph.name" class="py-name" href="#" onclick="return doclink('link-2042', 'name', 'link-201');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L5929"></a><tt class="py-lineno">5929</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">data</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5930"></a><tt class="py-lineno">5930</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L5931"></a><tt class="py-lineno">5931</tt> <tt class="py-line"> <tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5932"></a><tt class="py-lineno">5932</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">"KB"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L5933"></a><tt class="py-lineno">5933</tt> <tt class="py-line"> <tt id="link-2043" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2043', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-op">=</tt> <tt class="py-name">data</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">:</tt><tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">rfind</tt><tt class="py-op">(</tt><tt class="py-string">"KB"</tt><tt class="py-op">)</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5934"></a><tt class="py-lineno">5934</tt> <tt class="py-line"> <tt id="link-2044" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-2044', 'units', 'link-70');">units</a></tt> <tt class="py-op">=</tt> <tt id="link-2045" class="py-name"><a title="CedarBackup2.util.UNIT_KBYTES" class="py-name" href="#" onclick="return doclink('link-2045', 'UNIT_KBYTES', 'link-21');">UNIT_KBYTES</a></tt> </tt>
<a name="L5935"></a><tt class="py-lineno">5935</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">"MB"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L5936"></a><tt class="py-lineno">5936</tt> <tt class="py-line"> <tt id="link-2046" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2046', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-op">=</tt> <tt class="py-name">data</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">:</tt><tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">rfind</tt><tt class="py-op">(</tt><tt class="py-string">"MB"</tt><tt class="py-op">)</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5937"></a><tt class="py-lineno">5937</tt> <tt class="py-line"> <tt id="link-2047" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-2047', 'units', 'link-70');">units</a></tt> <tt class="py-op">=</tt> <tt id="link-2048" class="py-name"><a title="CedarBackup2.util.UNIT_MBYTES" class="py-name" href="#" onclick="return doclink('link-2048', 'UNIT_MBYTES', 'link-22');">UNIT_MBYTES</a></tt> </tt>
<a name="L5938"></a><tt class="py-lineno">5938</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">"GB"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L5939"></a><tt class="py-lineno">5939</tt> <tt class="py-line"> <tt id="link-2049" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2049', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-op">=</tt> <tt class="py-name">data</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">:</tt><tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">rfind</tt><tt class="py-op">(</tt><tt class="py-string">"GB"</tt><tt class="py-op">)</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5940"></a><tt class="py-lineno">5940</tt> <tt class="py-line"> <tt id="link-2050" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-2050', 'units', 'link-70');">units</a></tt> <tt class="py-op">=</tt> <tt id="link-2051" class="py-name"><a title="CedarBackup2.util.UNIT_GBYTES" class="py-name" href="#" onclick="return doclink('link-2051', 'UNIT_GBYTES', 'link-23');">UNIT_GBYTES</a></tt> </tt>
<a name="L5941"></a><tt class="py-lineno">5941</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L5942"></a><tt class="py-lineno">5942</tt> <tt class="py-line"> <tt id="link-2052" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2052', 'quantity', 'link-68');">quantity</a></tt> <tt class="py-op">=</tt> <tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L5943"></a><tt class="py-lineno">5943</tt> <tt class="py-line"> <tt id="link-2053" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-2053', 'units', 'link-70');">units</a></tt> <tt class="py-op">=</tt> <tt id="link-2054" class="py-name"><a title="CedarBackup2.util.UNIT_BYTES" class="py-name" href="#" onclick="return doclink('link-2054', 'UNIT_BYTES', 'link-20');">UNIT_BYTES</a></tt> </tt>
<a name="L5944"></a><tt class="py-lineno">5944</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-2055" class="py-name" targets="Class CedarBackup2.config.ByteQuantity=CedarBackup2.config.ByteQuantity-class.html"><a title="CedarBackup2.config.ByteQuantity" class="py-name" href="#" onclick="return doclink('link-2055', 'ByteQuantity', 'link-2055');">ByteQuantity</a></tt><tt class="py-op">(</tt><tt id="link-2056" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2056', 'quantity', 'link-68');">quantity</a></tt><tt class="py-op">,</tt> <tt id="link-2057" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-2057', 'units', 'link-70');">units</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L5945"></a><tt class="py-lineno">5945</tt> <tt class="py-line"> </tt>
<a name="addByteQuantityNode"></a><div id="addByteQuantityNode-def"><a name="L5946"></a><tt class="py-lineno">5946</tt> <a class="py-toggle" href="#" id="addByteQuantityNode-toggle" onclick="return toggle('addByteQuantityNode');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="CedarBackup2.config-module.html#addByteQuantityNode">addByteQuantityNode</a><tt class="py-op">(</tt><tt class="py-param">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-param">parentNode</tt><tt class="py-op">,</tt> <tt class="py-param">nodeName</tt><tt class="py-op">,</tt> <tt class="py-param">byteQuantity</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="addByteQuantityNode-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="addByteQuantityNode-expanded"><a name="L5947"></a><tt class="py-lineno">5947</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
<a name="L5948"></a><tt class="py-lineno">5948</tt> <tt class="py-line"><tt class="py-docstring"> Adds a text node as the next child of a parent, to contain a byte size.</tt> </tt>
<a name="L5949"></a><tt class="py-lineno">5949</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5950"></a><tt class="py-lineno">5950</tt> <tt class="py-line"><tt class="py-docstring"> If the C{byteQuantity} is None, then the node will be created, but will</tt> </tt>
<a name="L5951"></a><tt class="py-lineno">5951</tt> <tt class="py-line"><tt class="py-docstring"> be empty (i.e. will contain no text node child).</tt> </tt>
<a name="L5952"></a><tt class="py-lineno">5952</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5953"></a><tt class="py-lineno">5953</tt> <tt class="py-line"><tt class="py-docstring"> The size in bytes will be normalized. If it is larger than 1.0 GB, it will</tt> </tt>
<a name="L5954"></a><tt class="py-lineno">5954</tt> <tt class="py-line"><tt class="py-docstring"> be shown in GB ("1.0 GB"). If it is larger than 1.0 MB ("1.0 MB"), it will</tt> </tt>
<a name="L5955"></a><tt class="py-lineno">5955</tt> <tt class="py-line"><tt class="py-docstring"> be shown in MB. Otherwise, it will be shown in bytes ("423413").</tt> </tt>
<a name="L5956"></a><tt class="py-lineno">5956</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5957"></a><tt class="py-lineno">5957</tt> <tt class="py-line"><tt class="py-docstring"> @param xmlDom: DOM tree as from C{impl.createDocument()}.</tt> </tt>
<a name="L5958"></a><tt class="py-lineno">5958</tt> <tt class="py-line"><tt class="py-docstring"> @param parentNode: Parent node to create child for.</tt> </tt>
<a name="L5959"></a><tt class="py-lineno">5959</tt> <tt class="py-line"><tt class="py-docstring"> @param nodeName: Name of the new container node.</tt> </tt>
<a name="L5960"></a><tt class="py-lineno">5960</tt> <tt class="py-line"><tt class="py-docstring"> @param byteQuantity: ByteQuantity object to put into the XML document</tt> </tt>
<a name="L5961"></a><tt class="py-lineno">5961</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L5962"></a><tt class="py-lineno">5962</tt> <tt class="py-line"><tt class="py-docstring"> @return: Reference to the newly-created node.</tt> </tt>
<a name="L5963"></a><tt class="py-lineno">5963</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L5964"></a><tt class="py-lineno">5964</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">byteQuantity</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L5965"></a><tt class="py-lineno">5965</tt> <tt class="py-line"> <tt class="py-name">byteString</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L5966"></a><tt class="py-lineno">5966</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">byteQuantity</tt><tt class="py-op">.</tt><tt id="link-2058" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-2058', 'units', 'link-70');">units</a></tt> <tt class="py-op">==</tt> <tt id="link-2059" class="py-name"><a title="CedarBackup2.util.UNIT_KBYTES" class="py-name" href="#" onclick="return doclink('link-2059', 'UNIT_KBYTES', 'link-21');">UNIT_KBYTES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5967"></a><tt class="py-lineno">5967</tt> <tt class="py-line"> <tt class="py-name">byteString</tt> <tt class="py-op">=</tt> <tt class="py-string">"%s KB"</tt> <tt class="py-op">%</tt> <tt class="py-name">byteQuantity</tt><tt class="py-op">.</tt><tt id="link-2060" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2060', 'quantity', 'link-68');">quantity</a></tt> </tt>
<a name="L5968"></a><tt class="py-lineno">5968</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">byteQuantity</tt><tt class="py-op">.</tt><tt id="link-2061" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-2061', 'units', 'link-70');">units</a></tt> <tt class="py-op">==</tt> <tt id="link-2062" class="py-name"><a title="CedarBackup2.util.UNIT_MBYTES" class="py-name" href="#" onclick="return doclink('link-2062', 'UNIT_MBYTES', 'link-22');">UNIT_MBYTES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5969"></a><tt class="py-lineno">5969</tt> <tt class="py-line"> <tt class="py-name">byteString</tt> <tt class="py-op">=</tt> <tt class="py-string">"%s MB"</tt> <tt class="py-op">%</tt> <tt class="py-name">byteQuantity</tt><tt class="py-op">.</tt><tt id="link-2063" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2063', 'quantity', 'link-68');">quantity</a></tt> </tt>
<a name="L5970"></a><tt class="py-lineno">5970</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">byteQuantity</tt><tt class="py-op">.</tt><tt id="link-2064" class="py-name"><a title="CedarBackup2.config.ByteQuantity.units" class="py-name" href="#" onclick="return doclink('link-2064', 'units', 'link-70');">units</a></tt> <tt class="py-op">==</tt> <tt id="link-2065" class="py-name"><a title="CedarBackup2.util.UNIT_GBYTES" class="py-name" href="#" onclick="return doclink('link-2065', 'UNIT_GBYTES', 'link-23');">UNIT_GBYTES</a></tt><tt class="py-op">:</tt> </tt>
<a name="L5971"></a><tt class="py-lineno">5971</tt> <tt class="py-line"> <tt class="py-name">byteString</tt> <tt class="py-op">=</tt> <tt class="py-string">"%s GB"</tt> <tt class="py-op">%</tt> <tt class="py-name">byteQuantity</tt><tt class="py-op">.</tt><tt id="link-2066" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2066', 'quantity', 'link-68');">quantity</a></tt> </tt>
<a name="L5972"></a><tt class="py-lineno">5972</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L5973"></a><tt class="py-lineno">5973</tt> <tt class="py-line"> <tt class="py-name">byteString</tt> <tt class="py-op">=</tt> <tt class="py-name">byteQuantity</tt><tt class="py-op">.</tt><tt id="link-2067" class="py-name"><a title="CedarBackup2.config.ByteQuantity.quantity
CedarBackup2.extend.capacity.PercentageQuantity.quantity" class="py-name" href="#" onclick="return doclink('link-2067', 'quantity', 'link-68');">quantity</a></tt> </tt>
<a name="L5974"></a><tt class="py-lineno">5974</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-2068" class="py-name"><a title="CedarBackup2.xmlutil.addStringNode" class="py-name" href="#" onclick="return doclink('link-2068', 'addStringNode', 'link-38');">addStringNode</a></tt><tt class="py-op">(</tt><tt class="py-name">xmlDom</tt><tt class="py-op">,</tt> <tt class="py-name">parentNode</tt><tt class="py-op">,</tt> <tt class="py-name">nodeName</tt><tt class="py-op">,</tt> <tt class="py-name">byteString</tt><tt class="py-op">)</tt> </tt>
</div><a name="L5975"></a><tt class="py-lineno">5975</tt> <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Home link -->
<th> <a
href="CedarBackup2-module.html">Home</a> </th>
<!-- Tree link -->
<th> <a
href="module-tree.html">Trees</a> </th>
<!-- Index link -->
<th> <a
href="identifier-index.html">Indices</a> </th>
<!-- Help link -->
<th> <a
href="help.html">Help</a> </th>
<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
><a class="navbar" target="_top" href="http://cedar-backup.sourceforge.net/">CedarBackup2</a></th>
</tr></table></th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Wed Oct 12 09:25:44 2011
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
>http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
// Private objects are initially displayed (because if
// javascript is turned off then we want them to be
// visible); but by default, we want to hide them. So hide
// them unless we have a cookie that says to show them.
checkCookie();
// -->
</script>
</body>
</html>
|